[Interest] Cannot complie Qt 5.10 on ARM device

Filip Piechocki fpiechocki at gmail.com
Fri Dec 22 13:31:34 CET 2017


Hi,
I am now trying to build Qt 5.10 on i.MX6 device (cross compiling is
not an option at this moment). I've prepared my custom mkspec called
linux-imx6-g++ and I put it in qtbase/mkspecs directory. This works
perfectly fine with Qt 5.9.1 and Qt 5.9.3 while with Qt 5.10.0 I get:

Could not find qmake configuration file .

no matter what I options do I use with configure (so with or without
my custom mkspec). Here is output of qtbase/bin/qmake -query for Qt
5.10:

root at linaro-alip:~/qt-everywhere-src-5.10.0# qtbase/bin/qmake -query
QT_SYSROOT:
QT_INSTALL_PREFIX:/root/qt-everywhere-src-5.10.0/qtbase/bin
QT_INSTALL_ARCHDATA:/root/qt-everywhere-src-5.10.0/qtbase/bin
QT_INSTALL_DATA:/root/qt-everywhere-src-5.10.0/qtbase/bin
QT_INSTALL_DOCS:/root/qt-everywhere-src-5.10.0/qtbase/bin/doc
QT_INSTALL_HEADERS:/root/qt-everywhere-src-5.10.0/qtbase/bin/include
QT_INSTALL_LIBS:/root/qt-everywhere-src-5.10.0/qtbase/bin/lib
QT_INSTALL_LIBEXECS:/root/qt-everywhere-src-5.10.0/qtbase/bin/libexec
QT_INSTALL_BINS:/root/qt-everywhere-src-5.10.0/qtbase/bin/bin
QT_INSTALL_TESTS:/root/qt-everywhere-src-5.10.0/qtbase/bin/tests
QT_INSTALL_PLUGINS:/root/qt-everywhere-src-5.10.0/qtbase/bin/plugins
QT_INSTALL_IMPORTS:/root/qt-everywhere-src-5.10.0/qtbase/bin/imports
QT_INSTALL_QML:/root/qt-everywhere-src-5.10.0/qtbase/bin/qml
QT_INSTALL_TRANSLATIONS:/root/qt-everywhere-src-5.10.0/qtbase/bin/translations
QT_INSTALL_CONFIGURATION:/root/qt-everywhere-src-5.10.0/qtbase/bin
QT_INSTALL_EXAMPLES:/root/qt-everywhere-src-5.10.0/qtbase/bin/examples
QT_INSTALL_DEMOS:/root/qt-everywhere-src-5.10.0/qtbase/bin/examples
QT_HOST_PREFIX:/root/qt-everywhere-src-5.10.0/qtbase/bin
QT_HOST_DATA:/root/qt-everywhere-src-5.10.0/qtbase/bin
QT_HOST_BINS:/root/qt-everywhere-src-5.10.0/qtbase/bin/bin
QT_HOST_LIBS:/root/qt-everywhere-src-5.10.0/qtbase/bin/lib
QMAKE_SPEC:
QMAKE_XSPEC:
QMAKE_VERSION:3.1
QT_VERSION:5.10.0

and now Qt 5.9.3 for comparison:
root at linaro-alip:~/qt-everywhere-opensource-src-5.9.3# qtbase/bin/qmake -query
QMAKE_SPEC:linux-imx6-native-g++
QT_SYSROOT:
QT_INSTALL_PREFIX:/usr
QT_INSTALL_PREFIX/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase
QT_INSTALL_ARCHDATA:/usr
QT_INSTALL_ARCHDATA/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase
QT_INSTALL_DATA:/usr
QT_INSTALL_DATA/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase
QT_INSTALL_DOCS:/usr/doc
QT_INSTALL_DOCS/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase/doc
QT_INSTALL_HEADERS:/usr/include
QT_INSTALL_HEADERS/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase/include
QT_INSTALL_LIBS:/usr/lib
QT_INSTALL_LIBS/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase/lib
QT_INSTALL_LIBEXECS:/usr/libexec
QT_INSTALL_LIBEXECS/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase/libexec
QT_INSTALL_BINS:/usr/bin
QT_INSTALL_BINS/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase/bin
QT_INSTALL_TESTS:/usr/tests
QT_INSTALL_TESTS/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase/tests
QT_INSTALL_PLUGINS:/usr/plugins
QT_INSTALL_PLUGINS/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase/plugins
QT_INSTALL_IMPORTS:/usr/imports
QT_INSTALL_IMPORTS/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase/imports
QT_INSTALL_QML:/usr/qml
QT_INSTALL_QML/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase/qml
QT_INSTALL_TRANSLATIONS:/usr/translations
QT_INSTALL_TRANSLATIONS/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase/translations
QT_INSTALL_CONFIGURATION:/usr
QT_INSTALL_CONFIGURATION/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase
QT_INSTALL_EXAMPLES:/usr/examples
QT_INSTALL_EXAMPLES/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase/examples
QT_INSTALL_DEMOS:/usr/examples
QT_INSTALL_DEMOS/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase/examples
QT_HOST_PREFIX:/usr
QT_HOST_PREFIX/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase
QT_HOST_DATA:/usr
QT_HOST_DATA/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase
QT_HOST_BINS:/usr/bin
QT_HOST_BINS/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase/bin
QT_HOST_LIBS:/usr/lib
QT_HOST_LIBS/get:/root/qt-everywhere-opensource-src-5.9.3/qtbase/lib
QMAKE_SPEC:linux-imx6-g++
QMAKE_XSPEC:linux-imx6-g++
QMAKE_VERSION:3.1
QT_VERSION:5.9.3

what should I do now to be able to build Qt 5.10?

BR,
Filip Piechocki



More information about the Interest mailing list