Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-12660

"File is not part of the project" with some image formats, images not visible in built app

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • QDS 4.5
    • QDS 4.5
    • All Other Issues
    • None
    • ac5d88716 (qds/dev), 88141c7ef (qds/4.5)

    Description

      Steps to reproduce:

      • Create a project with DS
      • Import attached image files and add to 2D View
      • Enable automatic cmake generation (File -Export)
      • -> In Output view - Issues there are warnings "File is not part of the project" for logo.bmp, logo.webp and QT_TIFF.tiff
      • Save all changes
      • Open and configure DS project in Creator (I used Creato13.0.1 + Qt6.7.1)
      • Build and run the project
      • -> Only .jpg and .png images visible in running app. Application output shows:
      12:18:32: Starting C:\Users\taremes\Documents\test74\UntitledProject74App.exe...
      qrc:/qt/qml/UntitledProject74Content/Screen01.ui.qml:93:5: QML QQuickImage: Cannot open: qrc:/qt/qml/UntitledProject74Content/images/Qt_TIFF.tiff
      qrc:/qt/qml/UntitledProject74Content/Screen01.ui.qml:85:5: QML QQuickImage: Cannot open: qrc:/qt/qml/UntitledProject74Content/images/logo.webp
      qrc:/qt/qml/UntitledProject74Content/Screen01.ui.qml:61:5: QML QQuickImage: Cannot open: qrc:/qt/qml/UntitledProject74Content/images/logo.bmp
      12:18:35: C:\Users\taremes\Documents\test74\UntitledProject74App.exe exited with code 0 

      Attachments

        1. Qt_TIFF.tiff
          16 kB
        2. logo.bmp
          logo.bmp
          16 kB
        3. logo.jpg
          logo.jpg
          2 kB
        4. logo.png
          logo.png
          1 kB
        5. logo.webp
          0.7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thohartm Thomas Hartmann
            tanja_remes Tanja Remes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes