• Tobias Hunger's avatar
    ProjectExplorer: Do not prepend compiler path to PATH everywhere! · 10cb0b77
    Tobias Hunger authored
    Do not unconditionally prepend the (c++) compiler path to PATH for
    all projects using GCC-derived toolchains.
    
    Prepend the compiler path in the Qmake- and GenericBuildConfigurations
    instead.
    
    Also change the order: Apply buildconfiguration's addToEnvironment first,
    only then apply the kit's addToEnvironment.
    
    This does change a few things:
     * CMake and Qbs will now get the normal PATH
     * MSVC compilers will have their compiler path prepended to PATH
       by the effected BuildConfigurations. This should be harmless,
       since that happens before the environment setup script is appended.
    
    Task-number: QTCREATORBUG-18714
    Change-Id: I548182bc447d80d24f4de4ce7cf12ee1a753ed26
    Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
    10cb0b77
Name
Last commit
Last update
bin Loading commit data...
dist Loading commit data...
doc Loading commit data...
qbs Loading commit data...
scripts Loading commit data...
share Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
HACKING Loading commit data...
LICENSE.GPL3-EXCEPT Loading commit data...
README.md Loading commit data...
docs.pri Loading commit data...
qtcreator.pri Loading commit data...
qtcreator.pro Loading commit data...
qtcreator.qbs Loading commit data...
qtcreatordata.pri Loading commit data...