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. Cannot seem to load any images/bitmaps from QT Creators resource system
Forum Updated to NodeBB v4.3 + New Features

Cannot seem to load any images/bitmaps from QT Creators resource system

Scheduled Pinned Locked Moved General and Desktop
29 Posts 3 Posters 5.9k Views 2 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.
  • M Offline
    M Offline
    mnob
    wrote on last edited by mnob
    #20

    Hm, removed the mingw53_32 folder from the installation because I thought that
    maybe "QT Creator" itself somehow needed mingw53_32 to be present to function correctly, but nothing changed. The path to the alias still works correctly although
    other synthaxes don't work, but that seems to be another issue so maybe my build directory just got corrupted somehow. Anyhow thanks for your help.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mnob
      wrote on last edited by mnob
      #21

      The non-alias resource path works too now. Cool ;-)

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mnob
        wrote on last edited by mnob
        #22

        You can't seem to use a non-alias resource path once an alias has been assigned.

        mrjjM 1 Reply Last reply
        0
        • M mnob

          You can't seem to use a non-alias resource path once an alias has been assigned.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #23

          @mnob
          Like
          <file alias="cut-img.png">images/cut.png</file>
          and then you cannot use ":/images/cut-img.png" anymore ?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mnob
            wrote on last edited by mnob
            #24

            Exactly. Once an alias has been defined, I can access the resource by that alias exclusively.

            mrjjM 1 Reply Last reply
            0
            • M mnob

              Exactly. Once an alias has been defined, I can access the resource by that alias exclusively.

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #25

              @mnob
              Ok, not sure if by design or not working.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mnob
                wrote on last edited by mnob
                #26

                Seems to be the same for Desktop_Qt_5_10_1_MinGW_32bit-Debug.

                Before I was using Desktop_Qt_5_10_1_MSVC2017_64bit-Debug.

                mrjjM 1 Reply Last reply
                0
                • M mnob

                  Seems to be the same for Desktop_Qt_5_10_1_MinGW_32bit-Debug.

                  Before I was using Desktop_Qt_5_10_1_MSVC2017_64bit-Debug.

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #27

                  @mnob
                  Hi
                  I thinks by design. Its not ALSO listed under org name so
                  only the alias name is available.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mnob
                    wrote on last edited by mnob
                    #28

                    O.K. I see.

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mnob
                      wrote on last edited by mnob
                      #29

                      Seems like it helps to delete the build folder or clean project and run qmake+rebuild.

                      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