Sergey
Sergey

Reputation: 29

Qt 5.1 Quick Controls Deployment error

I try to deploy my Qt 5.1 application on Windows and get an error while running window with Qt Quick Controls component. Window is not shown, it look like white rectangle.

My Bundle structure:

QtQuick, QtQuick.2, QtWebkit are folders from \Qt5.1.0\5.1.0\mingw48_32\qml\

Error:

    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 {

Upvotes: 1

Views: 811

Answers (2)

Matthias
Matthias

Reputation: 1

This is a QT bug, the only solution that i found is to add import QtQuick.Controls.Private 1.0 in AbstractCheckable.qml

Upvotes: 0

Sergey
Sergey

Reputation: 29

The problem was in place of bundle: it was launched from network drive in VMWare virtual machine. I moved it to local drive and it works.

Upvotes: 1

Related Questions