Bonsoir tout le monde, je viens à vous pour vous demander de l'aide concernant la compilation sous VS 2010.
J'ai donc auparavant compiler QT pour ensuite créer un projet makefile avec VS tout en linkant les différents répertoires(lib, include...).
Le problème c'est quand je veux compiler le programme :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <QtGui/qapplication.h>
#include <QtGui/qpushButton.h>
 
int main(int argc, char *argv[])
{
	QApplication app(argc, argv);
 
	QPushButton bouton("Bonjour !");
	bouton.show();
 
	QObject::connect(&bouton, SIGNAL(clicked()), &app, SLOT(quit()));
 
	return app.exec();
}
le compilo m'affiche cette erreur :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
 
>------ Début de la génération*: Projet*: tutoqt, Configuration*: Debug Win32 ------
1>La génération a démarré 03/03/2011 23:54:56.
1>Build:
1>  'build' n'est pas reconnu en tant que commande interne
1>  ou externe, un programme exécutable ou un fichier de commandes.
1>  Usage: qmake [mode] [options] [files]
1>  
1>  QMake has two modes, one mode for generating project files based on
1>  some heuristics, and the other for generating makefiles. Normally you
1>  shouldn't need to specify a mode, as makefile generation is the default
1>  mode for qmake, but you may use this to test qmake on an existing project
1>  
1>  Mode:
1>    -project       Put qmake into project file generation mode
1>                   In this mode qmake interprets files as files to
1>                   be built,
1>                   defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.cpp; *.cc; *.cxx
1>                   Note: The created .pro file probably will 
1>                   need to be edited. For example add the QT variable to 
1>                   specify what modules are required.
1>    -makefile      Put qmake into makefile generation mode (default)
1>                   In this mode qmake interprets files as project files to
1>                   be processed, if skipped qmake will try to find a project
1>                   file in your current working directory
1>  
1>  Warnings Options:
1>    -Wnone         Turn off all warnings; specific ones may be re-enabled by
1>                   later -W options
1>    -Wall          Turn on all warnings
1>    -Wparser       Turn on parser warnings
1>    -Wlogic        Turn on logic warnings (on by default)
1>    -Wdeprecated   Turn on deprecation warnings (on by default)
1>  
1>  Options:
1>     * You can place any variable assignment in options and it will be     *
1>     * processed as if it was in [files]. These assignments will be parsed *
1>     * before [files].                                                     *
1>    -o file        Write output to file
1>    -d             Increase debug level
1>    -t templ       Overrides TEMPLATE as templ
1>    -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the value
1>    -help          This help
1>    -v             Version information
1>    -after         All variable assignments after this will be
1>                   parsed after [files]
1>    -norecursive   Don't do a recursive search
1>    -recursive     Do a recursive search
1>    -set <prop> <value> Set persistent property
1>    -query <prop>  Query persistent property. Show all if <prop> is empty.
1>    -cache file    Use file as cache           [makefile mode only]
1>    -spec spec     Use spec as QMAKESPEC       [makefile mode only]
1>    -nocache       Don't use a cache file      [makefile mode only]
1>    -nodepend      Don't generate dependencies [makefile mode only]
1>    -nomoc         Don't generate moc targets  [makefile mode only]
1>    -nopwd         Don't look for files in pwd [project mode only]
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: La commande "qmake & build" s'est arrêtée avec le code 9009.
1>
1>ÉCHEC de la build.
1>
1>Temps écoulé 00:00:00.08
========== Génération*: 0 a réu
Que puis-je faire pour palier à ce problème?