diff options
author | Christian Stenger <christian.stenger@qt.io> | 2019-02-14 14:58:27 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2019-03-05 12:29:26 +0000 |
commit | f670e80c8839f2e354515935cfcc2fd0469e5544 (patch) | |
tree | a8aa1f0048764103c1db3036aa623e2004983c84 /README.md | |
parent | 495f98b25652b2e2c96b4fcfd19ebb088a371f98 (diff) |
TextEditor: Allow using KSyntaxHighlighting from system
Set KSYNTAXHIGHLIGHTING_LIB_DIR to the directory that
contains the KSyntaxHighlighting library file
(e.g. libKF5SyntaxHighlighting.{dll,dylib,so}).
This will use the respective files from there and its
related include files instead of the files provided by QC.
If deducing the include directory depending on the library
does not work you can additionally specify
KSYNTAXHIGHLIGHTING_INCLUDE_DIR as well.
Both variables can be set either as qmake variable or
environment variable.
Task-number: QTCREATORBUG-21980
Change-Id: Ie021489d930dfc46ad3e37f9fa02d09fa146ac87
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -49,6 +49,10 @@ You can build Qt Creator with export QBS_INSTALL_DIR=/path/to/qbs # Optional, needed for the Python enabled dumper on Windows set PYTHON_INSTALL_DIR=C:\path\to\python + # Optional, needed to use system KSyntaxHighlighting: + set KSYNTAXHIGHLIGHTING_LIB_DIR to folder holding the KSyntaxHighlighting library + # if automatic deducing of include folder fails set KSYNTAXHIGHLIGHTING_INCLUDE_DIR as well + # both variables can also be passed as qmake variables cd $SOURCE_DIRECTORY qmake -r |