-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.2
-
None
-
Debian testing, Qt 5.3.2 installed from Debian's package repository
I tried the simple example at http://doc-snapshot.qt-project.org/qt5-5.3/qtquickcontrols-overview.html with no success. The example builds and runs without errors, but I expect the program to create a window, which doesn't happen. The program just sits there doing nothing (gdb shows that all threads are waiting in poll(), I'll attach the backtrace).
My code is in three files: test.qml, test.cc and test.pro. Here's test.qml:
import QtQuick.Controls 1.2
ApplicationWindow {
title: "My Application"
Button {
text: "Push Me"
anchors.centerIn: parent
}
}
test.cc:
#include <QApplication>
#include <QQmlApplicationEngine>
int main(int argc, char *argv[]) {
QApplication app(argc, argv);
QQmlApplicationEngine engine("test.qml");
return app.exec();
}
test.pro:
CONFIG += \
debug \
QT += \
qml \
widgets \
SOURCES += \
test.cc \