Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-5901 Make CMakeList generation more user friendly
  3. QDS-5904

Images are not found with the exported CMakeList.txt project

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • P1: Critical
    • QDS 3.0
    • 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

      1. Create new QDS project
      2. Add some image to it
      3. Use the Build -> Generate CMakeList.txt Files
      4. Open the cmake project in Qt Creator
      5. 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

        Activity

          People

            tapani.mattila Tapani Mattila
            kileppal Kimmo Leppälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: