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
TQt 3.3.8