Unsolved Did Qt Quick controls 2.0 support IOS In QT5.7?
I created a project for osx, android and ios using material style.
osx and android works fine, But IOS not.
In the qml/qtquick/controls.2 directory, there are some qmls for osx and android; no qml for ios.
What should I do?
Thanks for your help.
jpnurmi last edited by
What exactly does not work? What do you mean by "no QML for iOS"? Where? The .qml files are built into resources in static builds.
What is likely the issue here is that the Material style does not get deployed, because
qmlimportscannerdoes not detect the dependency. Adding
import QtQuick.Controls.Material 2.0to your
main.qmlor anywhere else should help with that.
What exactly does not work?
Not work means the app is running but not material style.
What do you mean by "no QML for iOS"? Where?
Adding import QtQuick.Controls.Material 2.0 to your main.qml or anywhere else should help with that.
But editor tell me "QML Module not found" after add "import QtQuick.Controls.Material 2.0", in desktop Kit.
In IOS Kit,
import QtQuick.Window 2.0
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.0
import QtQuick.Controls.Material 2.0
All are "QML Module does not contain information about components contained in plugins",
But "import QtQuick 2.7" is fine, I'm confused by editor.
Anyway, the material style is running in IOS, Thank you!!