Skip to content
Snippets Groups Projects
Commit 90f9346a authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlDesigner: Fix standalone test to use qtcreator

parent e72c892a
No related branches found
No related tags found
No related merge requests found
...@@ -52,9 +52,9 @@ void loadFile(const QString &fileName) ...@@ -52,9 +52,9 @@ void loadFile(const QString &fileName)
qDebug() << "starting: " << fileName; qDebug() << "starting: " << fileName;
QVERIFY(QFileInfo(fileName).exists()); QVERIFY(QFileInfo(fileName).exists());
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
const QString bauhausExecutable = "bauhaus.exe"; const QString bauhausExecutable = "../../../../../bin/qtcreator.exe";
#else #else
const QString bauhausExecutable = QDir::current().absoluteFilePath("bauhaus"); const QString bauhausExecutable = QDir::current().absoluteFilePath("../../../../../bin/qtcreator.bin");
#endif #endif
QVERIFY(QFileInfo(bauhausExecutable).isExecutable()); QVERIFY(QFileInfo(bauhausExecutable).isExecutable());
process.start(bauhausExecutable, QStringList() << fileName); process.start(bauhausExecutable, QStringList() << fileName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment