Results 1 to 4 of 4

Thread: Can i build a static exe?

  1. #1
    Join Date
    Nov 2007
    Posts
    41
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Question Can i build a static exe?

    hi, i built an application using Qt4, MinGW but the exe file does not work becuase it
    requires dll's i must copy those dll's to the exe folder in order to work.
    there is any way to build static exe that contain all required things in one file?
    and thak you

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

  3. The following user says thank you to wysota for this useful post:

    coder1985 (14th November 2007)

  4. #3
    Join Date
    Jan 2008
    Posts
    72
    Thanks
    3
    Thanked 4 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Thumbs up Re: Can i build a static exe?

    hello sir ...............
    I also wana make a static build application in Qt.
    for this i included CONFIG+= static in my pro file .............but on compilation time it does not found QX11EmbedContainer.h.........................
    For this wht would I do?????????

  5. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Can i build a static exe?

    Does it find it without the static switch?

Similar Threads

  1. Replies: 16
    Last Post: 23rd May 2008, 10:12
  2. Windows XP Qt 4.3.2 Static build
    By maxpower in forum Installation and Deployment
    Replies: 9
    Last Post: 2nd November 2007, 04:49
  3. Build static on windows without deps on mingwm10.dll
    By ucomesdag in forum Qt Programming
    Replies: 2
    Last Post: 9th July 2007, 05:46
  4. Qt4 MacOSX UB Xcode and a static Qt build?
    By kuroyume0161 in forum Installation and Deployment
    Replies: 15
    Last Post: 18th March 2007, 08:10
  5. problem after Qt 4.2.2 static build
    By npc in forum Newbie
    Replies: 2
    Last Post: 23rd February 2007, 12:28

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.