Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to release a Qt Quick application?
QtWS25 Last Chance

How to release a Qt Quick application?

Scheduled Pinned Locked Moved QML and Qt Quick
9 Posts 3 Posters 5.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.
  • K Offline
    K Offline
    kathy
    wrote on last edited by
    #1

    I have built a release version of Qt Quick application using Qt Creator on Windows XP. It run great in Qt Creator. But in release folder, If I double click the exe file, a blank window pop up. I have checked the dll it used. All are in the release folder. Using Process Explorer I found comparing to run in Qt Creator, the exe does not load the image dll like: qjpeg4.dll, qico4.dll, qsvg4.dll, and qmng4.dll. But all these files are in the same directory as the exe file. Why the exe can not load these files?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2

      they should be in imageformats directory

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kathy
        wrote on last edited by
        #3

        What you mean? I need to create a sub directory called imageformats relative to my exe file folder?

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DenisKormalev
          wrote on last edited by
          #4

          Yep and move these libs to this dir.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kathy
            wrote on last edited by
            #5

            What I want is put evarything in release folder and release the folder to other PC which nol Qt library installed.

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kathy
              wrote on last edited by
              #6

              I have moved to the dll files but still no luck.

              My directory structure is:

              In release/,

              myApp.exe
              QtCore4.dll
              QtDeclarative4.dll
              QtGui4.dll
              QtNetwork4.dll
              QtScript4.dll
              QtSvg4.dll
              QtSql4.dll
              QtXml4.dll
              QtXmlPatterns4.dll

              in release/imageformats

              qgif4.dll
              qico4.dll
              qjpeg4.dll
              qmng4.dll
              qsvg4.dll

              What is wrong?

              1 Reply Last reply
              0
              • D Offline
                D Offline
                DenisKormalev
                wrote on last edited by
                #7

                all looks ok. Are you sure your problem is in not-loaded image plugins?

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  baysmith
                  wrote on last edited by
                  #8

                  I copy the contents of imageformats to plugins/imageformats relative to the exe, and create a qt.conf file.

                  Directory structure: @
                  app/app.exe
                  app/(Qt dlls)
                  app/qt.conf
                  app/plugins/imageformats/(plugin files)
                  @

                  qt.conf @
                  [Paths]
                  Plugins=plugins
                  @

                  Nokia Certified Qt Specialist.

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    kathy
                    wrote on last edited by
                    #9

                    I tried it but no luck. I use the depends.exe to profile it and found it said can not open wintab32.dll. But I searched my PC and can not find it.

                    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