FreeBSD's Qt5WebEngine version is not in sync with the Qt5-version.
Therefore check the version we actually care about here.
Details
Details
Diff Detail
Diff Detail
- Repository
- R94 PIM: Message Library
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
This doesn't work as intended (at least here on openSUSE).
I just built it with QtWebEngine 5.13(.0), and it incorrectly took the < 5.13.0 branch.
AFAICT, you need to #include <QtWebEngine/QtWebEngineVersion> so that QTWEBENGINE_VERSION is actually defined...
But as QWebEngineProfile is actually part of QtWebEngineWidgets, it would probably be more correct to test QTWEBENGINEWIDGETS_VERSION instead (and #include <QtWebEngineWidgetsVersion>).