QtDeclarative: Fix building of tests on Windows.
Export inner classes, add missing module. Change-Id: Iabc69ac5f08b70ade994c26d36bd08359fa71137 Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
This commit is contained in:
parent
24d4cfc078
commit
fab28e8158
|
@ -69,7 +69,7 @@ public:
|
|||
static void registerGcPrologueCallback();
|
||||
static void releaseWorkerThreadGcPrologueCallbackData();
|
||||
|
||||
class Referencer {
|
||||
class Q_AUTOTEST_EXPORT Referencer {
|
||||
public:
|
||||
~Referencer();
|
||||
void addRelationship(QObject *object, v8::Persistent<v8::Value> handle);
|
||||
|
@ -81,7 +81,7 @@ public:
|
|||
friend class QV8GCCallback::ThreadData;
|
||||
};
|
||||
|
||||
class Node {
|
||||
class Q_AUTOTEST_EXPORT Node {
|
||||
public:
|
||||
typedef void (*PrologueCallback)(Referencer *r, Node *node);
|
||||
Node(PrologueCallback callback);
|
||||
|
|
|
@ -10,4 +10,4 @@ DEPLOYMENT += testDataFiles
|
|||
|
||||
CONFIG += parallel_test
|
||||
CONFIG += insignificant_test #QTBUG-22807
|
||||
QT += core-private gui-private v8-private declarative-private opengl-private testlib
|
||||
QT += core-private gui-private v8-private declarative-private opengl-private testlib widgets
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#include <QFile>
|
||||
#include <QtDeclarative/qquickview.h>
|
||||
#include <QtGui/qguiapplication.h>
|
||||
#include <QtGui/qstylehints.h>
|
||||
#include <QInputPanel>
|
||||
#include <private/qquicktextinput_p.h>
|
||||
#include <private/qquicktextinput_p_p.h>
|
||||
|
@ -2659,7 +2660,7 @@ void tst_qquicktextinput::tripleClickSelectsAll()
|
|||
// And now we press the third click too late, so no triple click event is triggered.
|
||||
QTest::mouseDClick(&view, Qt::LeftButton, 0, pointInside);
|
||||
QGuiApplication::processEvents();
|
||||
QTest::qWait(QApplication::doubleClickInterval() + 1);
|
||||
QTest::qWait(qApp->styleHints()->mouseDoubleClickInterval() + 1);
|
||||
QTest::mouseClick(&view, Qt::LeftButton, 0, pointInside);
|
||||
QGuiApplication::processEvents();
|
||||
QVERIFY(input->selectedText().isEmpty());
|
||||
|
|
Loading…
Reference in New Issue