aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-07-17 12:27:21 +1000
committerNeil <nyamatongwe@gmail.com>2021-07-17 12:27:21 +1000
commit8c0b01aa12d2881a9a31535077e9553ce9f37d04 (patch)
treeb6a671d1bf2b9bcc71110c2c37ab7befb97f4dc2 /src
parentbea9d7216879bc80a8513d3374a931cba14f6951 (diff)
downloadscintilla-mirror-8c0b01aa12d2881a9a31535077e9553ce9f37d04.tar.gz
Added PLAT_QT_QML define for a Qt QML/Quick platform layer.
https://github.com/mneuroth/SciTEQt
Diffstat (limited to 'src')
-rw-r--r--src/Platform.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Platform.h b/src/Platform.h
index 3f25f343f..10c63dd23 100644
--- a/src/Platform.h
+++ b/src/Platform.h
@@ -22,6 +22,7 @@
#define PLAT_WIN 0
#define PLAT_WX 0
#define PLAT_QT 0
+#define PLAT_QT_QML 0
#define PLAT_FOX 0
#define PLAT_CURSES 0
#define PLAT_TK 0
@@ -47,6 +48,10 @@
#undef PLAT_QT
#define PLAT_QT 1
+#elif defined(SCINTILLA_QT_QML)
+#undef PLAT_QT_QML
+#define PLAT_QT_QML 1
+
#elif defined(TK)
#undef PLAT_TK
#define PLAT_TK 1