Commit 90f9346a authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlDesigner: Fix standalone test to use qtcreator

parent e72c892a
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment