Details
-
Technical task
-
Resolution: Fixed
-
P1: Critical
-
None
-
None
Description
When opening CMakeList.txt project that was exported from QDS, the images are not included in the qrc file and therefore not visible.
Steps to reproduce
- Create new QDS project
- Add some image to it
- Use the Build -> Generate CMakeList.txt Files
- Open the cmake project in Qt Creator
- Build & Run it
Expected outcome
- Image is visible similarly as it was in Qt Design Studio
Actual outcome
- Image is not visible and it's failing to load it with error message "QML Image: Cannot open: qrc:/images/qt_logo_green_64x64px.png"
Use the attached test project to reproduce the issue.
Issue was reproducing with Qt Design Studio 2.3.1 and Qt Creator 6.0.1 on macOS Monterey 12.0.1
Attachments
For Gerrit Dashboard: QDS-5904 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
388936,2 | Only consider files in content as part of the qmlproject | 6.0 | qt-creator/tqtc-plugin-qtquickdesigner | Status: MERGED | +2 | 0 |