summaryrefslogtreecommitdiff
path: root/src/qhexeditplugin.pro
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-07-07 12:37:21 +0200
committerToni Uhlig <matzeton@googlemail.com>2023-07-07 12:37:21 +0200
commit004b73ed7ef33cb407897f7eccbec5f3861f99d7 (patch)
tree590f4a80bb66fcc74452c9ae0ac824b7d4bc5871 /src/qhexeditplugin.pro
Squashed 'qhexedit2/' content from commit 7f22526
git-subtree-dir: qhexedit2 git-subtree-split: 7f22526a86685aec1c5722154b8a7422d5037b77
Diffstat (limited to 'src/qhexeditplugin.pro')
-rw-r--r--src/qhexeditplugin.pro40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/qhexeditplugin.pro b/src/qhexeditplugin.pro
new file mode 100644
index 0000000..2f05e1a
--- /dev/null
+++ b/src/qhexeditplugin.pro
@@ -0,0 +1,40 @@
+#! [0] #! [1]
+greaterThan(QT_MAJOR_VERSION, 4) {
+ QT += widgets uiplugin
+}
+
+lessThan(QT_MAJOR_VERSION, 5) {
+ CONFIG += designer
+}
+
+CONFIG += plugin
+#! [0]
+TARGET = $$qtLibraryTarget($$TARGET)
+#! [2]
+TEMPLATE = lib
+#! [1] #! [2]
+QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/designer
+
+#! [3]
+HEADERS = \
+ qhexedit.h \
+ chunks.h \
+ commands.h \
+ QHexEditPlugin.h
+
+
+SOURCES = \
+ qhexedit.cpp \
+ chunks.cpp \
+ commands.cpp \
+ QHexEditPlugin.cpp
+
+#! [3]
+
+# install
+target.path = $$[QT_INSTALL_PLUGINS]/designer
+sources.files = $$SOURCES $$HEADERS *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/designer/QHexEditPlugin
+INSTALLS += target
+
+symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)