diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2013-08-06 15:11:25 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2013-08-06 15:15:25 +0200 |
commit | 2e004b7367522437303c10ca5968c6c8670113ff (patch) | |
tree | 64ce1a6a97454f6bb25cb2232fc197fd36014f60 /src/plugins/projectexplorer/customtoolchain.cpp | |
parent | af4357b07c65f9ef1c0bdeb5c92476a3b4382487 (diff) |
CustomToolChain: Fix release builds for non-windows
Change-Id: I5f2b73088db2353c7f13875391f11763b66434be
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/projectexplorer/customtoolchain.cpp')
-rw-r--r-- | src/plugins/projectexplorer/customtoolchain.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/customtoolchain.cpp b/src/plugins/projectexplorer/customtoolchain.cpp index 57ad44fdbd..8e529987dc 100644 --- a/src/plugins/projectexplorer/customtoolchain.cpp +++ b/src/plugins/projectexplorer/customtoolchain.cpp @@ -201,7 +201,9 @@ IOutputParser *CustomToolChain::outputParser() const case Gcc: return new GccParser; case Clang: return new ClangParser; case LinuxIcc: return new LinuxIccParser; +#if defined(QT_OS_WIN) case Msvc: return new MsvcParser; +#endif default: return 0; } } @@ -343,7 +345,9 @@ QString CustomToolChain::parserName(CustomToolChain::OutputParser parser) case Gcc: return tr("GCC"); case Clang: return tr("Clang"); case LinuxIcc: return tr("ICC"); +#if defined(Q_OS_WIN) case Msvc: return tr("MSVC"); +#endif default: return QString(); } } |