Results 1 to 2 of 2

Thread: Static build of Qt stuck

  1. #1

    Default Static build of Qt stuck

    Hello everyone,

    I'm trying to build a static Qt program. I'm following this http://qt-project.org/wiki/Build_Sta...on_for_Windows guide.

    But I'm already stuck on the first line where you have to add these line to mingw "configure -static -release -no-exceptions". When I enter this I get the following error-> "not recognized internal external command".

    I tried to set the right path by entering this lines in the mingw command prompt but nothing changed. I'm a total newby in static building. Does anyone know what I'm doing wrong?

    Qt Code:
    1. set QTDIR=C:\Qt\QtSDK\Desktop\Qt\4.8.1\mingw
    2. set PATH=C:\Qt\QtSDK\mingw\bin;%PATH%
    3. set PATH=%QTDIR%\bin;%PATH%
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Sep 2011
    Posts
    26
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Static build of Qt stuck

    Quote Originally Posted by kevindebb View Post
    Hello everyone,

    I'm trying to build a static Qt program. I'm following this http://qt-project.org/wiki/Build_Sta...on_for_Windows guide.

    But I'm already stuck on the first line where you have to add these line to mingw "configure -static -release -no-exceptions". When I enter this I get the following error-> "not recognized internal external command".

    I tried to set the right path by entering this lines in the mingw command prompt but nothing changed. I'm a total newby in static building. Does anyone know what I'm doing wrong?

    Qt Code:
    1. set QTDIR=C:\Qt\QtSDK\Desktop\Qt\4.8.1\mingw
    2. set PATH=C:\Qt\QtSDK\mingw\bin;%PATH%
    3. set PATH=%QTDIR%\bin;%PATH%
    To copy to clipboard, switch view to plain text mode 
    Do you have tryed "configure.exe -static -release -no-exceptions" in commandline? i think you dont have cygwin =)

Similar Threads

  1. Build static QT + static SSL problem.
    By makzimi in forum Qt Programming
    Replies: 3
    Last Post: 24th April 2012, 00:45
  2. configure qt, static build
    By terhje in forum Installation and Deployment
    Replies: 2
    Last Post: 16th February 2012, 19:49
  3. Replies: 1
    Last Post: 14th January 2010, 00:35
  4. Moving from QT 4.5 shared build to QT 4.5.2 static build
    By extrakun in forum Qt Programming
    Replies: 0
    Last Post: 26th October 2009, 10:49
  5. Can i build a static exe?
    By coder1985 in forum Qt Programming
    Replies: 3
    Last Post: 11th June 2008, 17:18

Tags for this Thread

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.