Results 1 to 3 of 3

Thread: Qt 4.3.2 + eclipse 3.3 first project building

  1. #1

    Default Qt 4.3.2 + eclipse 3.3 first project building

    Hello,

    I try to build the AdressBook example from Trolltech, but I can't build the project I create with QtGui Wizard. I Don't add anything in the source code. This is the really first build.

    Perhaps a Mingw32 problem? or Eclipse? Or Qt configuration? I'm new with Eclipse, and know only VC++6. I would like to try Eclipse with Qt, instead of VC++/MFC.

    Thank you for your help.

    Here is my my console message:

    mingw32-make
    mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory `D:/Christophe/PROJETS-INFO/AdressBook'
    d:\qt\4.3.2\bin\uic.exe adressbook.ui -o ui_adressbook.h
    g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\qt\4.3.2\include\QtCore" -I"..\..\..\qt\4.3.2\include\QtCore" -I"..\..\..\qt\4.3.2\include\QtGui" -I"..\..\..\qt\4.3.2\include\QtGui" -I"..\..\..\qt\4.3.2\include" -I"..\..\..\qt\4.3.2\include\ActiveQt" -I"debug" -I"." -I"..\..\..\qt\4.3.2\mkspecs\win32-g++" -o debug\main.o main.cpp
    mingw32-make[1]: *** [debug\main.o] Error 1
    mingw32-make[1]: Leaving directory `D:/Christophe/PROJETS-INFO/AdressBook'
    mingw32-make: *** [debug] Error 2

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.3.2 + eclipse 3.3 first project building

    I see you're building the debug version. This only works if you have Qt compiled in debug mode.

  3. #3

    Default Re: Qt 4.3.2 + eclipse 3.3 first project building

    I can compile very well address book example in a command window, with code source generated with Eclipse, but not directly with "build project" eclipsemenu command. So i think my QT configuration is ok. What can be the problem?

Similar Threads

  1. Building the entire project
    By vermarajeev in forum Qt Programming
    Replies: 14
    Last Post: 28th February 2007, 03:00
  2. Howto use Eclipse with QT4 in 10 steps
    By the_bis in forum Newbie
    Replies: 3
    Last Post: 28th January 2007, 20:21

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.