Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Project ERROR: Unknown module(s) in QT: qml quick (static link)
I want to create a new project and build it, I use the STATIC link. What's wrong with the following error after the project is created?
Project ERROR: Unknown module(s) in QT: qml quick
But when I use the Widgets project, the Build step is done without problems!
" Qt Version : qt 5.7 msvc 2015 "
I will be grateful if you guide me :(
Did you build Qt yourself ?
When I create a QML project, the following error is displayed
How did you build Qt ?
Can you share the configure options ?
Thank you for your reply
I downloaded Qt5.7 source, And I configured it using the command below
configure -debug-and-release -static -opensource -opengl desktop -nomake examples -nomake tests
I installed the Visual Studio Studio MSVC2015 completely, I've also installed perl and python.
And then I run the following commands
jom and jom install
Is it possible to use the qml,quick modules in version qt 5.7.0(STATIC-BUILD)?
Did you call configure in the qtbase module or from the top source folder ?
Also, where did you get the sources from ?
I did these commands
1.cd C:\Qt\qt-static-5.7.0 2.configure -debug-and-release -static -opensource -opengl desktop -nomake examples -nomake tests
I downloaded the source here [qt-everywhere-opensource-src-5.7.0.zip]
Project ERROR: Failed to parse qmlimportscanner output. C:\Qt\qt-static-5.7.0\jom.exe -f Makefile.Release install jom: C:\Qt\qt-static-5.7.0\qtdeclarative\tools\Makefile [sub-qml-install_subtargets] Error 3 jom: C:\Qt\qt-static-5.7.0\qtdeclarative\Makefile [sub-tools-install_subtargets] Error 2 jom: C:\Qt\qt-static-5.7.0\Makefile [module-qtdeclarative-install_subtargets] Error 2
Did you call
I just realised I misread you other post, it seems you already have a failure while building your custom Qt.
Can you post the complete error log ?
By the way, why use such on outdated version ? The current is 5.10. If you need LTS 5.9.3 is the current one.