Unsolved virtual keyboard in QT5.7.1
-
Dear Developer,
I want to use Virtual Keyboard in QT 5.7.1.
Initially when I try to cross compile QT5.7.1 from source using following commands
./configure -opensource -confirm-license -no-pch -prefix /opt/qt571-bbbhf -release -force-debug-info -device linux-bbbhf-g++ -make libs -nomake tests - nomake examples -device-option CROSS_COMPILE=/opt/arm-toolchain/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -v -qt-zlib
make
then I get follwing error:
Project ERROR: Unknown module(s) in QT: quick Makefile:44: recipe for target 'sub-virtualkeyboard-make_first' failed make[2]: *** [sub-virtualkeyboard-make_first] Error 3 make[2]: Leaving directory '/opt/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard/src' Makefile:44: recipe for target 'sub-src-make_first' failed make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory '/opt/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard' Makefile:804: recipe for target 'module-qtvirtualkeyboard-make_first' failed make: *** [module-qtvirtualkeyboard-make_first] Error 2 root@bbone-TPad-T410s:/opt/qt-everywhere-opensource-src-5.7.1#
In order to overcome above error I have used following configure command
./configure -opensource -confirm-license -no-pch -prefix /opt/qt571-bbbhf -release -force-debug-info -device linux-bbbhf-g++ -make libs -nomake tests - nomake examples -device-option CROSS_COMPILE=/opt/arm-toolchain/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -v -qt-zlib -skip virtualkeyboard -no-use-gold-linker
and was able to succesfully cross compile qt 5.7.1 tool chain.
But in above developed toolchain there is no support for Virtual Keyboard.
So can you please tell how can I configure QT5.7.1 so that I do not get following error after make command and will also able to use virtual keyboard.
make[1]: Leaving directory '/opt/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard' Makefile:804: recipe for target 'module-qtvirtualkeyboard-make_first' failed make: *** [module-qtvirtualkeyboard-make_first] Error 2 root@bbone-TPad-T410s:/opt/qt-everywhere-opensource-src-5.7.1#
Additionally whether there is any way to build/add Qt virtual keyboard support to my already compiled QT5.7.1 toolchain.
Kindly inform me if you need any information from me.
Thanks and regards
Saurabh Jain
-
It would seem that you might still be missing the quick module or something else on those lines. The second error doesn't indicate why it it failed, so providing the full error in that respect might help too.
Andy
-
-
Hello @AndyS
Following you will find little bit more detail about error I have got after doing make
make[1]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtwinextras' cd src/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtwinextras/src/src.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtwinextras/src' /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile src.pro make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtwinextras/src' make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtwinextras' cd qtgraphicaleffects/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtgraphicaleffects/qtgraphicaleffects.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[1]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtgraphicaleffects' Some of the required modules (qtHaveModule(quick)) are not available. Skipped. make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtgraphicaleffects' cd qtquickcontrols2/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtquickcontrols2/qtquickcontrols2.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[1]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtquickcontrols2' Some of the required modules (qtHaveModule(quick)) are not available. Skipped. make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtquickcontrols2' cd qtquickcontrols/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtquickcontrols/qtquickcontrols.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[1]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtquickcontrols' Some of the required modules (qtHaveModule(quick)) are not available. Skipped. make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtquickcontrols' cd qtvirtualkeyboard/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard/qtvirtualkeyboard.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile Info: creating cache file /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard/.qmake.cache make[1]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard' cd src/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard/src/src.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard/src' cd virtualkeyboard/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard/src/virtualkeyboard/virtualkeyboard.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile Project WARNING: pkg-config disabled, can't check package existence Project MESSAGE: Hunspell not found! Spell correction will not be available. Project ERROR: Unknown module(s) in QT: quick Makefile:44: recipe for target 'sub-virtualkeyboard-make_first' failed make[2]: *** [sub-virtualkeyboard-make_first] Error 3 make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard/src' Makefile:44: recipe for target 'sub-src-make_first' failed make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard' Makefile:804: recipe for target 'module-qtvirtualkeyboard-make_first' failed make: *** [module-qtvirtualkeyboard-make_first] Error 2 root@bbone-TPad-T410s:/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1#
I have noticed that I am also getting
required modules (qtHaveModule(quick)) are not available.
problem.
Can you please tell me how can I solve it.
Kind regards
Saurabh -
Hi @saurabh162
The problem is that you don't have QtQuick built for some reason. So you should go to build qtdeclarative and see why that is not building for you. If that builds and installs then try to build QtVirtualKeyboard again.
Andy
-
Hello @AndyS
After make in qtdeclarative I have got no error, below is the output
root@bbone-TPad-T410s:/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative# make cd src/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/src.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[1]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src' cd qml/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qml/qml.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qml' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qml' cd plugins/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/plugins.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins' cd qmltooling/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmltooling.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling' cd packetprotocol/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/packetprotocol/packetprotocol.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[4]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/packetprotocol' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/packetprotocol' cd qmldbg_native/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_native/qmldbg_native.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[4]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_native' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_native' cd qmldbg_server/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_server/qmldbg_server.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[4]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_server' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_server' cd qmldbg_local/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_local/qmldbg_local.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[4]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_local' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_local' cd qmldbg_tcp/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_tcp/qmldbg_tcp.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[4]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_tcp' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_tcp' cd qmldbg_debugger/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_debugger/qmldbg_debugger.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[4]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_debugger' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_debugger' cd qmldbg_profiler/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_profiler/qmldbg_profiler.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[4]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_profiler' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_profiler' make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling' make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins' cd imports/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/imports.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports' cd builtins/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/builtins/builtins.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/builtins' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/builtins' cd qtqml/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/qtqml/qtqml.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/qtqml' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/qtqml' cd folderlistmodel/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/folderlistmodel/folderlistmodel.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/folderlistmodel' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/folderlistmodel' cd localstorage/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/localstorage/localstorage.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/localstorage' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/localstorage' cd models/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/models/models.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/models' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/models' cd settings/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/settings/settings.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/settings' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/settings' cd statemachine/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/statemachine/statemachine.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/statemachine' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/statemachine' cd xmllistmodel/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/xmllistmodel/xmllistmodel.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/xmllistmodel' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/xmllistmodel' make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports' cd qmldevtools/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qmldevtools/qmldevtools.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qmldevtools' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qmldevtools' cd qmldebug/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qmldebug/qmldebug.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qmldebug' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qmldebug' make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src' cd tools/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/tools.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[1]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools' cd qmlmin/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmlmin/qmlmin.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmlmin' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmlmin' cd qmlimportscanner/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmlimportscanner/qmlimportscanner.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmlimportscanner' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmlimportscanner' cd qml/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qml/qml.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qml' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qml' cd qmllint/ && ( test -e Makefile || /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmllint/qmllint.pro -qtconf /opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmllint' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmllint' make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools' root@bbone-TPad-T410s:/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative#
Please inform me what should I do now.
Thanks :)
-
Hi @saurabh162
It seems you used a different qmake there to what you did for qtvirtualkeyboard. The one used here is:
/opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake
and the one used for qtvirtualkeyboard is:
/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake
so there is a difference as it is not the same. If you use the same qmake (i.e. the first one) then it should solve it.
Andy
-
Thank you @AndyS I do it again and will update you..
-
Hello @AndyS
In previous case I use wrong/old (/opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake) qmake to build qtdeclarative.
Right now I have build it with new (/opt/Qt5_7_1/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake) qmake and did not get any error. following you can see the output.
cd src/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/src.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[1]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src' cd qml/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qml/qml.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qml' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qml' cd plugins/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/plugins.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins' cd qmltooling/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmltooling.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling' cd packetprotocol/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/packetprotocol/packetprotocol.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[4]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/packetprotocol' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/packetprotocol' cd qmldbg_native/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_native/qmldbg_native.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[4]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_native' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_native' cd qmldbg_server/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_server/qmldbg_server.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[4]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_server' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_server' cd qmldbg_local/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_local/qmldbg_local.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[4]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_local' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_local' cd qmldbg_tcp/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_tcp/qmldbg_tcp.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[4]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_tcp' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_tcp' cd qmldbg_debugger/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_debugger/qmldbg_debugger.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[4]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_debugger' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_debugger' cd qmldbg_profiler/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_profiler/qmldbg_profiler.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[4]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_profiler' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling/qmldbg_profiler' make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins/qmltooling' make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/plugins' cd imports/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/imports.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports' cd builtins/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/builtins/builtins.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/builtins' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/builtins' cd qtqml/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/qtqml/qtqml.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/qtqml' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/qtqml' cd folderlistmodel/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/folderlistmodel/folderlistmodel.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/folderlistmodel' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/folderlistmodel' cd localstorage/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/localstorage/localstorage.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/localstorage' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/localstorage' cd models/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/models/models.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/models' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/models' cd settings/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/settings/settings.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/settings' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/settings' cd statemachine/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/statemachine/statemachine.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/statemachine' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/statemachine' cd xmllistmodel/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/xmllistmodel/xmllistmodel.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[3]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/xmllistmodel' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports/xmllistmodel' make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/imports' cd qmldevtools/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qmldevtools/qmldevtools.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qmldevtools' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qmldevtools' cd qmldebug/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qmldebug/qmldebug.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qmldebug' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src/qmldebug' make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/src' cd tools/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/tools.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[1]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools' cd qmlmin/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmlmin/qmlmin.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmlmin' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmlmin' cd qmlimportscanner/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmlimportscanner/qmlimportscanner.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmlimportscanner' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmlimportscanner' cd qml/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qml/qml.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qml' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qml' cd qmllint/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmllint/qmllint.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmllint' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools/qmllint' make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtdeclarative/tools'
But when I again build qt 5.7.1 source I get following error.
s -lQt5Gui -lQt5Core -lrt -ldl -lpthread ln -s libQt5Charts.so.5.7.1 libQt5Charts.so ln -s libQt5Charts.so.5.7.1 libQt5Charts.so.5 ln -s libQt5Charts.so.5.7.1 libQt5Charts.so.5.7 rm -f ../../lib/libQt5Charts.so.5.7.1 mv -f libQt5Charts.so.5.7.1 ../../lib/ rm -f ../../lib/libQt5Charts.so rm -f ../../lib/libQt5Charts.so.5 rm -f ../../lib/libQt5Charts.so.5.7 mv -f libQt5Charts.so ../../lib/ mv -f libQt5Charts.so.5 ../../lib/ mv -f libQt5Charts.so.5.7 ../../lib/ make[3]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtcharts/src/charts' make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtcharts/src' make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtcharts' cd qtwinextras/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtwinextras/qtwinextras.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[1]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtwinextras' cd src/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtwinextras/src/src.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtwinextras/src' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtwinextras/src' make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtwinextras' cd qtgraphicaleffects/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtgraphicaleffects/qtgraphicaleffects.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[1]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtgraphicaleffects' Some of the required modules (qtHaveModule(quick)) are not available. Skipped. make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtgraphicaleffects' cd qtquickcontrols2/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtquickcontrols2/qtquickcontrols2.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[1]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtquickcontrols2' Some of the required modules (qtHaveModule(quick)) are not available. Skipped. make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtquickcontrols2' cd qtquickcontrols/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtquickcontrols/qtquickcontrols.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[1]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtquickcontrols' Some of the required modules (qtHaveModule(quick)) are not available. Skipped. make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtquickcontrols' cd qtvirtualkeyboard/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard/qtvirtualkeyboard.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[1]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard' cd src/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard/src/src.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile make[2]: Entering directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard/src' cd virtualkeyboard/ && ( test -e Makefile || /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard/src/virtualkeyboard/virtualkeyboard.pro -qtconf /opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile Project WARNING: pkg-config disabled, can't check package existence Project MESSAGE: Hunspell not found! Spell correction will not be available. Project ERROR: Unknown module(s) in QT: quick Makefile:44: recipe for target 'sub-virtualkeyboard-make_first' failed make[2]: *** [sub-virtualkeyboard-make_first] Error 3 make[2]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard/src' Makefile:44: recipe for target 'sub-src-make_first' failed make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory '/opt/Qt5_7_1_TestKeyboard/qt-everywhere-opensource-src-5.7.1/qtvirtualkeyboard' Makefile:804: recipe for target 'module-qtvirtualkeyboard-make_first' failed make: *** [module-qtvirtualkeyboard-make_first] Error 2
I have searched on internet for possible reason for error
Project ERROR: Unknown module(s) in QT: quick
and got answer that QT:quick depend on OpenGL.
So whether I compile source code of QT5.7.1 with OpenGL option ?
or there can be other reasons for this problem ?
Thank you very much for your help..
-
@saurabh162 If you don't have OpenGL then that is fine as you should still be able to build qtdeclarative. You will need to look to using the Qt Quick 2D Renderer at least to be able to use the module which is what Qt VirtualKeyboard depends on. See http://doc.qt.io/QtQuick2DRenderer/qtquick2drenderer-installation-guide.html for more information on that.
If you check your install/lib directory, do you see qtquick or qtqml libraries in there? Did you run make install at all?
-
Hello @AndyS
Thank you very much for your fast reply
At this moment I do not have any install/lib directory as I did not run make install because of errors in make phase.
Additionally I will look into installation of Qt renderer and will update you. This can take few days as right now I need to finish other high priority task.
many thanks :)
Regards
Saurabh