I want to compile QSyncthingTray (https://github.com/sieren/QSyncthingTray) on my notebook running arch linux x86.
I've set $QTDIR to
/home/user/.qt/5.5/gcc/
as well as $CMAKE_PREFIX_PATH
I've even set $Qt5WebEngineWidgets_DIR to
/home/user/.qt/5.5/gcc/lib/cmake/Qt5WebEngineWidgets
The directory exists and the required files are in there.
Cmake still errors
CMake Warning at /usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:326 (find_package):
Could not find a package configuration file provided by
"Qt5WebEngineWidgets" with any of the following names:
Qt5WebEngineWidgetsConfig.cmake
qt5webenginewidgets-config.cmake
Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above files. If "Qt5WebEngineWidgets" provides a separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:127 (qt5_use_modules)
CMake Error at /usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:328 (message):
Can not use "WebEngineWidgets" module which has not yet been found.
Call Stack (most recent call first):
CMakeLists.txt:127 (qt5_use_modules)