QT Quick - Project ERROR: Unknown module(s) in QT: qml quick
-
Hi,
Apologies, going through a tutorial book and the following issue from the compilation :
Project ERROR: Unknown module(s) in QT: qml quick
Seems to point to "QT += qml quick" in the .pro file.
Using Linux - Fedora Core 23
I am trying to install all packages using dnf etc., but i do get this conflict :
Error: Transaction check error: file /usr/lib64/libQt5QuickWidgets.so.5 from install of qt5-qtdeclarative-devel-5.6.0-4.fc23.x86_64 conflicts with file from package qt5-qtdeclarative-5.5.0-2.fc23.x86_64
So, not sure what to do.
I have searched this forum, and stackexchange etc., - but cannot see the resolution.
I did not want to modify my installation and place it into a state that would not be recoverable.
I have seen statements that the build path has to be modified, or delete specific QT files for rebuild - but i am not sure if this is the correct approach.
I used the QT Quick wizard - did not select any options other than default - using QT5.
Any guidance gratefully received.
Thanks and regards,
Shadders.
-
HI,
I implemented the deletion as per the link below :
https://forum.qt.io/topic/42211/solved-unknown-module-s-in-qt-quick-qml/19
This did not work.
I checked the Build and Run options - Qt Versions indicates that :
Qt 5.6.0 in Path /usr/bin/qmake-qt5 has a warning triangle sign
On this page states No qmlscene installed - is this an issue ?
Examining the details for Qt Verwion 5.6.0 for Desktop - all fields seem to be provisioned except for QT_SYSROOT.
I cannot see where the modules are installed - so as to ensure that qml quick files are installed.
Name:Qt 5.6.0 in PATH (System) ABI:x86-linux-generic-elf-64bit Source:/usr/lib64/qt5 mkspec:linux-g++ qmake:/usr/bin/qmake-qt5 Version:5.6.0 QMAKE_SPEC linux-g++ QMAKE_VERSION3.0 QMAKE_XSPEC linux-g++ QT_HOST_BINS /usr/lib64/qt5/bin QT_HOST_DATA /usr/lib64/qt5 QT_HOST_LIBS /usr/lib64 QT_HOST_PREFIX /usr/lib64/qt5 QT_INSTALL_ARCHDATA /usr/lib64/qt5 QT_INSTALL_BINS /usr/lib64/qt5/bin QT_INSTALL_CONFIGURATION /etc/xdg QT_INSTALL_DATA /usr/share/qt5 QT_INSTALL_DEMOS /usr/lib64/qt5/examples QT_INSTALL_DOCS /usr/share/doc/qt5 QT_INSTALL_EXAMPLES /usr/lib64/qt5/examples QT_INSTALL_HEADERS /usr/include/qt5 QT_INSTALL_IMPORTS /usr/lib64/qt5/imports QT_INSTALL_LIBEXECS /usr/lib64/qt5/libexec QT_INSTALL_LIBS /usr/lib64 QT_INSTALL_PLUGINS /usr/lib64/qt5/plugins QT_INSTALL_PREFIX /usr/lib64/qt5 QT_INSTALL_QML /usr/lib64/qt5/qml QT_INSTALL_TESTS /usr/lib64/qt5/tests QT_INSTALL_TRANSLATIONS /usr/share/qt5/translations QT_SYSROOT QT_VERSION 5.6.0
Thanks and regards,
Shadders.
-
Hi,
Are you sure you installed all of Qt's development packages on your system ?
-
@SGaist
Hi SGaist,I have three modules that i cannot install :
qt5-qtdeclarative-devel qt5-qtquickcontrols2-devel qt5-qtquickcontrols2-static
Seems to be a library conflict as above - so i have a post on Fedora forum to ask on how to resolve.
Hopefully this will resolve - i have searched internet some more and none of the answers so far assist.
Thanks and regards,
Shadders.
-
@SGaist
Hi SGaist,I have three modules that i cannot install :
qt5-qtdeclarative-devel qt5-qtquickcontrols2-devel qt5-qtquickcontrols2-static
Seems to be a library conflict as above - so i have a post on Fedora forum to ask on how to resolve.
Hopefully this will resolve - i have searched internet some more and none of the answers so far assist.
Thanks and regards,
Shadders.