2011-04-27 10:05:43 +00:00
|
|
|
#! [0]
|
|
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += plugin
|
2012-12-14 20:13:33 +00:00
|
|
|
QT += widgets
|
2011-04-27 10:05:43 +00:00
|
|
|
HEADERS = simplestyle.h \
|
|
|
|
simplestyleplugin.h
|
|
|
|
SOURCES = simplestyle.cpp \
|
|
|
|
simplestyleplugin.cpp
|
|
|
|
TARGET = simplestyleplugin
|
|
|
|
#! [0]
|
|
|
|
win32 {
|
|
|
|
CONFIG(debug, release|debug):DESTDIR = ../debug/styles/
|
|
|
|
CONFIG(release, release|debug):DESTDIR = ../release/styles/
|
|
|
|
} else {
|
|
|
|
DESTDIR = ../styles/
|
|
|
|
}
|
|
|
|
|
2012-11-27 19:40:16 +00:00
|
|
|
EXAMPLE_FILES += simplestyle.json
|
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
# install
|
2013-01-28 10:59:57 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/styleplugin/styles
|
2012-11-27 19:40:16 +00:00
|
|
|
INSTALLS += target
|
2016-04-20 16:50:12 +00:00
|
|
|
|
|
|
|
CONFIG += install_ok # Do not cargo-cult this!
|