LoginSignup
3
0

More than 3 years have passed since last update.

QtCreatorでコンパイラのバージョンを指定したかった

Last updated at Posted at 2019-06-10

環境

Ubuntu18.04
QtCreator4.9.1

問題

QtCreatorでツール->オプション->Kits->キットの中で使用したいコンパイラを切り替えても(例えばg++-8)GCCであればg++,Clangであればclang++が使われてしまう。

下の方にCMake設定があるがCMAKE_CXX_COMPILERを書き換えてもどうも無視される模様。

対処法

とりあえずupdate-alternativeでg++をすり替えることで対処できた

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0