forked from qt-creator/qt-creator
QmlDesigner: Fix compile for auto tests
Amends ada0c6f405.
Change-Id: I5a092fca7e7ce95d62e36e0efd9135beabccfd65
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -371,7 +371,11 @@ QString PuppetCreator::qmlPuppetDirectory(PuppetType puppetType) const
|
|||||||
return qmlPuppetToplevelBuildDirectory() + '/' + QCoreApplication::applicationVersion()
|
return qmlPuppetToplevelBuildDirectory() + '/' + QCoreApplication::applicationVersion()
|
||||||
+ '/' + QString::fromLatin1(qtHash());
|
+ '/' + QString::fromLatin1(qtHash());
|
||||||
|
|
||||||
|
#ifndef QMLDESIGNER_TEST
|
||||||
return qmlPuppetFallbackDirectory(m_designerSettings);
|
return qmlPuppetFallbackDirectory(m_designerSettings);
|
||||||
|
#else
|
||||||
|
return QString();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
QString PuppetCreator::defaultPuppetFallbackDirectory()
|
QString PuppetCreator::defaultPuppetFallbackDirectory()
|
||||||
|
|||||||
Reference in New Issue
Block a user