Compilation avec Monkey Studio
Bonjour,
j'ai un petit problème avec Monkey studio.
Je travaille pour ce projet sous windows XP. J'ai installé Qt4 (open source), le compilateur MinGW, et pour finir Monkey studio.
Mon problème est que la compilation a l'air de bien se passer mis a part que, aucun exécutable est crée.
voici comment se termine la compilation
Code:
1 2 3 4 5 6 7
|
*** State changed to #0 (Not Running) for command: 'Build All'
********************************************************************************
* Finished : 'Build All'
* Exit Code : #2
* Status Code: #0The process exited normally.
******************************************************************************** |
Code:
1 2 3 4 5 6 7 8 9 10 11
|
*** State changed to Starting
mingw32-make -f Makefile.Release all mingw32-make[1]: Entering directory `C:/Documents and Settings/BTS/Bureau/testQT'
g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.3.4\include\QtCore" -I"..\..\..\..\Qt\4.3.4\include\QtCore" -I"..\..\..\..\Qt\4.3.4\include\QtGui" -I"..\..\..\..\Qt\4.3.4\include\QtGui" -I"..\..\..\..\Qt\4.3.4\include" -I"c:\Qt\4.3.4\include\ActiveQt" -I"build\release\.moc" -I".\build\release\.ui" -I"..\..\..\..\Qt\4.3.4\mkspecs\default" -o build\release\.obj\win32\yeah.o yeah.cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows -o release\CONFIG.exe build/release/.obj/win32/yeah.o -L"c:\Qt\4.3.4\lib" -lmingw32 -lqtmain -lQtGui4 -lQtCore4
c:\Qt\4.3.4\lib/libqtmain.a(qtmain_win.o)(.text+0x1f7):qtmain_win.cpp: undefined reference to `qMain(int, char**)'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release\CONFIG.exe] Error 1
mingw32-make[1]: Leaving directory `C:/Documents and Settings/BTS/Bureau/testQT'
mingw32-make: *** [release-all] Error 2
*** State changed to Not Running |
Les dossiers release et debug sont vides, de puis quand je passe par l'interface monkey studio, il me dis qu'il trouve pas les fichiers compilés.
Le code du main
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#include <QApplication>
int main( int argc, char** argv )
{
// create application
QApplication app( argc, argv );
// init application
app.setApplicationName( "testy" );
// connection
QObject::connect( &app, SIGNAL( lastWindowClosed() ), &app, SLOT( quit() ) );
// start application
return app.exec();
} |
Avez-vous une idée ?
Edit : Oups je me suis trompé de section désolé, si il y a un modérateur pour le déplacer merci :)