Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Visualize a qrc reference to an image in Design mode
Qt 6.11 is out! See what's new in the release blog

Visualize a qrc reference to an image in Design mode

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Abrandao
    wrote on last edited by
    #1

    Hi, I search the whole forum in hope to find a solution for this problem but I couldn't find any topic about it...
    It's this possible? Because it's quite annoying not be able to see the images in Design mode to see how my project looks like without deploy/run the application. The only thing I see when I use a qrc reference in Design mode is a blue dot... So any help to solve this would be very, very, very welcome.

    Thanks.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      ThomasHartmann
      wrote on last edited by
      #2

      I once added QMLDESIGNER_RC_PATHS.

      This is an enviroment variable you can set to redirect qrc paths to paths on the filesystem.

      qrc:something=/filesystem/something

      Generally I propose to use releative file paths and to have everything in one .qrc file.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Abrandao
        wrote on last edited by
        #3

        Thank you for the reply.
        I will try to test it this week.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved