summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/styleplugin/plugin/plugin.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/tools/styleplugin/plugin/plugin.pro')
-rw-r--r--examples/widgets/tools/styleplugin/plugin/plugin.pro25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/widgets/tools/styleplugin/plugin/plugin.pro b/examples/widgets/tools/styleplugin/plugin/plugin.pro
new file mode 100644
index 0000000000..c13af5a36c
--- /dev/null
+++ b/examples/widgets/tools/styleplugin/plugin/plugin.pro
@@ -0,0 +1,25 @@
+#! [0]
+TEMPLATE = lib
+CONFIG += plugin
+HEADERS = simplestyle.h \
+ simplestyleplugin.h
+SOURCES = simplestyle.cpp \
+ simplestyleplugin.cpp
+OTHER_FILES += simplestyle.json
+TARGET = simplestyleplugin
+#! [0]
+win32 {
+ CONFIG(debug, release|debug):DESTDIR = ../debug/styles/
+ CONFIG(release, release|debug):DESTDIR = ../release/styles/
+} else {
+ DESTDIR = ../styles/
+}
+
+# install
+target.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin/styles
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS plugin.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin/plugin
+INSTALLS += target sources
+
+
+QT += widgets