diff options
author | James McDonnell <jmcdonnell@blackberry.com> | 2016-12-06 08:35:51 -0500 |
---|---|---|
committer | James McDonnell <jmcdonnell@blackberry.com> | 2017-01-18 12:37:54 +0000 |
commit | aa7d1ec296501c7ca6956d9532769f64735da2a8 (patch) | |
tree | 33dab9d1359b95f3340722b73004adcc5ef38460 /src/plugins/qnx/qnxtoolchain.cpp | |
parent | 4133404f2bd5f599a5db232925caf700acbd9d3d (diff) | |
download | qt-creator-aa7d1ec296501c7ca6956d9532769f64735da2a8.tar.gz |
Add support for 64-bit QNX platforms
Change the code so that it detects a lot things that were previously
hard-coded.
Replace QnxArchitecture with Abi. There doesn't appear to be a good
reason to have a separate type.
The removal of Arch from qtversion.xml breaks backward compatibility.
Change-Id: Ic4f3a2de64f3f875841b73e9b12bbe0ea454eee8
Reviewed-by: Dan Cape <dcape@qnx.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/qnx/qnxtoolchain.cpp')
-rw-r--r-- | src/plugins/qnx/qnxtoolchain.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qnx/qnxtoolchain.cpp b/src/plugins/qnx/qnxtoolchain.cpp index 541f2d328e..474f6455e9 100644 --- a/src/plugins/qnx/qnxtoolchain.cpp +++ b/src/plugins/qnx/qnxtoolchain.cpp @@ -45,7 +45,9 @@ static const QList<Abi> qccSupportedAbis() { QList<Abi> abis; abis << Abi(Abi::ArmArchitecture, Abi::LinuxOS, Abi::GenericLinuxFlavor, Abi::ElfFormat, 32); + abis << Abi(Abi::ArmArchitecture, Abi::LinuxOS, Abi::GenericLinuxFlavor, Abi::ElfFormat, 64); abis << Abi(Abi::X86Architecture, Abi::LinuxOS, Abi::GenericLinuxFlavor, Abi::ElfFormat, 32); + abis << Abi(Abi::X86Architecture, Abi::LinuxOS, Abi::GenericLinuxFlavor, Abi::ElfFormat, 64); return abis; } |