Results 1 to 4 of 4

Thread: problem with debug version compilation 4.3.1

  1. #1
    Join Date
    May 2006
    Posts
    7
    Thanks
    2

    Default problem with debug version compilation 4.3.1

    I installed Qt-4.3.1-mingw under winxp, and there are errors list below while I compiled the debug version. Need help. Thank so much.

    cd src\winmain\ && mingw32-make -f Makefile
    mingw32-make[1]: Entering directory `C:/Qt/4.3.1/src/winmain'
    mingw32-make -f Makefile.Debug all
    Makefile.Debug:116: *** multiple target patterns. Stop.
    mingw32-make[2]: Entering directory `C:/Qt/4.3.1/src/winmain'
    mingw32-make[2]: Leaving directory `C:/Qt/4.3.1/src/winmain'
    mingw32-make[1]: *** [debug-all] Error 2
    mingw32-make[1]: Leaving directory `C:/Qt/4.3.1/src/winmain'
    mingw32-make: *** [sub-winmain-make_default-ordered] Error 2

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: problem with debug version compilation 4.3.1

    Did you manage to solve the problem yet? Did you use the "Build Debug Libraries" -shortcut provided in start menu?
    J-P Nurmi

  3. #3
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem with debug version compilation 4.3.1

    This is a common error when the environment variables LIB and INCLUDE are set to some msvc specific paths - since Qt 4.3.0 qmake uses those paths. MSVC6 did this, MSVC 7 and above are smarter (ok, just a little bit, but smart enough that this error does not occour).
    Just set the both env vars to empty and rerun qmake.

  4. #4
    Join Date
    Nov 2007
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: problem with debug version compilation 4.3.1

    Hi all,

    after i removed the environment variable Lib and Include, executed qmake and configure debug library again, it ran a bit more and gave me this error:

    mingw32-make[2]: *** [tmp\obj\debug_shared\qwindowsvistastyle.o] Error 1
    mingw32-make[2]: Leaving directory `C:/QT/4.3.2/src/gui'
    mingw32-make[1]: *** [debug] Error 2
    mingw32-make[1]: Leaving directory `C:/QT/4.3.2/src/gui'
    mingw32-make: *** [debug-C__Qt_4_3_2_src_gui] Error 2

    Does s.o. know how to fix it

    Thanks so much.

    minhtu

Similar Threads

  1. Distributing QT application for Mac OS
    By mb0 in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2007, 18:59
  2. Replies: 15
    Last Post: 21st April 2007, 17:46
  3. Replies: 6
    Last Post: 10th November 2006, 10:38

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.