From bd0f3345a938b35ce6a12f6150373b0955b8dd12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 10 Jul 2011 15:24:15 -0500 Subject: Add Qt3 development HEAD version --- doc/html/tutorial2-10.html | 81 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 doc/html/tutorial2-10.html (limited to 'doc/html/tutorial2-10.html') diff --git a/doc/html/tutorial2-10.html b/doc/html/tutorial2-10.html new file mode 100644 index 0000000..2a61b4d --- /dev/null +++ b/doc/html/tutorial2-10.html @@ -0,0 +1,81 @@ + + + + + +The Project File + + + + + + + +
+ +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

The Project File

+ + +

+

(chart.pro.) +

+ +

    TEMPLATE = app
+
+    CONFIG  += warn_on
+
+    REQUIRES = full-config
+
+    HEADERS += element.h \
+               canvastext.h \
+               canvasview.h \
+               chartform.h \
+               optionsform.h \
+               setdataform.h
+    SOURCES += element.cpp \
+               canvasview.cpp \
+               chartform.cpp \
+               chartform_canvas.cpp \
+               chartform_files.cpp \
+               optionsform.cpp \
+               setdataform.cpp \
+               main.cpp
+
+

By using a project file we can insulate ourselves from having to +create Makefiles for the platforms we wish to target. To generate a +Makefile all we need do is run qmake, +e.g. +

+qmake -o Makefile chart.pro
+
+ +

+« Setting Options | +Contents | +Wrapping Up » +

+

+ +


+ +
Copyright © 2007 +TrolltechTrademarks +
Qt 3.3.8
+
+ -- cgit v1.2.3