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. Impossible to run .exe after release

Impossible to run .exe after release

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 329 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.
  • S Offline
    S Offline
    simatton
    wrote on last edited by simatton
    #1

    Hi everyone !
    Once I had coded my first Qt application (a very simple datas monitor with only one window in qml) all works perfectly without errors in Debug mode with the MSVC 2019 compiler, I now want to deploy all to get the executable .exe to use this out of Qt Creator.

    I followed the steps, selected the "release mode", the build ended successfull and without errors, and then I used the windeployqt.exe to add all the dll needed. All this steps are working fine, but when I try to run my .exe nothing happens...

    How can I find the problem and fix it ? I think some files (libraries or ressources) are missing or maybe the build step was not correctly made but without any error message I'm really stuck and I don't know where to look for the problem.

    Thank you in advance for you're help !

    jsulmJ 1 Reply Last reply
    0
    • S simatton

      Hi everyone !
      Once I had coded my first Qt application (a very simple datas monitor with only one window in qml) all works perfectly without errors in Debug mode with the MSVC 2019 compiler, I now want to deploy all to get the executable .exe to use this out of Qt Creator.

      I followed the steps, selected the "release mode", the build ended successfull and without errors, and then I used the windeployqt.exe to add all the dll needed. All this steps are working fine, but when I try to run my .exe nothing happens...

      How can I find the problem and fix it ? I think some files (libraries or ressources) are missing or maybe the build step was not correctly made but without any error message I'm really stuck and I don't know where to look for the problem.

      Thank you in advance for you're help !

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

      @simatton said in Impossible to run .exe after release:

      How can I find the problem and fix it ?

      Try to start the app from a terminal and see whether there are any warnings/errors.

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

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved