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. Deployed exe file can not run on other computers

Deployed exe file can not run on other computers

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

    Hi!
    I deployed my Qt program with windeployqt command and the deployed exe file runs well on my computer when I renamed my Qt folder to QtHidden. But, when I copy the files to another computer and double click the exe file, nothing happens. It doses not remind me any dll file is missing. The exe file just can not be opened. I don't know how to deal with the problom?
    I used Qt3D, QCharts, and QWebEngineView in the program. I also used a dll which contains openMP computations. My Qt version is Qt5.15.0 MSVC 2019 64-bit. I will be very gratefull if someone can give me an advise!

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @October said in Deployed exe file can not run on other computers:

      I don't know how to deal with the problom?

      Use Dependency Walker or Dependencies to see what dll is missing

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      O 1 Reply Last reply
      3
      • Christian EhrlicherC Christian Ehrlicher

        @October said in Deployed exe file can not run on other computers:

        I don't know how to deal with the problom?

        Use Dependency Walker or Dependencies to see what dll is missing

        O Offline
        O Offline
        October
        wrote on last edited by October
        #3

        @Christian-Ehrlicher Thanks for the advise! I tested dependencies using the refered Dependencies and no missing dlls are found. In fact, I used a QTabWidget in the ui designer and promoted a sub-widget of the QTabWidget directely to QWebEngineView, which is the cause of my trouble.
        When I add a new widget to the QTabWidget and promote the newly added widget to QWebEngineView, everything goes right. The program can run both on my computer and another computer.
        Nevertheless, I don't understand the reason behind, since the newlly added widget and the sub-widget of QTabWidget itself are both of QWidget class...

        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