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. [solved] run Qt Application outside Creator on WindowsXP ?
Forum Updated to NodeBB v4.3 + New Features

[solved] run Qt Application outside Creator on WindowsXP ?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.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.
  • D Offline
    D Offline
    deleted28
    wrote on last edited by
    #1

    Hi,

    i built an Qt application with QtCreator (MingW) on WindowsXP.

    What do i need to do to get it run outside the IDE ?

    thx

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      Hi, on the same PC as you have QtCreator installed, one way is to open a CMD window and run the qtenv2.bat file in C:\Qt\5.2.1\mingw48_32\bin (or similiar directory). Then you can start your Qt app from the CMD window.

      If you want to run your Qt app on another PC without Qt installed, it's slightly more involved :-)

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deleted28
        wrote on last edited by
        #3

        Thank You

        bq. slightly more

        means , building static libs ?
        There is no Qt-runtime available ?

        1 Reply Last reply
        0
        • hskoglundH Offline
          hskoglundH Offline
          hskoglund
          wrote on last edited by
          #4

          Sure, you can build a static lib so that you have only one .exe file to install, but easiest is just to compile your app in release mode, then copy the needed Qt .dlls together with your .exe file to the other PC.

          Which files etc. you can see for example in "JKSH's guide":http://qt-project.org/wiki/Deploy_an_Application_on_Windows or in my "blog post":http://www.tripleboot.org/?p=138

          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