diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-02-15 18:25:47 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-19 23:22:33 +0100 |
commit | 8e949e741bab0ee084444bb176a57ad61deb0f3f (patch) | |
tree | 81e30f6f7fc5cb6d717152000801bd700ef4e08b /tests/auto/quick/qquicktextdocument/qquicktextdocument.pro | |
parent | 97724fb418a507eea6b7c88857c1b300fd0d3515 (diff) |
Add QQuickTextDocument
Adding QQuickTextDocument as a way to
access the QTextDocument of QQuickTextEdit from C++.
This makes it possible to use a
QSyntaxHighlighter from C++ without exposing more
than one single qml property in the TextEdit.
Change-Id: If1790b591493adcb0b68aef0c8ca706e00450657
Reviewed-by: Alan Alpert <aalpert@rim.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'tests/auto/quick/qquicktextdocument/qquicktextdocument.pro')
-rw-r--r-- | tests/auto/quick/qquicktextdocument/qquicktextdocument.pro | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktextdocument/qquicktextdocument.pro b/tests/auto/quick/qquicktextdocument/qquicktextdocument.pro new file mode 100644 index 0000000000..e6bfdbd099 --- /dev/null +++ b/tests/auto/quick/qquicktextdocument/qquicktextdocument.pro @@ -0,0 +1,15 @@ +CONFIG += testcase +TARGET = tst_qquicktextdocument +macx:CONFIG -= app_bundle + +SOURCES += tst_qquicktextdocument.cpp + +include (../../shared/util.pri) + +TESTDATA = data/* + +CONFIG += parallel_test + +QT += core-private gui-private qml-private quick-private testlib +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 + |