[Qt4] Créer un project Qt4
Bonjour tout le monde, j'ai crée un projet Qt4 sous Code::Block.
Quand j'appuis sur F9 pour compiler et executé le code par defaut j'ai une erreur :
Dans l'onglet Build Log :
Code:
1 2 3 4 5 6 7 8
| -------------- Build: Debug in lol ---------------
Compiling: main.cpp
Linking console executable: bin\Debug\lol.exe
c:/program files/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: cannot find -lQtCore
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 1 seconds)
1 errors, 0 warnings |
Donc l'onglet Build message :
Code:
1 2 3
| ||=== lol, Debug ===|
ld.exe||cannot find -lQtCore|
||=== Build finished: 1 errors, 0 warnings ===| |
Pourquoi j'ai cette erreur ???
Ai-je besoin de configurer le projet ???
Merci à tous.
Timiti29
ps: j'ai code::block 10.05