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: