Qt Design Studio export to Qt Creator problem
-
Hello, everyone. I ran into weird situation while trying to export Qt Design Studio project to Qt Creator project following this guide: https://doc.qt.io/qtdesignstudio/studio-exporting-for-c.html.
I use Qt Design Studio 4.1.1. LTS, so it's capable to create projects targeting Qt 5.15 version, which i use primarily. Qt Creator is 17.0.0. So, when i generate Cmake build files with Qt Designer export, they're filled with Qt6 code, like
qt_add_executable
orqt6_add_qml_module
.I found this a little strange, like why we can create project for Qt5, but can't export it? Appreciate any help :)
-
Hello, everyone. I ran into weird situation while trying to export Qt Design Studio project to Qt Creator project following this guide: https://doc.qt.io/qtdesignstudio/studio-exporting-for-c.html.
I use Qt Design Studio 4.1.1. LTS, so it's capable to create projects targeting Qt 5.15 version, which i use primarily. Qt Creator is 17.0.0. So, when i generate Cmake build files with Qt Designer export, they're filled with Qt6 code, like
qt_add_executable
orqt6_add_qml_module
.I found this a little strange, like why we can create project for Qt5, but can't export it? Appreciate any help :)
Hi @alexart878, and welcome!
Unfortunately, Qt Design Studio's CMake exporter was only implemented for Qt 6.
If you want to use the output in a Qt 5 project, you must use the *.qrc exporter instead.
-
Hi, thank you for advice, i'll give it a shot