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
Forum Updated to NodeBB v4.3 + New Features

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.
  • Lays147L Offline
    Lays147L Offline
    Lays147
    wrote on 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
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on 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

      Lays147L 1 Reply Last reply
      3
      • dheerendraD dheerendra

        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 ?

        Lays147L Offline
        Lays147L Offline
        Lays147
        wrote on 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

        • Login

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