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. Fail to running .exe in another computer (Windows XP) even with all DLL
Forum Updated to NodeBB v4.3 + New Features

Fail to running .exe in another computer (Windows XP) even with all DLL

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 2.2k 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.
  • R Offline
    R Offline
    rafa04
    wrote on last edited by
    #1

    Hello,

    I am trying to execute a simple single button pressed example.
    I have a executable that works in my machine, which has the Qt Creator installed.
    I am using Windows XP sp3, Qt 5.0.2 and I used dynamic building.

    When copy the release folder to other windows xp,
    I put all the asked dll, after each fail.
    Now, no message box are shown and nothing happen.

    How to run a .exe portable to another PC (Windows xp) ?

    thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Please, have a look at the "deployment documentation":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rafa04
        wrote on last edited by
        #3

        I can't execute the following instruction:

        bq. cd C:\path\to\Qt
        configure -static <any other options you need>

        My path E:\Qt\Qt5.0.2 don't have any executable file that run the instruction above

        1 Reply Last reply
        0
        • C Offline
          C Offline
          code_fodder
          wrote on last edited by
          #4

          crickey!... are you trying to go the "static" build route?, that might be over-kill if you simply want to get an .exe to run on a different PC.

          I (and a few others) have recently been through these troubles and usually it comes down to getting the correct .dll in your release folder as you have already attempted.

          Have you tried to use the dependency walker tool (link provided in the doc-link by SGaist)? - this may shed more light on your missing .dlls if there are any.

          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