Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    How to release a Qt Quick application?

    QML and Qt Quick
    3
    9
    4504
    Loading More Posts
    • 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
      kathy last edited by

      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 Reply Quote 0
      • D
        DenisKormalev last edited by

        they should be in imageformats directory

        1 Reply Last reply Reply Quote 0
        • K
          kathy last edited by

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

          1 Reply Last reply Reply Quote 0
          • D
            DenisKormalev last edited by

            Yep and move these libs to this dir.

            1 Reply Last reply Reply Quote 0
            • K
              kathy last edited by

              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 Reply Quote 0
              • K
                kathy last edited by

                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 Reply Quote 0
                • D
                  DenisKormalev last edited by

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

                  1 Reply Last reply Reply Quote 0
                  • B
                    baysmith last edited by

                    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 Reply Quote 0
                    • K
                      kathy last edited by

                      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 Reply Quote 0
                      • First post
                        Last post