当我构建多媒体图像并使用qt5-base和所有额外的qt包时,使用Yocto的新jethro和新的qt5.5。当我尝试在图像上使用qmake时,它会返回错误:
root@genericx86:~/test# qmake test.pro
Could not find qmake configuration file linux-oe-g++.
奇怪的是,当我运行qmake -query时,它会列出两个值,并且有我的构建路径。
QT_SYSROOT:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86
QT_INSTALL_PREFIX:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr
QT_INSTALL_PREFIX/raw:/usr
QT_INSTALL_ARCHDATA:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/lib/qt5
QT_INSTALL_ARCHDATA/raw:/usr/lib/qt5
QT_INSTALL_DATA:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/share/qt5
QT_INSTALL_DATA/raw:/usr/share/qt5
QT_INSTALL_DOCS:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/share/doc/qt5
QT_INSTALL_DOCS/raw:/usr/share/doc/qt5
QT_INSTALL_HEADERS:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/include/qt5
QT_INSTALL_HEADERS/raw:/usr/include/qt5
QT_INSTALL_LIBS:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/lib
QT_INSTALL_LIBS/raw:/usr/lib
QT_INSTALL_LIBEXECS:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/lib/qt5/libexec
QT_INSTALL_LIBEXECS/raw:/usr/lib/qt5/libexec
QT_INSTALL_BINS:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/bin/qt5
QT_INSTALL_BINS/raw:/usr/bin/qt5
QT_INSTALL_TESTS:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/share/qt5/tests
QT_INSTALL_TESTS/raw:/usr/share/qt5/tests
QT_INSTALL_PLUGINS:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/lib/qt5/plugins
QT_INSTALL_PLUGINS/raw:/usr/lib/qt5/plugins
QT_INSTALL_IMPORTS:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/lib/qt5/imports
QT_INSTALL_IMPORTS/raw:/usr/lib/qt5/imports
QT_INSTALL_QML:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/lib/qt5/qml
QT_INSTALL_QML/raw:/usr/lib/qt5/qml
QT_INSTALL_TRANSLATIONS:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/share/qt5/translations
QT_INSTALL_TRANSLATIONS/raw:/usr/share/qt5/translations
QT_INSTALL_CONFIGURATION:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/etc/qt5
QT_INSTALL_CONFIGURATION/raw:/etc/qt5
QT_INSTALL_EXAMPLES:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/share/qt5/examples
QT_INSTALL_EXAMPLES/raw:/usr/share/qt5/examples
QT_INSTALL_DEMOS:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/share/qt5/examples
QT_INSTALL_DEMOS/raw:/usr/share/qt5/examples
QT_HOST_PREFIX:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr
QT_HOST_DATA:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/lib/qt5
QT_HOST_BINS:/usr/bin/qt5
QT_HOST_LIBS:/home/bbb/poky-jethro/build/tmp/sysroots/genericx86/usr/lib
QMAKE_SPEC:/home/bbb/poky-jethro/build/tmp/sysroots/x86_64-linux/usr/lib/qt5/mkspecs/linux-oe-g++
QMAKE_XSPEC:linux-oe-g++
QMAKE_VERSION:3.0
QT_VERSION:5.5.1
我对Fido和qt5.4没有这个问题