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

Icons don't appear in projects (Windows)

Scheduled Pinned Locked Moved Solved General and Desktop
48 Posts 8 Posters 16.2k Views 3 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.
  • JKSHJ JKSH

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

    These were the results when running the command

    Your Qt Creator is loading DLLs from external folders:

    • C:\Program Files (x86)\RedFox\AnyDVD\ADvdDiscHlp.dll
    • C:\Users\Silve\AppData\Local\Microsoft\OneDrive\19.232.1124.0005\FileSyncShell.dll

    Remove these 2 folders from your PATH, reboot, and see if that helps.

    P Offline
    P Offline
    Platinum Lucario
    wrote on last edited by
    #39

    @JKSH Do I remove the folders entirely from the locations provided? Or is there some file or directory that tells Qt Creator which .dll paths to load?

    JKSHJ 1 Reply Last reply
    0
    • hskoglundH Online
      hskoglundH Online
      hskoglund
      wrote on last edited by
      #40

      Hi, you don't need to remove the folders from your computer, what @JKSH meant was to remove them from the PATH environment variable. One quick test you can do, start a CMD window and type:

      set path=
      c:\qt\tools\qtcreator\bin\qtcreator
      

      This will temporarily (only for that CMD window) remove all folders from your PATH. If Qt Creator starts up with the icons now visible (via then 2nd line above) then something in your PATH environment variable is the problem.

      P.S. Also please uninstall your GeForce Experience, sometimes it doesn't play nicely with non-Steam apps (like Qt).

      P 1 Reply Last reply
      4
      • P Platinum Lucario

        @JKSH Do I remove the folders entirely from the locations provided? Or is there some file or directory that tells Qt Creator which .dll paths to load?

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #41

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

        Or is there some file or directory that tells Qt Creator which .dll paths to load?

        It's not a file or directory; it is a "variable" in your operating system called the system PATH. The PATH tells all applications on your PC where to find DLLs.

        See https://opentechguides.com/how-to/article/windows-10/113/windows-10-set-path.html to learn about (but do not touch the Registry unless you're not 100% sure what you're doing!)

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

        1 Reply Last reply
        2
        • hskoglundH hskoglund

          Hi, you don't need to remove the folders from your computer, what @JKSH meant was to remove them from the PATH environment variable. One quick test you can do, start a CMD window and type:

          set path=
          c:\qt\tools\qtcreator\bin\qtcreator
          

          This will temporarily (only for that CMD window) remove all folders from your PATH. If Qt Creator starts up with the icons now visible (via then 2nd line above) then something in your PATH environment variable is the problem.

          P.S. Also please uninstall your GeForce Experience, sometimes it doesn't play nicely with non-Steam apps (like Qt).

          P Offline
          P Offline
          Platinum Lucario
          wrote on last edited by
          #42

          @hskoglund said in Icons don't appear in projects (Windows):

          Hi, you don't need to remove the folders from your computer, what @JKSH meant was to remove them from the PATH environment variable. One quick test you can do, start a CMD window and type:

          set path=
          c:\qt\tools\qtcreator\bin\qtcreator
          

          This will temporarily (only for that CMD window) remove all folders from your PATH. If Qt Creator starts up with the icons now visible (via then 2nd line above) then something in your PATH environment variable is the problem.

          P.S. Also please uninstall your GeForce Experience, sometimes it doesn't play nicely with non-Steam apps (like Qt).

          Alrighty, I'll definitely give that a go as well! And possibly uninstall GeForce Experience

          @JKSH said in Icons don't appear in projects (Windows):

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

          Or is there some file or directory that tells Qt Creator which .dll paths to load?

          It's not a file or directory; it is a "variable" in your operating system called the system PATH. The PATH tells all applications on your PC where to find DLLs.

          See https://opentechguides.com/how-to/article/windows-10/113/windows-10-set-path.html to learn about (but do not touch the Registry unless you're not 100% sure what you're doing!)

          I've opened up PATH in the environment variable editor, and I've noticed that C:\Qt entries are not in there. Do I have to add in the C:\Qt entries in there?

          Here are the entries in PATH:

          C:\Python27\;
          C:\Python27\Scripts;
          c:\devkitPro\msys\bin;
          C:\Program Files (x86)\Intel\iCLS Client\;
          C:\Program Files\Intel\iCLS Client\;
          C:\WINDOWS\system32;
          C:\WINDOWS;
          C:\WINDOWS\System32\Wbem;
          C:\WINDOWS\System32\WindowsPowerShell\v1.0\;
          C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;
          C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;
          C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;
          C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;
          C:\Program Files (x86)\Skype\Phone\;
          C:\WINDOWS\system32;
          C:\WINDOWS;
          C:\WINDOWS\System32\Wbem;
          C:\WINDOWS\System32\WindowsPowerShell\v1.0\;
          C:\Program Files (x86)\Common Files\Seagate\SnapAPI\;
          C:\Program Files (x86)\Common Files\Acronis\VirtualFile\;
          C:\Program Files (x86)\Common Files\Acronis\VirtualFile64\;
          C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;
          C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;
          C:\Program Files\PuTTY\;
          C:\MinGW\bin;
          C:\WINDOWS\System32\OpenSSH\;
          C:\Program Files\dotnet\;
          C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;
          C:\Strawberry\c\bin;
          C:\Strawberry\perl\site\bin;
          C:\Strawberry\perl\bin;
          C:\Program Files\CMake\bin;
          C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;
          C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR
          

          And from what I can see, "C:\Program Files (x86)\RedFox\AnyDVD\ADvdDiscHlp.dll" and "C:\Users\Silve\AppData\Local\Microsoft\OneDrive\19.232.1124.0005\FileSyncShell.dll" aren't in there.

          ef155ab4-afa2-4926-ae6d-5e71542fe9fc-image.png
          22716a30-3c86-4baf-a79b-1df0139bf5d4-image.png

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #43

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

            Do I have to add in the C:\Qt entries in there?

            No, don't add anything to the global PATH.

            Having too many things in the PATH is common cause of problems. Qt does not need to be in the PATH.

            Here are the entries in PATH:

            You have posted the System PATH; you must also look at your User PATH (under "User variables for Silve")

            And from what I can see, "C:\Program Files (x86)\RedFox\AnyDVD\ADvdDiscHlp.dll" and "C:\Users\Silve\AppData\Local\Microsoft\OneDrive\19.232.1124.0005\FileSyncShell.dll" aren't in there.

            The PATH is a variable containing folders.

            Check every folder in your PATHs and ensure that they don't contain Qt DLLs. Otherwise, you find yourself in DLL Hell

            Anyway, I'm guessing that C:\Users\Silve\AppData\Local\Microsoft\OneDrive\19.232.1124.0005\ is causing you problems. OneDrive uses Qt. If Qt Creator tries to load the imageformats DLLs from OneDrive, it will fail.

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

            P 1 Reply Last reply
            1
            • JKSHJ JKSH

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

              Do I have to add in the C:\Qt entries in there?

              No, don't add anything to the global PATH.

              Having too many things in the PATH is common cause of problems. Qt does not need to be in the PATH.

              Here are the entries in PATH:

              You have posted the System PATH; you must also look at your User PATH (under "User variables for Silve")

              And from what I can see, "C:\Program Files (x86)\RedFox\AnyDVD\ADvdDiscHlp.dll" and "C:\Users\Silve\AppData\Local\Microsoft\OneDrive\19.232.1124.0005\FileSyncShell.dll" aren't in there.

              The PATH is a variable containing folders.

              Check every folder in your PATHs and ensure that they don't contain Qt DLLs. Otherwise, you find yourself in DLL Hell

              Anyway, I'm guessing that C:\Users\Silve\AppData\Local\Microsoft\OneDrive\19.232.1124.0005\ is causing you problems. OneDrive uses Qt. If Qt Creator tries to load the imageformats DLLs from OneDrive, it will fail.

              P Offline
              P Offline
              Platinum Lucario
              wrote on last edited by
              #44

              @JKSH Interesting, the only entry in the User PATH is:

              %USERPROFILE%\AppData\Local\Microsoft\WindowsApps
              

              6206e203-99e0-4d2b-84aa-5319cfedd2e9-image.png

              Could this actually be the cause of the problem?

              JKSHJ 1 Reply Last reply
              0
              • P Platinum Lucario

                @JKSH Interesting, the only entry in the User PATH is:

                %USERPROFILE%\AppData\Local\Microsoft\WindowsApps
                

                6206e203-99e0-4d2b-84aa-5319cfedd2e9-image.png

                Could this actually be the cause of the problem?

                JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #45

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

                Interesting, the only entry in the User PATH is:

                %USERPROFILE%\AppData\Local\Microsoft\WindowsApps
                

                ...

                Could this actually be the cause of the problem?

                I'm not sure. %USERPROFILE%\AppData\Local\Microsoft\WindowsApps is meant to be there.

                Well, for some reason your OS is linking DLLs from C:\Program Files (x86)\RedFox\AnyDVD\ and C:\Users\Silve\AppData\Local\Microsoft\OneDrive\19.232.1124.0005\ into Qt Creator, which is not supposed to happen. You'll need to find out what's causing this.

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

                P 1 Reply Last reply
                2
                • JKSHJ JKSH

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

                  Interesting, the only entry in the User PATH is:

                  %USERPROFILE%\AppData\Local\Microsoft\WindowsApps
                  

                  ...

                  Could this actually be the cause of the problem?

                  I'm not sure. %USERPROFILE%\AppData\Local\Microsoft\WindowsApps is meant to be there.

                  Well, for some reason your OS is linking DLLs from C:\Program Files (x86)\RedFox\AnyDVD\ and C:\Users\Silve\AppData\Local\Microsoft\OneDrive\19.232.1124.0005\ into Qt Creator, which is not supposed to happen. You'll need to find out what's causing this.

                  P Offline
                  P Offline
                  Platinum Lucario
                  wrote on last edited by Platinum Lucario
                  #46

                  @JKSH I'm not sure exactly what fixed it, but it's all working now! Either it was updating the NVIDIA GeForce driver, running Listdlls64.exe or enabling Windows Sandbox in the optional features that solved it, since it started working after rebooting my PC. I didn't even change anything in the Environment Variables.

                  163a6f9e-4cb8-4596-b279-f48cad572152-image.png
                  08bfd65f-bcea-4942-b909-8cbcfdf8e70d-image.png

                  JKSHJ 1 Reply Last reply
                  2
                  • P Platinum Lucario

                    @JKSH I'm not sure exactly what fixed it, but it's all working now! Either it was updating the NVIDIA GeForce driver, running Listdlls64.exe or enabling Windows Sandbox in the optional features that solved it, since it started working after rebooting my PC. I didn't even change anything in the Environment Variables.

                    163a6f9e-4cb8-4596-b279-f48cad572152-image.png
                    08bfd65f-bcea-4942-b909-8cbcfdf8e70d-image.png

                    JKSHJ Offline
                    JKSHJ Offline
                    JKSH
                    Moderators
                    wrote on last edited by
                    #47

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

                    I'm not sure exactly what fixed it, but it's all working now!

                    Great! Happy coding :)

                    Thank you for sharing your solution.

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

                    1 Reply Last reply
                    1
                    • enjoysmathE Offline
                      enjoysmathE Offline
                      enjoysmath
                      wrote on last edited by
                      #48

                      This is fucking ridiculous. How can I add an icon to my Qt Tools for VS project?

                      https://github.com/enjoysmath
                      https://math.stackexchange.com/users/26327/exercisingmathematician

                      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