Error: module "QtQuick" is not installed appears when I deploy qt quick application on Android

Error: module "QtQuick" is not installed appears when I deploy qt quick application on Android

错误:模块“QtQuick”未安装:当我在 Android 上部署 qt quick 应用程序时出现。

我使用 Qt 5.2.1 并创建了一个 Qt Quick 应用程序项目并尝试构建和 运行 创建的默认项目。

Hello.pro

# Add more folders to ship with the application, here
folder_01.source = qml/Hello
folder_01.target = qml
DEPLOYMENTFOLDERS = folder_01

# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =

# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp

# Installation path
# target.path =

# Please do not modify the following two lines. Required for deployment.
include(qtquick2applicationviewer/qtquick2applicationviewer.pri)
qtcAddDeployment()

RESOURCES += \
    resources.qrc

main.cpp

#include <QtGui/QGuiApplication>
#include "qtquick2applicationviewer.h"

int main(int argc, char *argv[])
{
    QGuiApplication app(argc, argv);

    QtQuick2ApplicationViewer viewer;
    viewer.setMainQmlFile(QStringLiteral("qml/Hello/main.qml"));
    viewer.showExpanded();

    return app.exec();
}

main.qml

import QtQuick 2.0

Rectangle {
    width: 360
    height: 360
    Text {
        text: qsTr("Hello World")
        anchors.centerIn: parent
    }
    MouseArea {
        anchors.fill: parent
        onClicked: {
            Qt.quit();
        }
    }
}

这是一个默认项目,我不知道哪里出错了...有人遇到过同样的问题或知道如何解决这个问题吗?

我用Qt 5.5.1版本解决了。我认为主要是 Qt 更新了一些东西。

通过阅读 Qt on Android 中的评论,我想到了更新 Qt 并且成功了。