Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Using QML Components in native iOS App



  • Hello to all,
    I am designing a QT framework for iOS that can be used in native iOS applications.
    In particular, the QT C++ library contains in the QRC resource the QML code that I want to display in native third-party applications.
    I'd like to know if this could work or if there are other solutions:

    • Create a QQuickView which loads the QML
    • Create a QWidget / QApplication containing the QQuickView
    • Expose a function that returns the WinID () of the widget and take a callback function as an argument that the framework invokes when the user interacts with the GUI (QML).

    Does it work?
    Thanks in advance for any suggestion


Log in to reply