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. Deployment tools
Qt 6.11 is out! See what's new in the release blog

Deployment tools

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 417 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by SPlatten
    #1

    I have found the windeployqt tool and would like to use it to deploy and executable I'm working on, I've done the following:

    \Qt\Qt5.9.2\5.9.2\msvc2015\bin\windeployqt --dir .\install .\build-training-server-application-Desktop_Qt_5_9_2_MSVC2015_32bit-Release\release\trngServer.exe
    

    Whilst there is a lot of activity and at the end of it the install folder contains a lot of folders and dll's there is no executable in this folder, I was expecting to see either a setup or install file.

    Have I missed something?

    Looking at the output:

    Warning: Cannot find Visual Studio installation directory, VCINSTALLDIR is not set.
    

    What folder should this point to?

    Kind Regards,
    Sy

    jsulmJ 1 Reply Last reply
    0
    • SPlattenS SPlatten

      I have found the windeployqt tool and would like to use it to deploy and executable I'm working on, I've done the following:

      \Qt\Qt5.9.2\5.9.2\msvc2015\bin\windeployqt --dir .\install .\build-training-server-application-Desktop_Qt_5_9_2_MSVC2015_32bit-Release\release\trngServer.exe
      

      Whilst there is a lot of activity and at the end of it the install folder contains a lot of folders and dll's there is no executable in this folder, I was expecting to see either a setup or install file.

      Have I missed something?

      Looking at the output:

      Warning: Cannot find Visual Studio installation directory, VCINSTALLDIR is not set.
      

      What folder should this point to?

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

      @SPlatten said in Deployment tools:

      I was expecting to see either a setup or install file.

      Windeployqt does not create any installer. It simply creates a folder containing your app and everything needed to run it.
      This is also mentioned in the documentation:
      "The Windows deployment tool windeployqt is designed to automate the process of creating a deployable folder containing the Qt-related dependencies (libraries, QML imports, plugins, and translations) required to run the application from that folder."
      https://doc.qt.io/qt-5/windows-deployment.html

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

      SPlattenS 1 Reply Last reply
      3
      • jsulmJ jsulm

        @SPlatten said in Deployment tools:

        I was expecting to see either a setup or install file.

        Windeployqt does not create any installer. It simply creates a folder containing your app and everything needed to run it.
        This is also mentioned in the documentation:
        "The Windows deployment tool windeployqt is designed to automate the process of creating a deployable folder containing the Qt-related dependencies (libraries, QML imports, plugins, and translations) required to run the application from that folder."
        https://doc.qt.io/qt-5/windows-deployment.html

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

        @jsulm , thank you, I've progressed a little, having set-up the VCINSTALLDIR environment variable the folder now contains the vcredist_x86.exe, it doesn't appear to have the actual application exe tho.

        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