Commit Graph

134 Commits

Author SHA1 Message Date
Tobias Hunger
e7c118c709 ABI: Make "linux-generic" ABIs compatible with "linux-*"
This is for the benefit of people using e.g. meego tool chains to
build their own Qt versions and work with them in the desktop
target.

All the specialized targets filter the tool chains again, so
this should be ok to do.

Task-number: QTCREATORBUG-5960
Change-Id: If872d8a6ba75985f23f36646bb89e1651ce82f80
Reviewed-on: http://codereview.qt-project.org/4521
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-09-16 11:48:30 +02:00
Robert Loehning
bc585fd4ec Fixed operator precedence
Change-Id: I8482915ac8218d6575fb4c51dbcf0d1fcd0d60e4
Reviewed-on: http://codereview.qt-project.org/4681
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-09-12 17:21:57 +02:00
Tobias Hunger
826607a190 Abi: Add isNull() method
Change-Id: If8d6e5ace13857e4435b09e47d5d40dd2befdacf
Reviewed-on: http://codereview.qt.nokia.com/4279
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-09-07 10:55:27 +02:00
Tobias Hunger
60ccecd7af ABI: Add one more unit test
Change-Id: I1037473a1027a10213151046aedea0e61ff278a3
Reviewed-on: http://codereview.qt.nokia.com/4001
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2011-08-31 18:01:51 +02:00
Tobias Hunger
457b667dd6 ABI: fix endian issues
Fix possible endian issues when detecting the ABIs.

Change-Id: I23e29a9bc697f63eb17641540083b34c6059096b
Reviewed-on: http://codereview.qt.nokia.com/4000
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2011-08-31 18:00:58 +02:00
Tobias Hunger
109190b3b5 ABI: Improve detection of Windows PE
Thanks to Thiago for pointing out the MZ header which points to the
PE header.

Change-Id: I87bcedf368483d60756e1c9b665ffe3a80c47736
Reviewed-on: http://codereview.qt.nokia.com/3998
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2011-08-31 18:00:38 +02:00
Tobias Hunger
f44c9e26ed Fix typo in enum name
Change-Id: I5de645197318062f2174e0205bfffc98413f911e
Reviewed-on: http://codereview.qt.nokia.com/3997
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-08-31 17:26:56 +02:00
Tobias Hunger
b273c663ec ABI: Detect mips based wince binaries
Add unit test to verify detection.

Change-Id: I2d927552ebfaf8b35b9c1cae3b65603f63c7a8c5
Reviewed-on: http://codereview.qt.nokia.com/1447
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-11 17:00:46 +02:00
Tobias Hunger
4a0fcf6b12 Abi: Update to use creator-test-data repo for the abi test data
Change-Id: Ie5ce3dd0d821516355bd43748f180e3323bb5879
Reviewed-on: http://codereview.qt.nokia.com/696
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-06-24 17:15:15 +02:00
Tobias Hunger
f7be9fccf0 Abi: Fix detection of ELF files on big endian machines
Change-Id: I1301e463fc97fa9615398a2a120874c809975ae5
Reviewed-on: http://codereview.qt.nokia.com/647
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-06-23 11:25:32 +02:00
Tobias Hunger
a5dadc76aa Abi: Allow overriding the detected abis of the gcc tool chain
Change-Id: Ief8985a0f6c8746bb5a0c15c8dcec5387b379159
Reviewed-on: http://codereview.qt.nokia.com/267
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-05-31 16:54:03 +02:00
Tobias Hunger
ad38a581b6 Abi: Add unit tests and support for more unix flavors
Change-Id: I7a1cc69e36217c8d29e3ada0950cafa670f490b6
Reviewed-on: http://codereview.qt.nokia.com/263
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-05-31 12:07:32 +02:00
DimanNe
4ed3c8a5b6 Added FreeBSD os and FreeBSD flavor support
Change-Id: If0e4351fd8736d14bb8f766ef6572d7260e1f01c
Merge-request: 338
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/262
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
2011-05-31 12:07:19 +02:00
Friedemann Kleint
ddf4b613f3 Krazy fixes (spelling, single char strings, char constants). 2011-05-10 15:21:41 +02:00
Tobias Hunger
fcf82b74b6 Fix ABI detection of static mingw libraries on windows
Task-number: QTCREATORBUG-4771
2011-05-06 17:57:22 +02:00
Tobias Hunger
aa2acec14c Fix/add copyright headers
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Friedemann Kleint
fcdc8177b1 Documentation: Add ProjectExplorer plugin..
Reformat existing documentation to qdoc.
2011-04-14 12:58:14 +02:00
Oswald Buddenhagen
dc3c156cac Merge branch '2.2'
Conflicts:
	src/plugins/debugger/gdb/pythongdbengine.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
	src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
	src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
	src/plugins/qt4projectmanager/qt4target.cpp
	src/plugins/qt4projectmanager/qt4target.h
	src/plugins/qt4projectmanager/qtoptionspage.h
	src/plugins/qt4projectmanager/qtversionmanager.cpp
	src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
