You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get this error when try to compile with latest QT 5.11.2 version for MacOS
CMake Error at CMakeLists.txt:24 (find_package):
By not providing "FindQt5Network.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Network", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Network"
(requested version 5.4) with any of the following names:
Qt5NetworkConfig.cmake
qt5network-config.cmake
Add the installation prefix of "Qt5Network" to CMAKE_PREFIX_PATH or set
"Qt5Network_DIR" to a directory containing one of the above files. If
"Qt5Network" provides a separate development package or SDK, be sure it has
been installed.
Configuring incomplete, errors occurred!
See also "/var/folders/j8/x3mrsj2j76528rhcqqr1kk_h0000gn/T/QtCreator-pRhbmk/qtc-cmake-mauFIuZX/CMakeFiles/CMakeOutput.log".
CMake Project parsing failed.
The text was updated successfully, but these errors were encountered:
As mentioned in the message, you will need to specify the location of Qt5NetworkConfig.cmake :
Something like this should work:
cd ${QHTTPENGINE_SRC_DIR}/build
cmake .. -DQt5Network_DIR=${QT_BIN_DIR}/../lib/cmake/Qt5Network/ -DCMAKE_INSTALL_PREFIX=[your_install_dir]
make
make install
Hi,
Get this error when try to compile with latest QT 5.11.2 version for MacOS
CMake Error at CMakeLists.txt:24 (find_package):
By not providing "FindQt5Network.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Network", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Network"
(requested version 5.4) with any of the following names:
Add the installation prefix of "Qt5Network" to CMAKE_PREFIX_PATH or set
"Qt5Network_DIR" to a directory containing one of the above files. If
"Qt5Network" provides a separate development package or SDK, be sure it has
been installed.
Configuring incomplete, errors occurred!
See also "/var/folders/j8/x3mrsj2j76528rhcqqr1kk_h0000gn/T/QtCreator-pRhbmk/qtc-cmake-mauFIuZX/CMakeFiles/CMakeOutput.log".
CMake Project parsing failed.
The text was updated successfully, but these errors were encountered: