Use new plugin system in qtbase.
[profile/ivi/qtbase.git] / examples / tools / styleplugin / plugin / plugin.pro
1 #! [0]
2 TEMPLATE    = lib
3 CONFIG     += plugin
4 HEADERS     = simplestyle.h \
5               simplestyleplugin.h
6 SOURCES     = simplestyle.cpp \
7               simplestyleplugin.cpp
8 OTHER_FILES += simplestyle.json
9 TARGET      = simplestyleplugin
10 #! [0]
11 win32 {
12     CONFIG(debug, release|debug):DESTDIR = ../debug/styles/
13     CONFIG(release, release|debug):DESTDIR = ../release/styles/
14 } else {
15     DESTDIR = ../styles/
16 }
17
18 # install
19 target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/styleplugin/styles
20 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS plugin.pro
21 sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/styleplugin/plugin
22 INSTALLS += target sources
23
24
25 QT += widgets