Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Deploying image
Qt 6.11 is out! See what's new in the release blog

Deploying image

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 734 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.
  • V Offline
    V Offline
    vitorino
    wrote on last edited by
    #1

    Hi, I have set a picture using Label. I have done it through the automatic method at QLabel Property (in Qt´s design). The picture and the executable are in the same directory as well as the dll`s and the plugin subdirectories, such as "imageformats" and "platforms". Under Qt everything works perfectly, but when trying to run the executable the picture doesn't come up. Could someone tell me what I am doing wrong?, Tks.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      I guess it depends on how you are identifying the picture (what path you are using).

      Look into using the qt resource system instead: less ways for things to go wrong.

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vitorino
        wrote on last edited by
        #3

        Hi Andre, I used the qt resource system and it worked! Tks

        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