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 are not visible when installing Qt application on end user machine(Windows) Why?
Forum Update on Monday, May 27th 2025

Icons are not visible when installing Qt application on end user machine(Windows) Why?

Scheduled Pinned Locked Moved General and Desktop
24 Posts 6 Posters 16.0k 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.
  • S Offline
    S Offline
    swhweng
    wrote on last edited by
    #15

    Hi Volker
    Thanks for your reply man
    my icons formats are .ico, .jpeg, .png
    why do you ask?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #16

      If you do not have installed the imageformat plugins correctly, your application is not able to display them (nor any other jpeg, png or ico image).

      You must maintain the directory hierarchy of the plugins like in the Qt install dir and you might want to add the plugin dir to the library path (use "QCoreApplication::addLibraryPath() ":http://doc.qt.nokia.com/4.7-snapshot/qcoreapplication.html#addLibraryPath).

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • S Offline
        S Offline
        swhweng
        wrote on last edited by
        #17

        Yea
        sure
        but the plugins are installed when I install standart Qt SDK from the site ( open source )
        Now I try to include imageformats and iconenginer folders with dlls with my .exe and the dlls when I deploy
        Lets see how it installs

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #18

          Of course you must provide copies of that files in your installation package, as well as the Qt libs.

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • S Offline
            S Offline
            swhweng
            wrote on last edited by
            #19

            Hello
            I deployed today with /plugins/imageformats folder
            It works only when I deploy may application exe, main Qt dlls as I mentioned and imageformats folder on windows
            Also I looked at Process Monitor output for my application and I see there that my application uses also QtSVG4.dll, QtXML4.dll but I think it is because resources are in xml format...
            How can I deploy on MacOS, Ubuntu, Symbian , Maemo?
            Thanks
            Pavel

            1 Reply Last reply
            0
            • G Offline
              G Offline
              goetz
              wrote on last edited by
              #20

              [quote author="Pavel Mazniker" date="1298289603"]Hello
              I deployed today with /plugins/imageformats folder
              It works only when I deploy may application exe, main Qt dlls as I mentioned and imageformats folder on windows[/quote]

              Yes. Everyone told you exactly this.

              [quote author="Pavel Mazniker" date="1298289603"]Also I looked at Process Monitor output for my application and I see there that my application uses also QtSVG4.dll, QtXML4.dll but I think it is because resources are in xml format...
              [/quote]

              Yes.

              [quote author="Pavel Mazniker" date="1298289603"]How can I deploy on MacOS, Ubuntu, Symbian , Maemo?
              Thanks
              Pavel[/quote]

              Read the docs, search the forum and wiki, ask google and come back with actual questions.

              For OS X: the docs provide sufficient information.

              For Ubuntu: create a deb.

              For Symbian, Maemo: have a look at forum nokia and the docs for the respective platform.

              http://www.catb.org/~esr/faqs/smart-questions.html

              1 Reply Last reply
              0
              • S Offline
                S Offline
                swhweng
                wrote on last edited by
                #21

                Thank you all
                I succeed to deploy on Win7 using your advices
                I currently work on deploying to another platforms
                creating .sis installer

                http://realvirtualdevelopment.co.nr

                Pavel

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  dv879
                  wrote on last edited by
                  #22

                  Hi, I'm sorry to bring up this old topic.
                  I had the same problem and thanks to this thread I've fixed my icons. :)
                  However I need to know if there is a way to determine which plugins EXACTLY does my application require, so i don't have to include all the plugins in my installation package?
                  Thank you in advance!

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tzander
                    wrote on last edited by
                    #23

                    dv879: have you tried to install the pugins one by one until everything works?

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      dv879
                      wrote on last edited by
                      #24

                      The project is HUGE and I can not determine if everything works the way you are suggesting. And there should definitely be a more "intelligent" way. :)
                      I wanted to know if there are some kind of dependencies records, where I can check on which plugins depends my program...

                      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