diff options
author | Neil <nyamatongwe@gmail.com> | 2021-07-17 12:27:21 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-07-17 12:27:21 +1000 |
commit | 8c0b01aa12d2881a9a31535077e9553ce9f37d04 (patch) | |
tree | b6a671d1bf2b9bcc71110c2c37ab7befb97f4dc2 | |
parent | bea9d7216879bc80a8513d3374a931cba14f6951 (diff) | |
download | scintilla-mirror-8c0b01aa12d2881a9a31535077e9553ce9f37d04.tar.gz |
Added PLAT_QT_QML define for a Qt QML/Quick platform layer.
https://github.com/mneuroth/SciTEQt
-rw-r--r-- | doc/ScintillaHistory.html | 2 | ||||
-rw-r--r-- | src/Platform.h | 5 |
2 files changed, 7 insertions, 0 deletions
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 @@ <td>Petko Georgiev</td> <td>YX Hao</td> <td>Damiano Lombardi</td> + </tr><tr> + <td>Michael Neuroth</td> </tr> </table> <h2>Releases</h2> 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 |