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. Qt Resources

Qt Resources

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt5.5.1qrc
3 Posts 2 Posters 1.2k Views
  • 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.
  • L Offline
    L Offline
    Lays147
    wrote on 19 Nov 2015, 12:43 last edited by
    #1

    Hi Guys!
    I'm trying to set a few icons on a UI, however when i click to choose the resource file, the window dont find the .qrc that i set on the project. Others UI on the project, find this resource, is just this window that not. How to set this qrc manually? Instead of set all the icons one by one in cpp file... >.<
    Any tips?
    Also, use qrc is the better way to set images and icons in a Qt App?
    Thanks!

    Lays Rodrigues
    Newby on Qt - Learning always!
    Using QT 5.7
    ArchLinux

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dheerendra
      Qt Champions 2022
      wrote on 19 Nov 2015, 12:58 last edited by
      #2

      Is resource file listed in the project ? Can you check whether it exist in the directory where you project exist. May be it is deleted. If it exist, once you right click on the resource file there is an option called "Open in editor" try that.
      How many images you need to include in the executable ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      L 1 Reply Last reply 19 Nov 2015, 13:36
      3
      • D dheerendra
        19 Nov 2015, 12:58

        Is resource file listed in the project ? Can you check whether it exist in the directory where you project exist. May be it is deleted. If it exist, once you right click on the resource file there is an option called "Open in editor" try that.
        How many images you need to include in the executable ?

        L Offline
        L Offline
        Lays147
        wrote on 19 Nov 2015, 13:36 last edited by
        #3

        @dheerendra
        On that link is the print screen of my qt project http://i68.tinypic.com/mm6d6u.png
        Is a few images, but if in 2 Ui's i add the images with the resource directly, and in the third widget i add manually, will be a few wrong to me." Why she's do that in this way here and another way there?"

        Lays Rodrigues
        Newby on Qt - Learning always!
        Using QT 5.7
        ArchLinux

        1 Reply Last reply
        0

        1/3

        19 Nov 2015, 12:43

        • Login

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