Project ERROR: Unknown module(s) in QT: quick qml
-
Hi. I understand, that i am not the first. I had crosscompile Qt 5.9.6 for RaspberryPi3 and try to build QML application on host.
I pointed QtCreator toqtbase/bin/qmake
from the build directory. Guys from this thread: https://forum.qt.io/topic/70166/unknown-module-s-in-qt-qml-quick told, that i should use qmake from my sysroot. But it isn't there. Should i crosscompile the qmake by itself? If it is the case, how to do it? -
Hi. I understand, that i am not the first. I had crosscompile Qt 5.9.6 for RaspberryPi3 and try to build QML application on host.
I pointed QtCreator toqtbase/bin/qmake
from the build directory. Guys from this thread: https://forum.qt.io/topic/70166/unknown-module-s-in-qt-qml-quick told, that i should use qmake from my sysroot. But it isn't there. Should i crosscompile the qmake by itself? If it is the case, how to do it?@egor.utsov said in Project ERROR: Unknown module(s) in QT: quick qml:
qtbase/bin/qmake from the build directory
Is it the one you cross compiled? If so then it is the correct qmake.
Did you xross compile QML/quick as well? -
@egor.utsov said in Project ERROR: Unknown module(s) in QT: quick qml:
qtbase/bin/qmake from the build directory
Is it the one you cross compiled? If so then it is the correct qmake.
Did you xross compile QML/quick as well?@jsulm Yes. And they are installed to target rootfs. But qmake from
qbase/bin
still cannot seen this modules -
Hi. I understand, that i am not the first. I had crosscompile Qt 5.9.6 for RaspberryPi3 and try to build QML application on host.
I pointed QtCreator toqtbase/bin/qmake
from the build directory. Guys from this thread: https://forum.qt.io/topic/70166/unknown-module-s-in-qt-qml-quick told, that i should use qmake from my sysroot. But it isn't there. Should i crosscompile the qmake by itself? If it is the case, how to do it?Finally i solved it by adding QMAKEMODULES environment variable to preject configuration in QtCreator
Projects
tab. This variable in my case is point to/home/<your path>/qt5clean/build/qtdeclarative/mkspecs/modules
. -
Finally i solved it by adding QMAKEMODULES environment variable to preject configuration in QtCreator
Projects
tab. This variable in my case is point to/home/<your path>/qt5clean/build/qtdeclarative/mkspecs/modules
.This post is deleted!