QML Material and universal module not found in Qt Creator 4.4 for IOS Platform
-
The styles are cross-platform, should be available on all systems. Which version of Qt (not Qt Creator the IDE) are you using? The material and universal styles are part of QtQuick.Controls 2 module, introduced in Qt 5.7.
Are you importing QtQuick.Controls 2.x in your QML files? Have you followed Controls 2 styling docs? Have you tried running your code on other platform (mac desktop, android, windows or linux), does it work there?
-
Hm, I see. Does it work when you run it on iOS device? Maybe it's just Qt Creator failing to see the files.
-
No, it's not worked.
it's better to know when you create a new project Controls like button get material theme but header and other elements not worked, by the way, gallery sample project can't switch between different theme, and just show Default theme option and also all controls have a default theme not material. -
@Advanced said in QML Material and universal module not found in Qt Creator 4.4 for IOS Platform:
it's better to know when you create a new project Controls like button get material theme but header and other elements not worked, by the way, gallery sample project can't switch between different theme, and just show Default theme option and also all controls have a default theme not material.
I can't find any info in changelogs or blogs that Controls 2 are not fully available on iOS. So it sounds like a bug to me, please consider reporting it on https://bugreports.qt.io
-
Yea, I've reported. if you wish you can trace it with following link
https://bugreports.qt.io/projects/QTCREATORBUG/issues/QTCREATORBUG-18909By the way, you can use QML_IMPORT_PATH and add Material Path with code in your project file.