Module 'qt5compat' depends on 'qtdeclarative', but 'qtdeclarative
-
I followed the instructions.
https://wiki.qt.io/Building_a_static_Qt_for_Windows_using_MinGWHowever, I get the following error message. I have looked at the logs, but I am not quite clear from them. I have attached them.
Error message:
CMake Error at CMakeLists.txt:64 (message): Module 'qt5compat' depends on 'qtdeclarative', but 'qtdeclarative' will not be built. Note: Use '-skip qt5compat' to exclude it from build. -- Configuring incomplete, errors occurred! See also "C:/Qt/Static/src/qt-everywhere-src-6.1.3/CMakeFiles/CMakeOutput.log". CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:828 (message): CMake exited with code 1.
Hope that someone can help me.
https://www.file-upload.net/download-14694993/CMakeOutput.txt.html -
Hi,
Which exact command did you use to configure your build ?
-
Following the instructions, I ran this PowerShell file:
https://gist.github.com/mrfaptastic/80e909c9a8237994471bce2d17657779
I have only adjusted the version in it.
-
I don't have a Windows machine at hand but if you are planning to port your application, I would recommend adding the qt5compat skipping. If there are any issue, then you won't delay updating your application library.