From 8c0b01aa12d2881a9a31535077e9553ce9f37d04 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 17 Jul 2021 12:27:21 +1000 Subject: Added PLAT_QT_QML define for a Qt QML/Quick platform layer. https://github.com/mneuroth/SciTEQt --- doc/ScintillaHistory.html | 2 ++ src/Platform.h | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index c6261693d..84710410d 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -561,6 +561,8 @@ Petko Georgiev YX Hao Damiano Lombardi + + Michael Neuroth

Releases

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 -- cgit v1.2.3