我想从Windows到Raspberry pi3执行“Qt Quick Controls Application”。 我用这个链接: https://visualgdb.com/tutorials/raspberry/qt/embedded/
我可以从Windows运行“Qt Widgets应用程序”,但是我无法运行“Qt Quick Controls Application”,我有这个错误:
/home/pi/untitled4: /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5: no version information available (required by /home/pi/untitled4)
/home/pi/untitled4: /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5: no version information available (required by /home/pi/untitled4)
/home/pi/untitled4: /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5: no version information available (required by /home/pi/untitled4)
QML debugging is enabled. Only use this in a safe environment.
QQmlApplicationEngine failed to load component
qrc:/main.qml:2 module "QtQuick" is not installed
更新 我重新安装了Qt,我遇到了新的错误:
QML debugging is enabled. Only use this in a safe environment.
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
QQmlApplicationEngine failed to load component
qrc:/main.qml:2 module "QtQuick.Controls" plugin "qtquickcontrolsplugin" not found