/*
- * Pour compiler
- * =============
+ * Pour compiler et exécuter
+ * =========================
*
- * 1. Créer le fichier hello.pro :
- * +------------------------------------------------------------+
- * |TARGET = hello |
- * |CONFIG += qt debug |
- * |SOURCES += hello.cc |
- * +------------------------------------------------------------+
+ * 1. Créer le fichier exemple.pro :
+ * ,----
+ * |TEMPLATE = app
+ * |TARGET = exemple
+ * |CONFIG += qt
+ * |CONFIG += debug
+ * |HEADERS += DrawingWindow.h
+ * |SOURCES += DrawingWindow.cpp
+ * |SOURCES += exemple.cpp
+ * `----
*
- * 2. Créer le fichier Makefile avec la commande :
- * $ qmake -makefile hello.pro
+ * 2. Créer le fichier Makefile avec la commande :
+ * $ qmake-qt4 exemple.pro
* ou tout simplement :
- * $ qmake -makefile
+ * $ qmake-qt4
*
* 3. Compiler avec la commande :
- * $ make hello
- * ou tou simplement :
+ * $ make exemple
+ * ou tout simplement :
* $ make
+ *
+ * 4. Exécuter le programme avec la commande :
+ * $ ./exemple
*/
-
#include <QApplication>
#include <DrawingWindow.h>
#include <algorithm>