Compile after removal of compatibility code in QtQuick.

qtdeclarative: f21e9ba6efa2b1c8169491db271f79b87b5b0ce4
removed QQuickCanvas.

Change-Id: Ica8ae4d816d1ca08f08d299cec741837a1a77c50
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Friedemann Kleint
2012-10-16 15:46:46 +02:00
committed by The Qt Project
parent 89ba86d7bc
commit a410276d0d
2 changed files with 4 additions and 4 deletions

View File

@@ -226,7 +226,7 @@ void tst_QDeclarativeVideoOutputWindow::initTestCase()
m_rootItem.reset(qobject_cast<QQuickItem *>(component.create()));
m_videoItem = m_rootItem->findChild<QQuickItem *>("videoOutput");
QVERIFY(m_videoItem);
m_rootItem->setParentItem(m_view.rootItem());
m_rootItem->setParentItem(m_view.contentItem());
m_videoItem->setProperty("source", QVariant::fromValue<QObject *>(&m_sourceObject));
m_windowControl.setNativeSize(QSize(400, 200));