QmlDesigner: Fix standalone test to use qtcreator

This commit is contained in:
Kai Koehne
2010-03-18 11:22:16 +01:00
parent e72c892a52
commit 90f9346ad3

View File

@@ -52,9 +52,9 @@ void loadFile(const QString &fileName)
qDebug() << "starting: " << fileName;
QVERIFY(QFileInfo(fileName).exists());
#ifdef Q_OS_WIN
const QString bauhausExecutable = "bauhaus.exe";
const QString bauhausExecutable = "../../../../../bin/qtcreator.exe";
#else
const QString bauhausExecutable = QDir::current().absoluteFilePath("bauhaus");
const QString bauhausExecutable = QDir::current().absoluteFilePath("../../../../../bin/qtcreator.bin");
#endif
QVERIFY(QFileInfo(bauhausExecutable).isExecutable());
process.start(bauhausExecutable, QStringList() << fileName);