Results 1 to 5 of 5

Thread: What I need to do to launch my compiled .exe

  1. #1
    Join Date
    Nov 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Question What I need to do to launch my compiled .exe

    When I've compiled something from QT Designer, and I want to launch the .exe on another computer, I need to do the following:
    - Download and install Visual C++ 2008 Redistributable Package (x86)
    - Put the following dll's in the same folder as the app (mingwm10.dll | msvcp71.dll | msvcr71.dll | QtCore4.dll | QtGui4.dll)

    So I'm wondering, is there some way to integrate these files into the executable? Or atleast not having to install the Visual C++ Redistributable package?

  2. #2
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What I need to do to launch my compiled .exe

    If you build your application statically you will not need these files.

  3. #3
    Join Date
    Nov 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: What I need to do to launch my compiled .exe

    Quote Originally Posted by munna View Post
    If you build your application statically you will not need these files.
    I'm sorry, but what do you mean by building the application statically?

  4. #4
    Join Date
    Jul 2006
    Location
    Atlanta, GA
    Posts
    86
    Thanks
    26
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What I need to do to launch my compiled .exe

    fnmblot
    --------------------------------------
    Gee Ricky, I'm sorry your mom blew up.

  5. #5
    Join Date
    Nov 2008
    Posts
    142
    Thanks
    3
    Thanked 20 Times in 20 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: What I need to do to launch my compiled .exe

    Do you really need the Visual C++ libraries? As far as i know you should either need these or the MinGW library (see http://doc.trolltech.com/4.4/deploym...onal-libraries), at least this works for me using the Open Source version of Qt with MinGW.

Similar Threads

  1. Failed to Launch qt 4.4.0 compiled executable in Debug mode
    By nikhilqt in forum Installation and Deployment
    Replies: 2
    Last Post: 25th July 2008, 13:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.