我尝试在 Windows 上部署我的 Qt 5.1 应用程序并在使用 Qt Quick Controls 组件运行窗口时出错。没有显示窗口,它看起来像白色矩形。
我的捆绑结构:
- 图像格式
- qgif.dll
- qico.dll
- 平台
- qminimal.dll
- qwindows.dll
- QtQuick
- QtQuick.2
- QtWebkit
- icudt51.dll
- icuin51.dll
- icuuc51.dll
- libeay32.dll
- libgcc_s_dw2-1.dll
- libstdc++-6.dll
- libwinpthread-1.dll
- Qt5Core.dll
- Qt5Gui.dll
- Qt5Network.dll
- Qt5OpenGL.dll
- Qt5PrintSupport.dll
- Qt5Qml.dll
- Qt5Quick.dll
- Qt5Sensors.dll
- Qt5Sql.dll
- Qt5V8.dll
- Qt5WebKit.dll
- Qt5WebKitWidgets.dll
- Qt5Widgets.dll
- Qt5Xml.dll
- Qt5XmlPatterns.dll
- 我的应用程序
- ssleay32.dll
QtQuick、QtQuick.2、QtWebkit 是来自 \Qt5.1.0\5.1.0\mingw48_32\qml\ 的文件夹
错误:
qrc:/qml/resources/qml/SettingsDialog.qml:775:21: Type RadioButton unavailable
file://%myApp%/QtQuick/Controls/RadioButton.qml:80:1: Type AbstractCheckable unavailable
AbstractCheckable {
^
file://%myApp%/QtQuick/Controls/Private/AbstractCheckable.qml:61:1: Control is not a type
Control {