Importing Qt Studio Project in a Qt Creator QML app

2.1k Views Asked by At

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

1

There are 1 best solutions below

1
oria66 On BEST ANSWER

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.