Commit b144de97 authored by Christian Stenger's avatar Christian Stenger

Corrected lookup for qmlviewer on Windows

Change-Id: I4ebb87bca34aba07ef5fd408cf5481d8cb10ecf6
Reviewed-on: http://codereview.qt.nokia.com/4264Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarKai Koehne <kai.koehne@nokia.com>
parent 0594887d
......@@ -543,8 +543,10 @@ QString BaseQtVersion::findQtBinary(BINARIES binary) const
QStringList possibleCommands;
switch (binary) {
case QmlViewer:
#ifdef Q_OS_MAC
#if defined(Q_OS_MAC)
possibleCommands << QLatin1String("QMLViewer");
#elif defined(Q_OS_WIN)
possibleCommands << QLatin1String("qmlviewer.exe");
#else
possibleCommands << QLatin1String("qmlviewer");
#endif
......
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