Results 1 to 3 of 3

Thread: Qt 4.8.3 compile errors statically

  1. #1
    Join Date
    Dec 2009
    Posts
    15
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows

    Default Qt 4.8.3 compile errors statically

    Hi all,

    I try to compile Qt 4.8.3 with MinGW on Windows 7 Professional. I follow the http://qt-project.org/wiki/How_to_bu...ndows_with_gcc. But the following errors has been thrown after I run "mingw32-make". Is there anyone who encountered with such problem? What can the problem be?

    mingw32-make[2]: *** [tmp/obj/release_static/qisciicodec.o] Error 1
    mingw32-make[2]: Leaving directory 'C:/QtSTATIC/4.8.3/src/tools/bootstrap'
    mingw32-make[1]: *** [release] Error 2
    mingw32-make[1]: Leaving directory 'C:/QtSTATIC/4.8.3/src/tools/bootstrap'
    mingw32-make: *** [sub-tools-bootstrap-make_default-ordered] Error 2

    Thanks advance for your helps and explanations,

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.8.3 compile errors statically

    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  3. #3
    Join Date
    Dec 2009
    Posts
    15
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows

    Default [Solved] Qt 4.8.3 compile errors statically

    The environment variables INCLUDE/LIB/LIBPATH/PATH have been set for Visual Studio compiler and I’ve realised it is the source of this error.
    This problem has been solved after I’ve removed the ones related to Visual Studio compiler from the environment variables.
    The disscussion at link http://qt-project.org/forums/viewthread/9192 has been very helpful to understand this problem.

    Thanks,

Similar Threads

  1. How to statically compile my project with Qt on Linux
    By pellyhawk in forum Qt Programming
    Replies: 11
    Last Post: 2nd July 2012, 14:49
  2. how to compile phonon-backend statically on linux?
    By berlinud in forum Installation and Deployment
    Replies: 2
    Last Post: 27th August 2010, 18:06
  3. how to statically compile a program with qt libs?linux platform
    By berlinud in forum Installation and Deployment
    Replies: 8
    Last Post: 27th August 2010, 16:38
  4. Compile Qt for Mac statically
    By eric in forum Installation and Deployment
    Replies: 4
    Last Post: 19th August 2008, 15:45
  5. Qt 4.1 - compile regular DLL statically
    By Elder Orb in forum Qt Programming
    Replies: 2
    Last Post: 11th January 2006, 09:28

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.