From d796c9dd933ab96ec83b9a634feedd5d32e1ba3f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 8 Nov 2011 12:31:36 -0600 Subject: Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731 --- 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 000000000..d234b19d0 --- /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
+
+    RETQUIRES = 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 +
TQt 3.3.8
+
+ -- cgit v1.2.1