Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
Qt Creator 2.4.0
-
e7c118c70959ddce2f102ef31bf036f61c8135a8
Description
When I added the toolchain contained with compiler arm-meego-linux-gnueabi-gcc, Qt Creator detected it as:
arm-linux-meego-elf-32bit
However, when I added a Qt version built with that compiler, Qt Creator insists that there's no toolchain that can build it.
Inspecting the code, it turns out that the QtCore binrary is detected as "arm-linux-generic-elf-32bit". After all, there's no encoding in the ELF header for the MeeGo, Harmattan or Maemo flavours. But that means the ABI comparison (ProjectExplorer::Abi::isCompatibleWith) fails.
The code in isCompatibleWith accepts has a comment saying "// linux-generic is compatible with linux", however the comparison is inverted. The toolchain isn't generic.
Attachments
For Gerrit Dashboard: QTCREATORBUG-5960 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
4281,2 | ABI: Improve tool chain selection for Qt projects | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
4521,3 | ABI: Make "linux-generic" ABIs compatible with "linux-*" | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |