Qt® documentation version 3.2

All classes: Documentation index
Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

The Project File

Jump to comments or Add a new comment

(chart.pro.)

    TEMPLATE = app
    CONFIG  += warn_on

    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 © 2003 Trolltech Trademarks
Qt version 3.2.0

User contributed comments for tutorial2-10 Back to top Add a note
Comments are owned by the poster. For suggestions and info, contact the webmaster.