Qt Reference Documentation

mandelbrot.pro Example File

threads/mandelbrot/mandelbrot.pro
 HEADERS       = mandelbrotwidget.h \
                 renderthread.h
 SOURCES       = main.cpp \
                 mandelbrotwidget.cpp \
                 renderthread.cpp

 unix:!mac:!symbian:!vxworks:!integrity:LIBS += -lm

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/threads/mandelbrot
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS mandelbrot.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/threads/mandelbrot
 INSTALLS += target sources

 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
 maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)