Tobias Hunger
5aa151eaf4 Toolchain: Fix detection of static libraries
Fix detection of static libraries, add unit test with a known
broken version.

Task-number: QTCREATORBUG-4453
Reviewed-by: con
2011-04-11 13:39:54 +02:00
Tobias Hunger
7bae23b3a6 Abi: Mips support
* Detect Mips in binaries
* Parse mips gcc string properly
* Add unit tests for both

Thanks go to fralik from devnet for providing the test data!
2011-04-06 10:06:49 +02:00
Tobias Hunger
08423ddd34 Abi: Make *-linux-generic-* compatible with *-linux-* 2011-03-28 16:41:11 +02:00
Tobias Hunger
6ad7df6940 Abi: Add unit test for arm linux libraries
Reviewed-by: dt
2011-03-24 15:44:23 +01:00
Tobias Hunger
dcae06a5c5 Unit test for Abi::abisOfBinary(...) 2011-03-21 18:04:48 +01:00
Tobias Hunger
b2df065b56 Use distinct ABIs for MSVC versions
Use a distinct ABI OS flavor for each of the supported MSVC versions.

Task-number: QTCREATORBUG-4129
2011-03-21 15:46:42 +01:00
Tobias Hunger
5b4d841d12 Abi: Add operator !=
Reviewed-by: dt
2011-03-10 15:50:06 +01:00
Tobias Hunger
cb7cca793a Detect ABIs of static libs 2011-03-03 16:35:04 +01:00
hjk
b37cd3325c abi detection: use four byte for four byte magic strings 2011-03-02 17:19:06 +01:00
Friedemann Kleint
209b9d7454 Compile. 2011-03-02 15:36:59 +01:00
Tobias Hunger
c9f7d779a6 Handle static Qt libraries on mac 2011-03-02 15:12:21 +01:00
Tobias Hunger
4c7593f74d Distinguish between msvc and mingw binaries
Distinguish between binaries built using MSVC and MinGW.
2011-03-01 18:05:16 +01:00
Friedemann Kleint
88f333267f Fix Krazy code scanning tool warnings (QString, loops, spelling). 2011-02-25 15:28:01 +01:00
hjk
a8ae618d75 toolchain: fix enum naming style
Reviewed-By: Tobias Hunger
2011-02-23 17:56:33 +01:00
Tobias Hunger
8d0c477245 ToolChain: Refactor toolchain support
Refactor ToolChains in Qt Creator:

 * Allow for several toolchains of the same type
 * Be smarter wrt. guessing what kind of output a toolchain
   produces. This allows us to eventually handle e.g. embedded
   linux setups way better than before.
 * Be smarter wrt. guessing what kind of environment a Qt version
   needs.
 * Improve auto-detection of toolchains a bit
 * Decide on which debugger to use based on the kind of output
   produced by the compiler.
 * Add options page to configure toolchains
 * Remove toolchain related options from the Qt version dialog

Reviewed-by: dt
2011-02-21 18:33:23 +01:00