qtqmlqt5qt-creatorqt-design-studio

Importing Qt Studio Project in a Qt Creator QML app


I have created a hello world project in Qt Design Studio. Now I need to import QtDS project tree/directory in QtQuick qml app.


Solution

  • The official documentation about this topic is in doc.qt.io/qtdesignstudio/quick-converting-ui-projects. Assuming still this cannot work for you. You can check this post in the Qt forum: how-to-use-qmlproject-ui-qml-forms-from-design-studio-in-qt-creator-pro-project.

    So in order to resume the information:

    1. Set all your *.ui.qml files from Qt DS project to a separate *qrc.
    2. Import the new *qrc into your Main Qt Project.