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. Problem deploying a simple qt windows App
QtWS25 Last Chance

Problem deploying a simple qt windows App

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 2 Posters 426 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.
  • A Offline
    A Offline
    abhib
    wrote on last edited by abhib
    #1

    Hi,

    I have a simple windows app compiled using the mingw730_64 provided with the Qt 5.14.1.

    I can run the application from the creator but when trying to launch the application from the command line or double clicking does noting. I initially had errors that I fixed running windeployqt.exe. The target is to share the folder with executable to friends to run the application on their computer without Qt on them.

    Any idea how I can address the issue?

    Thanks

    jsulmJ 1 Reply Last reply
    0
    • A abhib

      Hi,

      I have a simple windows app compiled using the mingw730_64 provided with the Qt 5.14.1.

      I can run the application from the creator but when trying to launch the application from the command line or double clicking does noting. I initially had errors that I fixed running windeployqt.exe. The target is to share the folder with executable to friends to run the application on their computer without Qt on them.

      Any idea how I can address the issue?

      Thanks

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

      @abhib said in Problem deploying a simple qt windows App:

      Qt Creator 5.14.1

      This is Qt version, not QtCreator.

      How exactly did you call windeployqt.exe?
      You can use https://www.dependencywalker.com to check whether some libraries are missing.

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

      1 Reply Last reply
      0
      • A Offline
        A Offline
        abhib
        wrote on last edited by
        #3

        @jsulm Thanks for pointing to the application version error. I corrected it to reflect it correctly.

        I called windeployqt.exe in two ways.

        1. Launch command prompt as admin and changed directory to the folder containing windeployqt and ran windeployqt with the location of my qt apps exe.

        2. Launch the qt's command prompt in the folder of the qt apps exe and ran windeployqt with the app exe as input.

        I will try the dependencywalker.com. Thanks!

        jsulmJ 1 Reply Last reply
        0
        • A abhib

          @jsulm Thanks for pointing to the application version error. I corrected it to reflect it correctly.

          I called windeployqt.exe in two ways.

          1. Launch command prompt as admin and changed directory to the folder containing windeployqt and ran windeployqt with the location of my qt apps exe.

          2. Launch the qt's command prompt in the folder of the qt apps exe and ran windeployqt with the app exe as input.

          I will try the dependencywalker.com. Thanks!

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @abhib said in Problem deploying a simple qt windows App:

          Launch command prompt as admin

          There is no need to run it as admin.

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

          A 1 Reply Last reply
          0
          • jsulmJ jsulm

            @abhib said in Problem deploying a simple qt windows App:

            Launch command prompt as admin

            There is no need to run it as admin.

            A Offline
            A Offline
            abhib
            wrote on last edited by
            #5

            There is no need to run it as admin.

            Thanks for the help. You were right, no need to run as admin. And your suggestion to use the dependdencywalker helped too.

            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