The plugin was not found since it was in the Release/Debug
subfolder, respectively.
Task-number: QTBUG-28611
Change-Id: Ieaea7c67e2524a7d0ca3011d96f31b15929e551c
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
SOURCES += plugin.cpp
QT = core qml
+DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
engine.addImportPath(testFile("imports"));
QQmlComponent component(&engine, testFileUrl("import.qml"));
- QVERIFY(component.isReady());
+ QVERIFY2(component.isReady(), QQmlDataTest::msgComponentError(component, &engine));
QObject *o = component.create();
QVERIFY(o != 0);