Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Moved] Problem with .exe file in debug folder?
Forum Updated to NodeBB v4.3 + New Features

[Moved] Problem with .exe file in debug folder?

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 4 Posters 3.0k 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.
  • P Offline
    P Offline
    pratik041
    wrote on last edited by
    #1

    While i am clicking .exe file of my project in my system in which Qtsdk is installed i am getting proper output but while i am coping the debug folder in another system and repeating the same procedure i am not getting the image associated with the project in the output.
    What may be the cause of that?

    Pratik Agrawal

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Did you deploy the Qt libraries that your application uses properly? Make sure to include all the Qt plugins.

      Use filemon to monitor which of them are accessed when starting up your application and put them into a place where Qt can find them on your target system.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pratik041
        wrote on last edited by
        #3

        [quote author="Tobias Hunger" date="1323163099"]Did you deploy the Qt libraries that your application uses properly? Make sure to include all the Qt plugins.

        Use filemon to monitor which of them are accessed when starting up your application and put them into a place where Qt can find them on your target system.
        [/quote]

        The program i checked was a simple program just containing one image in the resource file displaying on the window using stylesheet . For that i have included necessary .dll files but which Qt plugins and libraries i should include for that? Can you please specify?

        Pratik Agrawal

        1 Reply Last reply
        0
        • F Offline
          F Offline
          fluca1978
          wrote on last edited by
          #4

          Does "this":http://doc.qt.nokia.com/latest/deployment-windows.html help?

          1 Reply Last reply
          0
          • P Offline
            P Offline
            pratik041
            wrote on last edited by
            #5

            [quote author="fluca1978" date="1323166579"]Does "this":http://doc.qt.nokia.com/latest/deployment-windows.html help?[/quote]
            I have tried but not getting the jpeg image. I have included the qtjpeg4.dll but still not getting the
            image. what may be the problem.

            Pratik Agrawal

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              qxoz
              wrote on last edited by
              #6

              How you include qjpeg4.dll?
              it must placed in imageformats folder.

              1 Reply Last reply
              0
              • P Offline
                P Offline
                pratik041
                wrote on last edited by
                #7

                [quote author="qxoz" date="1323170898"]How you include qjpeg4.dll?
                it must placed in imageformats folder.[/quote]

                I have created an imageformats folder inside the debug folder and inside that i have copied the dll.
                debug->imageformats->qjpeg4.dll
                Does i have to give any extra function inside my application. I have seen in the doc. like app.addlibrarypath() but not clear what path i should pass as parameter.

                Pratik Agrawal

                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