aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktext
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-04-19 17:31:32 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-20 00:41:12 +0200
commit2467652d63ad6395b58926f8e32e75fba430540c (patch)
tree7729516bc127f66a3b655f8218b148e74d46f5f8 /tests/auto/quick/qquicktext
parentd4eb0e4531453064e00626b4615c044997949fba (diff)
QtDeclarative: No longer use QDeclarative compatibility defines.
Change-Id: Icbd9777cf1d978468c8023712ed90cd3c7dda56f Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'tests/auto/quick/qquicktext')
-rw-r--r--tests/auto/quick/qquicktext/tst_qquicktext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquicktext/tst_qquicktext.cpp b/tests/auto/quick/qquicktext/tst_qquicktext.cpp
index a31b30dc60..125e056dad 100644
--- a/tests/auto/quick/qquicktext/tst_qquicktext.cpp
+++ b/tests/auto/quick/qquicktext/tst_qquicktext.cpp
@@ -1688,7 +1688,7 @@ void tst_qquicktext::boundingRect()
{
QFETCH(QString, format);
- QDeclarativeComponent component(&engine);
+ QQmlComponent component(&engine);
component.setData("import QtQuick 2.0\n Text { textFormat:" + format.toUtf8() + "}", QUrl());
QScopedPointer<QObject> object(component.create());
QQuickText *text = qobject_cast<QQuickText *>(object.data());