If my memory serves, it used to work about a year ago with Qt 5.5 + Quick Controls 1, because I tested a QML app on an Android emulator. Don't know what changed now.
On 31 Aug 2016, at 18:43, Wolfgang Baron <wolfgang.ba...@gmx.net<mailto:wolfgang.ba...@gmx.net>> wrote: Your comment about the shader errors made me think. I grabbed a physical android device and voila, it worked. Apparently, the AVDs provided by the AVD manager are just not good enough for running QtQuick (yes, even QuickControls1 etc. don't work, just a white or a black screen). Maybe I clicked on the wrong device or the wrong options? Is there no way to create a QtQuick enabled AVD? What's the point in having AVDs at all, if all I can do with it is run Widget apps (not very usual on mobile devices) or system services? Thanks Mitch for your helpful comment! Am 31.08.2016 um 13:52 schrieb Mitch Curtis: I dunno about the shader errors, but what if you add qputenv(“QML_IMPORT_TRACE”, “1”) at the beginning of main.cpp? It looks like the material style etc. plugins are deployed, the QML engine just can’t find them when it tries to import them. From: Interest [mailto:interest-bounces+mitch.curtis=qt...@qt-project.org] On Behalf Of Wolfgang Baron Sent: Wednesday, 31 August 2016 2:42 AM To: interest@qt-project.org<mailto:interest@qt-project.org> Subject: [Interest] Using QtQuick Controls 2 on android Hi, I am trying to use QtQuick Controls on android (emulator for now). I cannot deploy a single project using QtQuick Controls 2 on android. The same project runs on windows classic and winrt. Other projects without QtQuick Controls 2 do run on android. The encountered error messages for the quickcontrols2 gallery example are: Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Material.impl Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Universal.impl Although this may sound harmless, as it's just a warning, the resulting program will not run. With host GPU turned on, a white display is shown and the application output window shows: W System : ClassLoader referenced unknown path: [...] and so on... I am running this example on Windows 10. Do I need to change my environment or is this a bug? All bugs having similar content did not quite describe what I am experiencing. Thanks for an help! _______________________________________________ Interest mailing list Interest@qt-project.org<mailto:Interest@qt-project.org> http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest