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. Icons don't appear in projects (Windows)
QtWS25 Last Chance

Icons don't appear in projects (Windows)

Scheduled Pinned Locked Moved Solved General and Desktop
48 Posts 8 Posters 11.5k 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.
  • P Offline
    P Offline
    Platinum Lucario
    wrote on 4 Feb 2020, 10:27 last edited by
    #13

    I've also tried running Qt Creator as Administrator, but it made no difference.

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hskoglund
      wrote on 4 Feb 2020, 16:56 last edited by
      #14

      Hi, just a guess, but try upgrading the graphics driver in your Windows 10 installation.

      P 1 Reply Last reply 5 Feb 2020, 04:32
      1
      • H hskoglund
        4 Feb 2020, 16:56

        Hi, just a guess, but try upgrading the graphics driver in your Windows 10 installation.

        P Offline
        P Offline
        Platinum Lucario
        wrote on 5 Feb 2020, 04:32 last edited by
        #15

        @hskoglund Still doesn't work, even when updating my NVIDIA graphics driver

        2020-02-05.png

        M 1 Reply Last reply 6 Feb 2020, 08:21
        0
        • P Platinum Lucario
          5 Feb 2020, 04:32

          @hskoglund Still doesn't work, even when updating my NVIDIA graphics driver

          2020-02-05.png

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 6 Feb 2020, 08:21 last edited by
          #16

          @Platinum-Lucario

          Hi
          Im out of idea what could be wrong.
          It does draw the widgets and such, its just images that dont show ?

          P 1 Reply Last reply 6 Feb 2020, 23:19
          0
          • M mrjj
            6 Feb 2020, 08:21

            @Platinum-Lucario

            Hi
            Im out of idea what could be wrong.
            It does draw the widgets and such, its just images that dont show ?

            P Offline
            P Offline
            Platinum Lucario
            wrote on 6 Feb 2020, 23:19 last edited by
            #17

            @mrjj Yeah, same here, I tried reinstalling Qt (all of it, including the entire Qt folder), and I still have the same problem.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 6 Feb 2020, 23:29 last edited by
              #18

              Hi
              Its pretty odd.
              I tried the porymap on 2 different pc and it just worked so clearly something local
              at your pc but the normal suspect gfx driver etc seems not to apply.

              So when you reinstalled. did you try taking ONLY the mingw version ?

              alt text

              and nothing else ?

              P 1 Reply Last reply 7 Feb 2020, 11:09
              0
              • M mrjj
                6 Feb 2020, 23:29

                Hi
                Its pretty odd.
                I tried the porymap on 2 different pc and it just worked so clearly something local
                at your pc but the normal suspect gfx driver etc seems not to apply.

                So when you reinstalled. did you try taking ONLY the mingw version ?

                alt text

                and nothing else ?

                P Offline
                P Offline
                Platinum Lucario
                wrote on 7 Feb 2020, 11:09 last edited by
                #19

                @mrjj I've tried with both installing everything and tried installing only the mingw version, still the same result
                6de51649-d19a-4ad3-9ebf-0097dc5e82cd-image.png

                2020-02-07 (2).png

                c5037e11-056a-48a0-a655-dee3d63cc880-image.png

                J M 2 Replies Last reply 7 Feb 2020, 11:11
                0
                • P Platinum Lucario
                  7 Feb 2020, 11:09

                  @mrjj I've tried with both installing everything and tried installing only the mingw version, still the same result
                  6de51649-d19a-4ad3-9ebf-0097dc5e82cd-image.png

                  2020-02-07 (2).png

                  c5037e11-056a-48a0-a655-dee3d63cc880-image.png

                  J Offline
                  J Offline
                  J.Hilk
                  Moderators
                  wrote on 7 Feb 2020, 11:11 last edited by
                  #20

                  @Platinum-Lucario
                  can you upload that test project somewhere?


                  Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                  Q: What's that?
                  A: It's blue light.
                  Q: What does it do?
                  A: It turns blue.

                  M 1 Reply Last reply 7 Feb 2020, 11:16
                  0
                  • J J.Hilk
                    7 Feb 2020, 11:11

                    @Platinum-Lucario
                    can you upload that test project somewhere?

                    M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 7 Feb 2020, 11:16 last edited by
                    #21

                    @J-Hilk
                    I think its this one
                    https://www.dropbox.com/s/msmtzl5zxu6blp6/restest.zip?dl=0

                    1 Reply Last reply
                    1
                    • P Platinum Lucario
                      7 Feb 2020, 11:09

                      @mrjj I've tried with both installing everything and tried installing only the mingw version, still the same result
                      6de51649-d19a-4ad3-9ebf-0097dc5e82cd-image.png

                      2020-02-07 (2).png

                      c5037e11-056a-48a0-a655-dee3d63cc880-image.png

                      M Offline
                      M Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on 7 Feb 2020, 11:18 last edited by
                      #22

                      @Platinum-Lucario
                      Do you have any special anti virus running that might block rcc.exe silently ?

                      P 1 Reply Last reply 7 Feb 2020, 11:25
                      0
                      • M mrjj
                        7 Feb 2020, 11:18

                        @Platinum-Lucario
                        Do you have any special anti virus running that might block rcc.exe silently ?

                        P Offline
                        P Offline
                        Platinum Lucario
                        wrote on 7 Feb 2020, 11:25 last edited by
                        #23

                        @mrjj The only anti-virus I have, is the built-in Windows Defender, does it actually block rcc.exe silently?

                        M 1 Reply Last reply 7 Feb 2020, 11:39
                        0
                        • P Platinum Lucario
                          7 Feb 2020, 11:25

                          @mrjj The only anti-virus I have, is the built-in Windows Defender, does it actually block rcc.exe silently?

                          M Offline
                          M Offline
                          mrjj
                          Lifetime Qt Champion
                          wrote on 7 Feb 2020, 11:39 last edited by
                          #24

                          @Platinum-Lucario

                          Not seen that happen in winver 1803 or heard about that. only avast and other
                          non native.

                          When you compile and run restest
                          are those file generated in the build folder ?

                          alt text

                          P 1 Reply Last reply 7 Feb 2020, 11:47
                          0
                          • M mrjj
                            7 Feb 2020, 11:39

                            @Platinum-Lucario

                            Not seen that happen in winver 1803 or heard about that. only avast and other
                            non native.

                            When you compile and run restest
                            are those file generated in the build folder ?

                            alt text

                            P Offline
                            P Offline
                            Platinum Lucario
                            wrote on 7 Feb 2020, 11:47 last edited by
                            #25

                            @mrjj Here's what appears in the restest debug folder:
                            59f7f1e8-b166-4336-aad1-085350f1624e-image.png

                            M 1 Reply Last reply 7 Feb 2020, 11:50
                            0
                            • P Platinum Lucario
                              7 Feb 2020, 11:47

                              @mrjj Here's what appears in the restest debug folder:
                              59f7f1e8-b166-4336-aad1-085350f1624e-image.png

                              M Offline
                              M Offline
                              mrjj
                              Lifetime Qt Champion
                              wrote on 7 Feb 2020, 11:50 last edited by
                              #26

                              @Platinum-Lucario
                              Ok super so rcc runs it seems and the file seems valid/has size.
                              So it must be related to the image plugin somehow.

                              Have you tried to load a image using a path and see if that shows ?

                              P 1 Reply Last reply 7 Feb 2020, 12:00
                              0
                              • M mrjj
                                7 Feb 2020, 11:50

                                @Platinum-Lucario
                                Ok super so rcc runs it seems and the file seems valid/has size.
                                So it must be related to the image plugin somehow.

                                Have you tried to load a image using a path and see if that shows ?

                                P Offline
                                P Offline
                                Platinum Lucario
                                wrote on 7 Feb 2020, 12:00 last edited by
                                #27

                                @mrjj Okay, so I tried reselecting the .jpg in the project, and it came up with an error as seen below. But when I selected a .png image, it worked just fine. So I wonder why it's not allowing .ico and .jpg (or even not having them appear in the Choose a Pixmap window)?

                                946cfe4f-9740-40a4-84d3-297721119f5a-image.png

                                03f4d232-8c1d-4ba6-bfc0-c185c465fbcc-image.png

                                0ae64b1c-a95f-48c5-a823-5410105eb4be-image.png

                                c102e985-04c5-4377-be69-d6ed8783308d-image.png

                                1 Reply Last reply
                                0
                                • P Offline
                                  P Offline
                                  Platinum Lucario
                                  wrote on 9 Feb 2020, 10:54 last edited by
                                  #28

                                  I'm still curious as to why the plugins aren't working

                                  M 1 Reply Last reply 9 Feb 2020, 11:09
                                  0
                                  • P Platinum Lucario
                                    9 Feb 2020, 10:54

                                    I'm still curious as to why the plugins aren't working

                                    M Offline
                                    M Offline
                                    mrjj
                                    Lifetime Qt Champion
                                    wrote on 9 Feb 2020, 11:09 last edited by
                                    #29

                                    @Platinum-Lucario

                                    Im also very puzzled about that since its both mingw and visualstudio's version
                                    so i am guessing on its something they both load that makes them fail somehow.

                                    P 1 Reply Last reply 9 Feb 2020, 13:24
                                    0
                                    • M mrjj
                                      9 Feb 2020, 11:09

                                      @Platinum-Lucario

                                      Im also very puzzled about that since its both mingw and visualstudio's version
                                      so i am guessing on its something they both load that makes them fail somehow.

                                      P Offline
                                      P Offline
                                      Platinum Lucario
                                      wrote on 9 Feb 2020, 13:24 last edited by
                                      #30

                                      @mrjj I know I have Visual Studio 2017 Community Edition installed, but surely this wouldn't prevent Qt Creator from loading the plugins, right?

                                      M 1 Reply Last reply 9 Feb 2020, 14:00
                                      0
                                      • P Platinum Lucario
                                        9 Feb 2020, 13:24

                                        @mrjj I know I have Visual Studio 2017 Community Edition installed, but surely this wouldn't prevent Qt Creator from loading the plugins, right?

                                        M Offline
                                        M Offline
                                        mrjj
                                        Lifetime Qt Champion
                                        wrote on 9 Feb 2020, 14:00 last edited by
                                        #31

                                        @Platinum-Lucario said in Icons don't appear in projects (Windows):

                                        @mrjj I know I have Visual Studio 2017 Community Edition installed, but surely this wouldn't prevent Qt Creator from loading the plugins, right?

                                        well the Creator is compiled with vs and its runtime could affect it but
                                        that should cause more global issues than just jpg and ico not working.

                                        try to search your installation for qjpeg.dll and see if some app also installed a version.

                                        P 1 Reply Last reply 10 Feb 2020, 02:46
                                        0
                                        • P Platinum Lucario
                                          3 Feb 2020, 16:13

                                          Not exactly, I'm not building for Android, the kit selected is Desktop Qt 5.12.5 MSVC2017 64bit, not sure why it says in the general messages with this message though:
                                          Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK. Could not read qmake configuration file C:/Qt/5.12.5/android_arm64_v8a/mkspecs/android-clang/qmake.conf.
                                          2020-02-04 (4).png

                                          And as for the imageformats plugin folder, it's there:
                                          2020-02-04 (5).png

                                          JKSHJ Offline
                                          JKSHJ Offline
                                          JKSH
                                          Moderators
                                          wrote on 9 Feb 2020, 23:34 last edited by JKSH 2 Sept 2020, 23:36
                                          #32

                                          @Platinum-Lucario said in Icons don't appear in projects (Windows):

                                          And as for the imageformats plugin folder, it's there:
                                          2020-02-04 (5).png

                                          This is not the folder you want. This folder contains development plugins for the apps that you build.

                                          Your issue is that Qt Creator can't read the icons. Qt Creator is a Qt-based application too, and it uses its own plugins (not your development plugins).

                                          1. Check C:\Qt\Tools\QtCreator\bin\plugins\imageformats\ to make sure that qico.dll and qjpeg.dll are there
                                          2. Try to open the resource editor again. When the window is open, use ListDLLs (https://docs.microsoft.com/en-us/sysinternals/downloads/listdlls ) to see which DLLs are loaded by Qt Creator. Do you see qico.dll and qjpeg.dll in the list? Are they loaded from the correct folder?

                                          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                          1 Reply Last reply
                                          2

                                          22/48

                                          7 Feb 2020, 11:18

                                          • Login

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