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

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.1k Views 1 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.
  • F Offline
    F Offline
    Franzk
    wrote on 18 Feb 2011, 08:13 last edited by
    #8

    It's a general rule/guideline on a lot of forums, and has been for a long time. This is not without reason. The confusion might not be here now, but it might come in the future, when people start searching through old posts.

    "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

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

    1 Reply Last reply
    0
    • S Offline
      S Offline
      swhweng
      wrote on 18 Feb 2011, 08:19 last edited by
      #9

      Thank you very much for your reply
      I do not know did not hear that there is need for additional plugin so as to add ans see icons
      I add my icons in Qt Designer, before that I add them to resource file
      The path is ok while I compile and launch the application on machine when it built and I see icons in there places when I've put them while developing?
      A put .exe, .rcc and dlls to end user and I see no icons?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        swhweng
        wrote on 18 Feb 2011, 08:22 last edited by
        #10

        See Qt Reference Documentation
        There is anything about you sould use any plugin so as to manage resources
        look at
        Qt Reference Documentation – the Qt Resource System

        there is wrote all should be ok, but the icons still invisible when installing...

        1 Reply Last reply
        0
        • S Offline
          S Offline
          swhweng
          wrote on 18 Feb 2011, 11:42 last edited by
          #11

          I have tried also to deploy with dlls from plugins/codecs , plugins/imageformats, plugins/iconengines but still I can't see icons
          I can see only when I install full Qt SDK and I deploy to qt/bin directory
          But we understand the end user should not install full Qt SDK so as to use application
          why such a problem?>

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goetz
            wrote on 18 Feb 2011, 12:07 last edited by
            #12

            What's the image type of your icons?

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

            1 Reply Last reply
            0
            • G Offline
              G Offline
              goetz
              wrote on 18 Feb 2011, 12:40 last edited by
              #13

              Closed thread due to duplicate post.

              Please follow up in http://developer.qt.nokia.com/forums/viewthread/3909/

              Crossposting is not welcome in this forum (as it is in most other sites). Accept the rules - they are well chosen, you will not change them by arguing anyways. If you need explanations: http://lmgtfy.com/?q=crossposting+bad

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

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on 18 Feb 2011, 12:48 last edited by
                #14

                Just merged the two identical threads into one.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  swhweng
                  wrote on 19 Feb 2011, 14:21 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 19 Feb 2011, 16:23 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 20 Feb 2011, 14:48 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 20 Feb 2011, 17:37 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 21 Feb 2011, 12:00 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 21 Feb 2011, 12:35 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 28 Feb 2011, 09:36 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 9 Feb 2013, 16:36 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 9 Feb 2013, 17:09 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 9 Feb 2013, 17:26 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