[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#834543: [qtcreator] Compiler path ignored



Package: qtcreator
Version: 4.0.3-1
Severity: minor

--- Please enter the report below this line. ---

How to reproduce: In Tools->Options->Build & Run->Compilers select gcc and click Clone, then change the compiler path to /bin/cat. Change the kit's compiler to the newly cloned compiler and compile some .cpp file.
Expected outcome: Qt Creator calls /bin/cat on the .cpp file.
Actual outcome: Qt Creator calls g++ on the .cpp file.

This causes a real problem when you want to compile using clang++-3.8, because Qt Creator will always use g++ or clang++, ignoring the path set by the user.

Workaround: Set a symlink from the file Qt Creator expects to the file you actually want it to use. This breaks when packages are updated.

--- System information. ---
Architecture: amd64
Kernel:       Linux 4.6.0-1-amd64

Debian Release: stretch/sid
500 testing mirror.1und1.de 1 experimental mirror.1und1.de
--- Package information. ---
Depends                               (Version) | Installed
===============================================-+-================
libqt5sql5-sqlite                               | 5.6.1+dfsg-3+b1
qml-module-qtquick-controls         (>= 5.5.0~) | 5.6.1-2
qml-module-qtquick2                 (>= 5.5.0~) | 5.6.1-5
qtchooser                                       | 58-gfab25f1-1
qtcreator-data                      (= 4.0.3-1) | 4.0.3-1
libbotan-1.10-1                    (>= 1.10.12) | 1.10.12-1.1
libc6                                 (>= 2.14) | 2.23-4
libclang1-3.6                          (>= 3.6) | 1:3.6.2-3
libgcc1                              (>= 1:3.0) | 1:6.1.1-11
libqbscore1                          (>= 1.5.0) | 1.5.2+dfsg-1
libqbsqtprofilesetup1                (>= 1.2.1) | 1.5.2+dfsg-1
libqt5concurrent5                 (>= 5.6.0~rc) | 5.6.1+dfsg-3+b1
libqt5core5a                         (>= 5.6.1) | 5.6.1+dfsg-3+b1
libqt5designer5                 (>= 5.6.0~beta) | 5.6.1-2
libqt5designercomponents5       (>= 5.6.0~beta) | 5.6.1-2
libqt5gui5                          (>= 5.5.0~) | 5.6.1+dfsg-3+b1
libqt5help5                     (>= 5.6.0~beta) | 5.6.1-2
libqt5network5                      (>= 5.5.0~) | 5.6.1+dfsg-3+b1
libqt5printsupport5                 (>= 5.5.0~) | 5.6.1+dfsg-3+b1
libqt5qml5                           (>= 5.1.0) | 5.6.1-5
libqt5quick5                    (>= 5.6.0~beta) | 5.6.1-5
libqt5quickwidgets5                  (>= 5.5.0) | 5.6.1-5
libqt5sql5                          (>= 5.5.0~) | 5.6.1+dfsg-3+b1
libqt5webkit5                     (>= 5.6.0~rc) | 5.6.1+dfsg-4+b2
libqt5widgets5                  (>= 5.6.0~beta) | 5.6.1+dfsg-3+b1
libqt5xml5                          (>= 5.5.0~) | 5.6.1+dfsg-3+b1
libstdc++6                             (>= 5.2) | 6.1.1-11
qtdeclarative-abi-5-6-0                         |

Recommends                    (Version) | Installed
=======================================-+-===========
clang                                   | 1:3.6-33
gdb                                     | 7.11.1-2
make                                    | 4.1-9
qmlscene                                | 5.6.1-5
qt5-doc                                 | 5.6.1-1
qt5-qmltooling-plugins | qtbase5-dev-tools | 5.6.1+dfsg-3+b1
qtcreator-doc                           | 4.0.3-1
qtdeclarative5-dev-tools                | 5.6.1-5
qttools5-dev-tools                      | 5.6.1-2
qttranslations5-l10n                    | 5.6.1-2
qtxmlpatterns5-dev-tools                | 5.6.1-2
xterm                                   | 325-1
 OR x-terminal-emulator                 |

Suggests           (Version) | Installed
============================-+-===========
cmake                        | 3.5.2-2
g++                          | 4:6.1.1-1
git                          | 1:2.8.1-1
kdelibs5-data                | 4:4.14.22-2
subversion                   | 1.9.4-2


Reply to: