Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Icons not rendering SOLVED
Forum Update on Monday, May 27th 2025

Icons not rendering SOLVED

Scheduled Pinned Locked Moved QtonPi
8 Posts 2 Posters 2.1k 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.
  • N Offline
    N Offline
    nikohal
    wrote on 15 Sept 2014, 19:52 last edited by
    #1

    I have one issue when I launch my app. No one images, icons not rendering. How I can fix this issue?
    Here is picture: !http://qt.hallikainen.cc/WP_20140915_007.jpg!.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 15 Sept 2014, 20:20 last edited by
      #2

      Hi,

      Ensure that the icon file can be find ? Where are they located ? What path are you using ? Are they stored as Qt resources ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nikohal
        wrote on 15 Sept 2014, 20:40 last edited by
        #3

        Yes I use Qt resource. Some reason when I build software it not include images to binary. How I can fix this? Any ideas?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 15 Sept 2014, 22:24 last edited by
          #4

          Are you sure the paths you use are correct ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nikohal
            wrote on 16 Sept 2014, 12:16 last edited by
            #5

            Problem solved. I write to pro file ./images.qrc and now it works. Thank you

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 16 Sept 2014, 20:12 last edited by
              #6

              Just to be sure I understood correctly, your qrc file was not listed in your pro file ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • N Offline
                N Offline
                nikohal
                wrote on 16 Sept 2014, 20:36 last edited by
                #7

                Yes it was, but make not found it. I add "./" and then make command found that file. :)

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 16 Sept 2014, 20:47 last edited by
                  #8

                  Ok, good, you can also use $$PWD for that matter

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0

                  7/8

                  16 Sept 2014, 20:36

                  • Login

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