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. windeployqt, looks ok, but no files transferred

windeployqt, looks ok, but no files transferred

Scheduled Pinned Locked Moved Solved Installation and Deployment
80 Posts 4 Posters 42.9k 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.
  • J.HilkJ J.Hilk

    @SPlatten I'm noticing QML and Quick dlls, but all folders relating to it are missing.

    Did you forget to add the --qmlDir of your qml files?

    SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #5

    @J-Hilk , there is no QML in the application.

    Kind Regards,
    Sy

    1 Reply Last reply
    0
    • jsulmJ jsulm

      @SPlatten said in windeployqt, looks ok, but no files transferred:

      Can anyone help ?

      Open terminal, set QT_DEBUG_PLUGINS there and start your app from that terminal.
      Check the output.
      https://doc.qt.io/qt-5/deployment-plugins.html

      SPlattenS Offline
      SPlattenS Offline
      SPlatten
      wrote on last edited by SPlatten
      #6

      @jsulm , after setting that environment variable:

      SET QT_DEBUG_PLUGINS=1
      

      When I now try to launch the application a dialog is displayed:

      The application was unable to start correctly (0xc000007b).
      Click OK to close the application.
      

      When I run in debug mode within Qt Creator there are no issues.

      Kind Regards,
      Sy

      jsulmJ 1 Reply Last reply
      0
      • SPlattenS SPlatten

        @jsulm , after setting that environment variable:

        SET QT_DEBUG_PLUGINS=1
        

        When I now try to launch the application a dialog is displayed:

        The application was unable to start correctly (0xc000007b).
        Click OK to close the application.
        

        When I run in debug mode within Qt Creator there are no issues.

        jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #7

        @SPlatten said in windeployqt, looks ok, but no files transferred:

        0xc000007b

        A reason for this can be that you're mixing 32bit and 64bit.
        If I reread your first post then it really looks like you're indeed doing:

        • SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin\
        • C:\Users\simon\Documents\application\deploy\trngServer.exe 32 bit, release executable [QML]

        64bit Qt, but 32bit app.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        SPlattenS 1 Reply Last reply
        2
        • jsulmJ jsulm

          @SPlatten said in windeployqt, looks ok, but no files transferred:

          0xc000007b

          A reason for this can be that you're mixing 32bit and 64bit.
          If I reread your first post then it really looks like you're indeed doing:

          • SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin\
          • C:\Users\simon\Documents\application\deploy\trngServer.exe 32 bit, release executable [QML]

          64bit Qt, but 32bit app.

          SPlattenS Offline
          SPlattenS Offline
          SPlatten
          wrote on last edited by SPlatten
          #8

          @jsulm , I will try again..., however looking at the details, that looks like purely for building the installer, not the application.

          Kind Regards,
          Sy

          jsulmJ 1 Reply Last reply
          0
          • SPlattenS SPlatten

            @jsulm , I will try again..., however looking at the details, that looks like purely for building the installer, not the application.

            jsulmJ Online
            jsulmJ Online
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #9

            @SPlatten Well, you are calling windeployqt.exe from 64bit Qt installation, that means it will copy Qt libs and plug-ins from that 64bit Qt installation.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            SPlattenS 1 Reply Last reply
            0
            • jsulmJ jsulm

              @SPlatten Well, you are calling windeployqt.exe from 64bit Qt installation, that means it will copy Qt libs and plug-ins from that 64bit Qt installation.

              SPlattenS Offline
              SPlattenS Offline
              SPlatten
              wrote on last edited by SPlatten
              #10

              @jsulm , ok, will edit and remove _64....I remember now, I tried this before, but I get:

              This app can't be run on your PC
              To find a version for your PC, check with the software publisher
              

              The OS is Windows 10 Enterpise Version 10.0.19041 Build 19041, x64-based PC.

              Kind Regards,
              Sy

              J.HilkJ 1 Reply Last reply
              0
              • SPlattenS SPlatten

                @jsulm , ok, will edit and remove _64....I remember now, I tried this before, but I get:

                This app can't be run on your PC
                To find a version for your PC, check with the software publisher
                

                The OS is Windows 10 Enterpise Version 10.0.19041 Build 19041, x64-based PC.

                J.HilkJ Offline
                J.HilkJ Offline
                J.Hilk
                Moderators
                wrote on last edited by J.Hilk
                #11

                @SPlatten make sure to remove already copied files, the tool only checks for file names, IIRC, and won't overwrite the 64 bit dlls with 32 ones


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                SPlattenS 1 Reply Last reply
                0
                • J.HilkJ J.Hilk

                  @SPlatten make sure to remove already copied files, the tool only checks for file names, IIRC, and won't overwrite the 64 bit dlls with 32 ones

                  SPlattenS Offline
                  SPlattenS Offline
                  SPlatten
                  wrote on last edited by
                  #12

                  @J-Hilk, removed content of deploy folder, leaving just the executable, still can't run the 32 bit version of windeployqt.

                  Kind Regards,
                  Sy

                  jsulmJ 1 Reply Last reply
                  0
                  • SPlattenS SPlatten

                    @J-Hilk, removed content of deploy folder, leaving just the executable, still can't run the 32 bit version of windeployqt.

                    jsulmJ Online
                    jsulmJ Online
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #13

                    @SPlatten said in windeployqt, looks ok, but no files transferred:

                    still can't run the 32 bit version of windeployqt

                    Why not?
                    What happens?

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    SPlattenS 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @SPlatten said in windeployqt, looks ok, but no files transferred:

                      still can't run the 32 bit version of windeployqt

                      Why not?
                      What happens?

                      SPlattenS Offline
                      SPlattenS Offline
                      SPlatten
                      wrote on last edited by
                      #14

                      @jsulm , see my post above, that should be everything...

                      Kind Regards,
                      Sy

                      1 Reply Last reply
                      0
                      • SPlattenS SPlatten

                        I created a batch file to make life easier:

                        @echo off
                        @echo Qt Deployment
                        SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\
                        SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin\
                        %QT5.9.2%\windeployqt.exe --dir .\install .\deploy\trngServer.exe
                        

                        The output when running this:

                        C:\Users\simon\Documents\application>deploy
                        Qt Deployment
                        C:\Users\simon\Documents\application\deploy\trngServer.exe 32 bit, release executable [QML]
                        Adding Qt5Quick for qtvirtualkeyboardplugin.dll
                        Direct dependencies: Qt5Core Qt5Gui Qt5Network Qt5Qml Qt5Sql Qt5Svg Qt5Widgets Qt5Xml
                        All dependencies   : Qt5Core Qt5Gui Qt5Network Qt5Qml Qt5Sql Qt5Svg Qt5Widgets Qt5Xml
                        To be deployed     : Qt5Core Qt5Gui Qt5Network Qt5Qml Qt5Quick Qt5Sql Qt5Svg Qt5Widgets Qt5Xml
                        Qt5Core.dll is up to date.
                        Qt5Gui.dll is up to date.
                        Qt5Network.dll is up to date.
                        Qt5Qml.dll is up to date.
                        Qt5Quick.dll is up to date.
                        Qt5Sql.dll is up to date.
                        Qt5Svg.dll is up to date.
                        Qt5Widgets.dll is up to date.
                        Qt5Xml.dll is up to date.
                        libGLESV2.dll is up to date.
                        libEGL.dll is up to date.
                        D3Dcompiler_47.dll is up to date.
                        opengl32sw.dll is up to date.
                        vcredist_x86.exe is up to date.
                        Patching Qt5Core.dll...
                        qgenericbearer.dll is up to date.
                        qnativewifibearer.dll is up to date.
                        qsvgicon.dll is up to date.
                        qgif.dll is up to date.
                        qicns.dll is up to date.
                        qico.dll is up to date.
                        qjpeg.dll is up to date.
                        qsvg.dll is up to date.
                        qtga.dll is up to date.
                        qtiff.dll is up to date.
                        qwbmp.dll is up to date.
                        qwebp.dll is up to date.
                        qtvirtualkeyboardplugin.dll is up to date.
                        qwindows.dll is up to date.
                        qmldbg_debugger.dll is up to date.
                        qmldbg_inspector.dll is up to date.
                        qmldbg_local.dll is up to date.
                        qmldbg_messages.dll is up to date.
                        qmldbg_native.dll is up to date.
                        qmldbg_nativedebugger.dll is up to date.
                        qmldbg_profiler.dll is up to date.
                        qmldbg_quickprofiler.dll is up to date.
                        qmldbg_server.dll is up to date.
                        qmldbg_tcp.dll is up to date.
                        qsgd3d12backend.dll is up to date.
                        qsqlite.dll is up to date.
                        qsqlmysql.dll is up to date.
                        qsqlodbc.dll is up to date.
                        qsqlpsql.dll is up to date.
                        Creating qt_bg.qm...
                        Creating qt_ca.qm...
                        Creating qt_cs.qm...
                        Creating qt_da.qm...
                        Creating qt_de.qm...
                        Creating qt_en.qm...
                        Creating qt_es.qm...
                        Creating qt_fi.qm...
                        Creating qt_fr.qm...
                        Creating qt_gd.qm...
                        Creating qt_he.qm...
                        Creating qt_hu.qm...
                        Creating qt_it.qm...
                        Creating qt_ja.qm...
                        Creating qt_ko.qm...
                        Creating qt_lv.qm...
                        Creating qt_pl.qm...
                        Creating qt_ru.qm...
                        Creating qt_sk.qm...
                        Creating qt_uk.qm...
                        

                        The deploy folder I created before running the script just contains the executable which I transferred before running the batch file, there are no errors shown and as far as I can see it reports everything ok, but there are no DLL's transferred to the deploy folder. The folder install contains:
                        9214c570-40b6-44da-b765-45cce8ed219d-image.png

                        KroMignonK Offline
                        KroMignonK Offline
                        KroMignon
                        wrote on last edited by KroMignon
                        #15

                        @SPlatten said in windeployqt, looks ok, but no files transferred:

                        SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0
                        SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin\

                        C:\Users\simon\Documents\application>deploy
                        Qt Deployment
                        C:\Users\simon\Documents\application\deploy\trngServer.exe 32 bit, release executable [QML]

                        This looks strange to me.
                        You are setting up a 64bit Qt Kit, but your binary is 32 bit...

                        It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                        SPlattenS 1 Reply Last reply
                        0
                        • KroMignonK KroMignon

                          @SPlatten said in windeployqt, looks ok, but no files transferred:

                          SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0
                          SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin\

                          C:\Users\simon\Documents\application>deploy
                          Qt Deployment
                          C:\Users\simon\Documents\application\deploy\trngServer.exe 32 bit, release executable [QML]

                          This looks strange to me.
                          You are setting up a 64bit Qt Kit, but your binary is 32 bit...

                          SPlattenS Offline
                          SPlattenS Offline
                          SPlatten
                          wrote on last edited by SPlatten
                          #16

                          @KroMignon , the target executable is 32 bit, running a 32 bit executable on a 64 bit OS is not an issue, however when I try to access the 32 bit windeployqt application I get:
                          67bc1b92-6e3c-4f89-9fb9-363fa49ce472-image.png
                          The environment variable from the batch file Qt5.9.2 is one used to reference windeployqt, but changing it to the 32 bit version doesn't work.

                          Kind Regards,
                          Sy

                          KroMignonK 1 Reply Last reply
                          0
                          • SPlattenS SPlatten

                            @KroMignon , the target executable is 32 bit, running a 32 bit executable on a 64 bit OS is not an issue, however when I try to access the 32 bit windeployqt application I get:
                            67bc1b92-6e3c-4f89-9fb9-363fa49ce472-image.png
                            The environment variable from the batch file Qt5.9.2 is one used to reference windeployqt, but changing it to the 32 bit version doesn't work.

                            KroMignonK Offline
                            KroMignonK Offline
                            KroMignon
                            wrote on last edited by
                            #17

                            @SPlatten said in windeployqt, looks ok, but no files transferred:

                            the target executable is 32 bit, running a 32 bit executable on a 64 bit OS is not an issue, however when I try to access the 32 bit windeployqt application I get:

                            That is not the point: you are using windeployqt.exe of 64 bit kit for a 32 bit application ==> this is bad
                            You should use the 32 bit kit:

                            @echo off
                            @echo Qt Deployment
                            SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\
                            REM SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin\
                            SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015\bin\
                            %QT5.9.2%\windeployqt.exe --dir .\install .\deploy\trngServer.exe
                            

                            It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                            jsulmJ SPlattenS 2 Replies Last reply
                            0
                            • KroMignonK KroMignon

                              @SPlatten said in windeployqt, looks ok, but no files transferred:

                              the target executable is 32 bit, running a 32 bit executable on a 64 bit OS is not an issue, however when I try to access the 32 bit windeployqt application I get:

                              That is not the point: you are using windeployqt.exe of 64 bit kit for a 32 bit application ==> this is bad
                              You should use the 32 bit kit:

                              @echo off
                              @echo Qt Deployment
                              SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\
                              REM SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin\
                              SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015\bin\
                              %QT5.9.2%\windeployqt.exe --dir .\install .\deploy\trngServer.exe
                              
                              jsulmJ Online
                              jsulmJ Online
                              jsulm
                              Lifetime Qt Champion
                              wrote on last edited by jsulm
                              #18

                              @KroMignon said in windeployqt, looks ok, but no files transferred:

                              That is not the point: you are using windeployqt.exe of 64 bit kit for a 32 bit application

                              We already clarified this.
                              @SPlatten tries to run 32bit windeployqt.exe but this fails with the error he posted.

                              https://forum.qt.io/topic/113070/qt-code-of-conduct

                              1 Reply Last reply
                              0
                              • KroMignonK KroMignon

                                @SPlatten said in windeployqt, looks ok, but no files transferred:

                                the target executable is 32 bit, running a 32 bit executable on a 64 bit OS is not an issue, however when I try to access the 32 bit windeployqt application I get:

                                That is not the point: you are using windeployqt.exe of 64 bit kit for a 32 bit application ==> this is bad
                                You should use the 32 bit kit:

                                @echo off
                                @echo Qt Deployment
                                SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\
                                REM SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin\
                                SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015\bin\
                                %QT5.9.2%\windeployqt.exe --dir .\install .\deploy\trngServer.exe
                                
                                SPlattenS Offline
                                SPlattenS Offline
                                SPlatten
                                wrote on last edited by
                                #19

                                @KroMignon , I did exactly that and the result is that trying to run the 32bit version of windeployqt will not work, see the dialog image I posted which is a direct result of trying to run the 32bit version of windeployqt.

                                Kind Regards,
                                Sy

                                KroMignonK 1 Reply Last reply
                                0
                                • SPlattenS SPlatten

                                  @KroMignon , I did exactly that and the result is that trying to run the 32bit version of windeployqt will not work, see the dialog image I posted which is a direct result of trying to run the 32bit version of windeployqt.

                                  KroMignonK Offline
                                  KroMignonK Offline
                                  KroMignon
                                  wrote on last edited by KroMignon
                                  #20

                                  @SPlatten said in windeployqt, looks ok, but no files transferred:

                                  I did exactly that and the result is that trying to run the 32bit version of windeployqt will not work, see the dialog image I posted which is a direct result of trying to run the 32bit version of windeployqt.

                                  Very strange, I guess you have add Qt in the system/user PATH.
                                  Have you tried this:

                                  @echo off
                                  @echo Qt Deployment
                                  SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\
                                  SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015\bin\
                                  call "%QT5.9.2%\qtenv2.bat"
                                  %QT5.9.2%\windeployqt.exe --dir .\install .\deploy\trngServer.exe
                                  

                                  EDIT
                                  or maybe this could be better:

                                  @echo off
                                  @echo Qt Deployment
                                  SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\
                                  SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015\bin\
                                  SET PATH=%QT5.9.2%;%PATH%
                                  %QT5.9.2%\windeployqt.exe --dir .\install .\deploy\trngServer.exe
                                  

                                  It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                                  SPlattenS 1 Reply Last reply
                                  0
                                  • KroMignonK KroMignon

                                    @SPlatten said in windeployqt, looks ok, but no files transferred:

                                    I did exactly that and the result is that trying to run the 32bit version of windeployqt will not work, see the dialog image I posted which is a direct result of trying to run the 32bit version of windeployqt.

                                    Very strange, I guess you have add Qt in the system/user PATH.
                                    Have you tried this:

                                    @echo off
                                    @echo Qt Deployment
                                    SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\
                                    SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015\bin\
                                    call "%QT5.9.2%\qtenv2.bat"
                                    %QT5.9.2%\windeployqt.exe --dir .\install .\deploy\trngServer.exe
                                    

                                    EDIT
                                    or maybe this could be better:

                                    @echo off
                                    @echo Qt Deployment
                                    SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\
                                    SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015\bin\
                                    SET PATH=%QT5.9.2%;%PATH%
                                    %QT5.9.2%\windeployqt.exe --dir .\install .\deploy\trngServer.exe
                                    
                                    SPlattenS Offline
                                    SPlattenS Offline
                                    SPlatten
                                    wrote on last edited by
                                    #21

                                    @KroMignon , this is now the content of the batch file:

                                    @echo off
                                    @echo Qt Deployment
                                    SET CWD=%CD%
                                    SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\
                                    REM NOTE: The 32bit version of windeployqt cannot be run on 64 bit Windows.
                                    SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin\
                                    CALL "%QT5.9.2%\qtenv2.bat"
                                    CD %CWD%
                                    SET QTLIB=C:\Qt\Qt5.9.2\5.9.2\msvc2015\lib
                                    SET QTPLUGINS=C:\Qt\Qt5.9.2\5.9.2\msvc2015\plugins
                                    %QT5.9.2%\windeployqt.exe --libdir %QTLIB% --plugindir %QTPLUGINS% --dir install\ deploy\trngServer.exe
                                    

                                    After running this the output is:

                                    Qt Deployment
                                    Setting up environment for Qt usage...
                                    Remember to call vcvarsall.bat to complete environment setup!
                                    Creating install\...
                                    C:\Users\simon\Documents\application\deploy\trngServer.exe 32 bit, release executable [QML]
                                    Adding Qt5Quick for qtvirtualkeyboardplugin.dll
                                    Direct dependencies: Qt5Core Qt5Gui Qt5Network Qt5Qml Qt5Sql Qt5Svg Qt5Widgets Qt5Xml
                                    All dependencies   : Qt5Core Qt5Gui Qt5Network Qt5Qml Qt5Sql Qt5Svg Qt5Widgets Qt5Xml
                                    To be deployed     : Qt5Core Qt5Gui Qt5Network Qt5Qml Qt5Quick Qt5Sql Qt5Svg Qt5Widgets Qt5Xml
                                    Qt5Core.dll is up to date.
                                    Qt5Gui.dll is up to date.
                                    Qt5Network.dll is up to date.
                                    Qt5Qml.dll is up to date.
                                    Qt5Quick.dll is up to date.
                                    Qt5Sql.dll is up to date.
                                    Qt5Svg.dll is up to date.
                                    Qt5Widgets.dll is up to date.
                                    Qt5Xml.dll is up to date.
                                    libGLESV2.dll is up to date.
                                    libEGL.dll is up to date.
                                    D3Dcompiler_47.dll is up to date.
                                    opengl32sw.dll is up to date.
                                    vcredist_x86.exe is up to date.
                                    Patching Qt5Core.dll...
                                    qgenericbearer.dll is up to date.
                                    qnativewifibearer.dll is up to date.
                                    qsvgicon.dll is up to date.
                                    qgif.dll is up to date.
                                    qicns.dll is up to date.
                                    qico.dll is up to date.
                                    qjpeg.dll is up to date.
                                    qsvg.dll is up to date.
                                    qtga.dll is up to date.
                                    qtiff.dll is up to date.
                                    qwbmp.dll is up to date.
                                    qwebp.dll is up to date.
                                    qtvirtualkeyboardplugin.dll is up to date.
                                    qwindows.dll is up to date.
                                    qmldbg_debugger.dll is up to date.
                                    qmldbg_inspector.dll is up to date.
                                    qmldbg_local.dll is up to date.
                                    qmldbg_messages.dll is up to date.
                                    qmldbg_native.dll is up to date.
                                    qmldbg_nativedebugger.dll is up to date.
                                    qmldbg_profiler.dll is up to date.
                                    qmldbg_quickprofiler.dll is up to date.
                                    qmldbg_server.dll is up to date.
                                    qmldbg_tcp.dll is up to date.
                                    qsgd3d12backend.dll is up to date.
                                    qsqlite.dll is up to date.
                                    qsqlmysql.dll is up to date.
                                    qsqlodbc.dll is up to date.
                                    qsqlpsql.dll is up to date.
                                    Creating install\\translations...
                                    Creating qt_bg.qm...
                                    Creating qt_ca.qm...
                                    Creating qt_cs.qm...
                                    Creating qt_da.qm...
                                    Creating qt_de.qm...
                                    Creating qt_en.qm...
                                    Creating qt_es.qm...
                                    Creating qt_fi.qm...
                                    Creating qt_fr.qm...
                                    Creating qt_gd.qm...
                                    Creating qt_he.qm...
                                    Creating qt_hu.qm...
                                    Creating qt_it.qm...
                                    Creating qt_ja.qm...
                                    Creating qt_ko.qm...
                                    Creating qt_lv.qm...
                                    Creating qt_pl.qm...
                                    Creating qt_ru.qm...
                                    Creating qt_sk.qm...
                                    Creating qt_uk.qm...
                                    

                                    The result is the install folder is created but only contains a subfolder called translations. There are no dll's or executable.

                                    Kind Regards,
                                    Sy

                                    jsulmJ KroMignonK 2 Replies Last reply
                                    0
                                    • SPlattenS SPlatten

                                      @KroMignon , this is now the content of the batch file:

                                      @echo off
                                      @echo Qt Deployment
                                      SET CWD=%CD%
                                      SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\
                                      REM NOTE: The 32bit version of windeployqt cannot be run on 64 bit Windows.
                                      SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin\
                                      CALL "%QT5.9.2%\qtenv2.bat"
                                      CD %CWD%
                                      SET QTLIB=C:\Qt\Qt5.9.2\5.9.2\msvc2015\lib
                                      SET QTPLUGINS=C:\Qt\Qt5.9.2\5.9.2\msvc2015\plugins
                                      %QT5.9.2%\windeployqt.exe --libdir %QTLIB% --plugindir %QTPLUGINS% --dir install\ deploy\trngServer.exe
                                      

                                      After running this the output is:

                                      Qt Deployment
                                      Setting up environment for Qt usage...
                                      Remember to call vcvarsall.bat to complete environment setup!
                                      Creating install\...
                                      C:\Users\simon\Documents\application\deploy\trngServer.exe 32 bit, release executable [QML]
                                      Adding Qt5Quick for qtvirtualkeyboardplugin.dll
                                      Direct dependencies: Qt5Core Qt5Gui Qt5Network Qt5Qml Qt5Sql Qt5Svg Qt5Widgets Qt5Xml
                                      All dependencies   : Qt5Core Qt5Gui Qt5Network Qt5Qml Qt5Sql Qt5Svg Qt5Widgets Qt5Xml
                                      To be deployed     : Qt5Core Qt5Gui Qt5Network Qt5Qml Qt5Quick Qt5Sql Qt5Svg Qt5Widgets Qt5Xml
                                      Qt5Core.dll is up to date.
                                      Qt5Gui.dll is up to date.
                                      Qt5Network.dll is up to date.
                                      Qt5Qml.dll is up to date.
                                      Qt5Quick.dll is up to date.
                                      Qt5Sql.dll is up to date.
                                      Qt5Svg.dll is up to date.
                                      Qt5Widgets.dll is up to date.
                                      Qt5Xml.dll is up to date.
                                      libGLESV2.dll is up to date.
                                      libEGL.dll is up to date.
                                      D3Dcompiler_47.dll is up to date.
                                      opengl32sw.dll is up to date.
                                      vcredist_x86.exe is up to date.
                                      Patching Qt5Core.dll...
                                      qgenericbearer.dll is up to date.
                                      qnativewifibearer.dll is up to date.
                                      qsvgicon.dll is up to date.
                                      qgif.dll is up to date.
                                      qicns.dll is up to date.
                                      qico.dll is up to date.
                                      qjpeg.dll is up to date.
                                      qsvg.dll is up to date.
                                      qtga.dll is up to date.
                                      qtiff.dll is up to date.
                                      qwbmp.dll is up to date.
                                      qwebp.dll is up to date.
                                      qtvirtualkeyboardplugin.dll is up to date.
                                      qwindows.dll is up to date.
                                      qmldbg_debugger.dll is up to date.
                                      qmldbg_inspector.dll is up to date.
                                      qmldbg_local.dll is up to date.
                                      qmldbg_messages.dll is up to date.
                                      qmldbg_native.dll is up to date.
                                      qmldbg_nativedebugger.dll is up to date.
                                      qmldbg_profiler.dll is up to date.
                                      qmldbg_quickprofiler.dll is up to date.
                                      qmldbg_server.dll is up to date.
                                      qmldbg_tcp.dll is up to date.
                                      qsgd3d12backend.dll is up to date.
                                      qsqlite.dll is up to date.
                                      qsqlmysql.dll is up to date.
                                      qsqlodbc.dll is up to date.
                                      qsqlpsql.dll is up to date.
                                      Creating install\\translations...
                                      Creating qt_bg.qm...
                                      Creating qt_ca.qm...
                                      Creating qt_cs.qm...
                                      Creating qt_da.qm...
                                      Creating qt_de.qm...
                                      Creating qt_en.qm...
                                      Creating qt_es.qm...
                                      Creating qt_fi.qm...
                                      Creating qt_fr.qm...
                                      Creating qt_gd.qm...
                                      Creating qt_he.qm...
                                      Creating qt_hu.qm...
                                      Creating qt_it.qm...
                                      Creating qt_ja.qm...
                                      Creating qt_ko.qm...
                                      Creating qt_lv.qm...
                                      Creating qt_pl.qm...
                                      Creating qt_ru.qm...
                                      Creating qt_sk.qm...
                                      Creating qt_uk.qm...
                                      

                                      The result is the install folder is created but only contains a subfolder called translations. There are no dll's or executable.

                                      jsulmJ Online
                                      jsulmJ Online
                                      jsulm
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #22

                                      @SPlatten I doubt this approach is going to work.
                                      You should rather find out why the 32bit windwployqt.exe does not run.
                                      Does qmake.exe from C:\Qt\Qt5.9.2\5.9.2\msvc2015 run?
                                      Maybe try to disable anti virus software.

                                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                                      SPlattenS KroMignonK 2 Replies Last reply
                                      0
                                      • SPlattenS SPlatten

                                        @KroMignon , this is now the content of the batch file:

                                        @echo off
                                        @echo Qt Deployment
                                        SET CWD=%CD%
                                        SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\
                                        REM NOTE: The 32bit version of windeployqt cannot be run on 64 bit Windows.
                                        SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin\
                                        CALL "%QT5.9.2%\qtenv2.bat"
                                        CD %CWD%
                                        SET QTLIB=C:\Qt\Qt5.9.2\5.9.2\msvc2015\lib
                                        SET QTPLUGINS=C:\Qt\Qt5.9.2\5.9.2\msvc2015\plugins
                                        %QT5.9.2%\windeployqt.exe --libdir %QTLIB% --plugindir %QTPLUGINS% --dir install\ deploy\trngServer.exe
                                        

                                        After running this the output is:

                                        Qt Deployment
                                        Setting up environment for Qt usage...
                                        Remember to call vcvarsall.bat to complete environment setup!
                                        Creating install\...
                                        C:\Users\simon\Documents\application\deploy\trngServer.exe 32 bit, release executable [QML]
                                        Adding Qt5Quick for qtvirtualkeyboardplugin.dll
                                        Direct dependencies: Qt5Core Qt5Gui Qt5Network Qt5Qml Qt5Sql Qt5Svg Qt5Widgets Qt5Xml
                                        All dependencies   : Qt5Core Qt5Gui Qt5Network Qt5Qml Qt5Sql Qt5Svg Qt5Widgets Qt5Xml
                                        To be deployed     : Qt5Core Qt5Gui Qt5Network Qt5Qml Qt5Quick Qt5Sql Qt5Svg Qt5Widgets Qt5Xml
                                        Qt5Core.dll is up to date.
                                        Qt5Gui.dll is up to date.
                                        Qt5Network.dll is up to date.
                                        Qt5Qml.dll is up to date.
                                        Qt5Quick.dll is up to date.
                                        Qt5Sql.dll is up to date.
                                        Qt5Svg.dll is up to date.
                                        Qt5Widgets.dll is up to date.
                                        Qt5Xml.dll is up to date.
                                        libGLESV2.dll is up to date.
                                        libEGL.dll is up to date.
                                        D3Dcompiler_47.dll is up to date.
                                        opengl32sw.dll is up to date.
                                        vcredist_x86.exe is up to date.
                                        Patching Qt5Core.dll...
                                        qgenericbearer.dll is up to date.
                                        qnativewifibearer.dll is up to date.
                                        qsvgicon.dll is up to date.
                                        qgif.dll is up to date.
                                        qicns.dll is up to date.
                                        qico.dll is up to date.
                                        qjpeg.dll is up to date.
                                        qsvg.dll is up to date.
                                        qtga.dll is up to date.
                                        qtiff.dll is up to date.
                                        qwbmp.dll is up to date.
                                        qwebp.dll is up to date.
                                        qtvirtualkeyboardplugin.dll is up to date.
                                        qwindows.dll is up to date.
                                        qmldbg_debugger.dll is up to date.
                                        qmldbg_inspector.dll is up to date.
                                        qmldbg_local.dll is up to date.
                                        qmldbg_messages.dll is up to date.
                                        qmldbg_native.dll is up to date.
                                        qmldbg_nativedebugger.dll is up to date.
                                        qmldbg_profiler.dll is up to date.
                                        qmldbg_quickprofiler.dll is up to date.
                                        qmldbg_server.dll is up to date.
                                        qmldbg_tcp.dll is up to date.
                                        qsgd3d12backend.dll is up to date.
                                        qsqlite.dll is up to date.
                                        qsqlmysql.dll is up to date.
                                        qsqlodbc.dll is up to date.
                                        qsqlpsql.dll is up to date.
                                        Creating install\\translations...
                                        Creating qt_bg.qm...
                                        Creating qt_ca.qm...
                                        Creating qt_cs.qm...
                                        Creating qt_da.qm...
                                        Creating qt_de.qm...
                                        Creating qt_en.qm...
                                        Creating qt_es.qm...
                                        Creating qt_fi.qm...
                                        Creating qt_fr.qm...
                                        Creating qt_gd.qm...
                                        Creating qt_he.qm...
                                        Creating qt_hu.qm...
                                        Creating qt_it.qm...
                                        Creating qt_ja.qm...
                                        Creating qt_ko.qm...
                                        Creating qt_lv.qm...
                                        Creating qt_pl.qm...
                                        Creating qt_ru.qm...
                                        Creating qt_sk.qm...
                                        Creating qt_uk.qm...
                                        

                                        The result is the install folder is created but only contains a subfolder called translations. There are no dll's or executable.

                                        KroMignonK Offline
                                        KroMignonK Offline
                                        KroMignon
                                        wrote on last edited by KroMignon
                                        #23

                                        @SPlatten said in windeployqt, looks ok, but no files transferred:

                                        The result is the install folder is created but only contains a subfolder called translations. There are no dll's or executable.

                                        Okay, perhaps you should provide full path and not relative and add quotes to ensure it will work, event with spaces.
                                        And please remove libdir and plugindir , this is to tell where the tool should write the used libraries/plugins (https://doc.qt.io/qt-5/windows-deployment.html)

                                        %QT5.9.2%\windeployqt.exe --dir "%CWD%\install\" "%CWD%\deploy\trngServer.exe"
                                        

                                        It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                                        1 Reply Last reply
                                        0
                                        • jsulmJ jsulm

                                          @SPlatten I doubt this approach is going to work.
                                          You should rather find out why the 32bit windwployqt.exe does not run.
                                          Does qmake.exe from C:\Qt\Qt5.9.2\5.9.2\msvc2015 run?
                                          Maybe try to disable anti virus software.

                                          SPlattenS Offline
                                          SPlattenS Offline
                                          SPlatten
                                          wrote on last edited by
                                          #24

                                          @jsulm , yes, that runs, scrolls up with all the command line options.

                                          Kind Regards,
                                          Sy

                                          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