summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-06-08 08:37:53 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-06-08 08:37:53 (GMT)
commitbef94a1bf85afc5320b38cad65f15dc23432040a (patch)
treece14194aa2cc0a691752ac4d91723c2888f9525d /src/testlib
parentf8a2c8f559fb484b04ae22948b2bcc2f61015588 (diff)
downloadQt-bef94a1bf85afc5320b38cad65f15dc23432040a.zip
Qt-bef94a1bf85afc5320b38cad65f15dc23432040a.tar.gz
Qt-bef94a1bf85afc5320b38cad65f15dc23432040a.tar.bz2
Fix linking on Windows
Need to move the extern declaration out of the QtTest namespace
Diffstat (limited to 'src/testlib')
-rw-r--r--src/testlib/qtesttouch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testlib/qtesttouch.h b/src/testlib/qtesttouch.h
index 50c3dd3..f977564 100644
--- a/src/testlib/qtesttouch.h
+++ b/src/testlib/qtesttouch.h
@@ -62,6 +62,8 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Test)
+extern Q_GUI_EXPORT bool qt_translateRawKeyEvent(const QList<QTouchEvent::TouchPoint> &touchPoints, QWidget *window);
+
namespace QTest
{
@@ -123,7 +125,6 @@ namespace QTest
}
void commit()
{
- extern Q_GUI_EXPORT bool qt_translateRawKeyEvent(const QList<QTouchEvent::TouchPoint> &touchPoints, QWidget *window);
if (!qt_translateRawKeyEvent(points.values(), targetWidget))
QTest::qWarn("Touch event not accepted by receiving widget");
targetWidget = 0;