summaryrefslogtreecommitdiffstats
path: root/tests/auto/qregion
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-08-21 13:24:17 (GMT)
committerhjk <qtc-committer@nokia.com>2009-08-21 16:01:15 (GMT)
commit2590135cd8542aa780141b67ab8fa4227ee4fde0 (patch)
tree52d38fb17d41b2a7bf5363f20637cef69cb0cae7 /tests/auto/qregion
parentd0a1f4de851eb89665b0a3909adcfe150118bc77 (diff)
downloadQt-2590135cd8542aa780141b67ab8fa4227ee4fde0.zip
Qt-2590135cd8542aa780141b67ab8fa4227ee4fde0.tar.gz
Qt-2590135cd8542aa780141b67ab8fa4227ee4fde0.tar.bz2
make moc, qregion and qsharedpointer autotest compile with namespaces
Diffstat (limited to 'tests/auto/qregion')
-rw-r--r--tests/auto/qregion/tst_qregion.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/qregion/tst_qregion.cpp b/tests/auto/qregion/tst_qregion.cpp
index 8c49146..063b024 100644
--- a/tests/auto/qregion/tst_qregion.cpp
+++ b/tests/auto/qregion/tst_qregion.cpp
@@ -965,10 +965,15 @@ void tst_QRegion::regionToPath_data()
}
}
+#ifdef QT_BUILD_INTERNAL
+QT_BEGIN_NAMESPACE
+extern QPainterPath qt_regionToPath(const QRegion &region);
+QT_END_NAMESPACE
+#endif
+
void tst_QRegion::regionToPath()
{
#ifdef QT_BUILD_INTERNAL
- extern QPainterPath qt_regionToPath(const QRegion &region);
QFETCH(QPainterPath, path);