Qt 4.4: customwidgetplugin.pro Example File (designer/customwidgetplugin/customwidgetplugin.pro)

|  | Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# customwidgetplugin.pro Example File
designer/customwidgetplugin/customwidgetplugin.pro

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

     HEADERS     = analogclock.h \
                   customwidgetplugin.h
     SOURCES     = analogclock.cpp \
                   customwidgetplugin.cpp

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