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

Bug#834543: Won't fix



tag 834543 wontfix
thanks

Hi! Upstream just replied with two very detailed explanations on why this 
can't be fully fixed:

<https://bugreports.qt.io/browse/QTCREATORBUG-20373?
focusedCommentId=402638&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
tabpanel#comment-402638>

  Eike Ziller added a comment - 7 hours ago
  If this is with QMake projects: This is difficult, so we don't try. The
  compiler setting is foremost a setting for the code model, and the project
  support implementations try their best to get the build system to use that
  compiler.

  QMake defines the compiler through mkspecs. Qt Creator tries to use a mkspec
  that is appropriate for the compiler, and afaik also adds the PATH to the
  location of the C++ compiler in the kit. That works as long as the compiler
  name is the same as one of the supported mkspecs in Qt/QMake.

  For CMake and Qbs projects, Qt Creator can point the build system directly
  to the respective compilers, so there it should work.

And: <https://bugreports.qt.io/browse/QTCREATORBUG-20373?
focusedCommentId=402746&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
tabpanel#comment-402746>

  Tobias Hunger:
  CMake and qbs projects take the compiler settings into account.

  The other build systems do not: There the information set in the kit is used
  only to inform the build system about the compiler specific settings and the
  user is responsible to make sure the actual build system and Qt Creator
  agree on the compiler being used:-/

  Qmake is in a strange in-between place: Creator will switch mkspecs passed
  to qmake based on the toolchain used. So switching between g++ and clang++
  works – provided that the binaries are called "g+" and "clang+" and found in
  PATH. Unfortunately there is no reliable way to do more than that as qmake
  may or may not (based on the mkspec being used) ignore whatever is passed as
  compiler path from the outside.

  Recent creator versions at least warn when qmake and Qt Creator disagree on
  the toolchain being used.

So I'm afraid I am forced to mark this bug as wontfix.

Kinds regards, Lisandro.

-- 
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the world.
  -- seen on the net

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: