just got the answer in forum. had to change the path to main.qml: |QQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("qrc:/main.qml")));|
now it works and I can go on :) ekke Am 05.02.16 um 13:27 schrieb ekke: > Hi, > > just started Qt development and installed Qt 5.6 beta for Android and iOS > All went well and I'm able to deploy sample apps to my (Android) > BlackBerry PRIV :) > > The slider also works well: switching between virtual and hardware > keyboard works as expected > > Most samples are looking ugly because of High DPI - but that's the > reason why I waited for Qt 5.6 Beta to start Qt development for mobile ;-) > I want to use High DPI support, the labs controls and Material Design. > > As a first step I followed the instructions here: > https://doc-snapshots.qt.io/qt5-5.6/qtlabscontrols-gettingstarted.html > and copied the content to main.cpp and main.qml > > unfortunately it fails: > |W/libtest_q2_controls.so(15994): (null):0 ((null)): > QQmlApplicationEngine failed to load component > W/libtest_q2_controls.so(15994): (null):0 ((null)): > file:///data/data/org.qtproject.example.test_q2_controls/files/main.qml:-1 > File not found | > also in design mode Qt.quick 2.6 isn't available > > am I missing anything ? > > thanks for any hints. > > (see also my entry in forum: > https://forum.qt.io/topic/63824/unsupported-qt-quick-version-main-qml-not-found > ) > -- > > ekke (ekkehard gentz) > > independent software architect > international development mobile apps for BlackBerry 10 > workshops - trainings - bootcamps > > *BlackBerry Elite Developer > BlackBerry Platinum Enterprise Partner* > > max-josefs-platz 30, D-83022 rosenheim, germany > mailto:e...@ekkes-corner.org > blog: http://ekkes-corner.org > apps and more: http://appbus.org > > twitter: @ekkescorner > skype: ekkes-corner > LinkedIn: http://linkedin.com/in/ekkehard/ > Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490 > > > > _______________________________________________ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development