Qt Reference Documentation

taskmenuextension.pro Example File

designer/taskmenuextension/taskmenuextension.pro
 TEMPLATE = lib
 TARGET   = $$qtLibraryTarget($$TARGET)
 CONFIG  += designer plugin
 QTDIR_build:DESTDIR  = $$QT_BUILD_TREE/plugins/designer

 HEADERS += tictactoe.h \
            tictactoedialog.h \
            tictactoeplugin.h \
            tictactoetaskmenu.h
 SOURCES += tictactoe.cpp \
            tictactoedialog.cpp \
            tictactoeplugin.cpp \
            tictactoetaskmenu.cpp

 # install
 target.path = $$[QT_INSTALL_PLUGINS]/designer
 sources.files = $$SOURCES $$HEADERS *.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/designer/taskmenuextension
 INSTALLS += target sources

 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
 maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)
 symbian: warning(This example does not work on Symbian platform)
 maemo5: warning(This example does not work on Maemo platform)
 simulator: warning(This example does not work on Simulator platform)