summaryrefslogtreecommitdiff
path: root/src/tools/sdktool/addkitoperation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* License updateEike Ziller2014-10-091-7/+8
| | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* SDKTool: Change DeviceType from QByteArray to QStringOrgad Shaneh2014-08-041-12/+12
| | | | | Change-Id: I224b6723891df4a8073fae327def13c0b41e8541 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* SdkTool: Use Qt Creator doctypesOrgad Shaneh2014-07-081-5/+5
| | | | | | | Simplify filename conversion while at it Change-Id: I0a7473aa42626a04214887f1cc82abe536233a78 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* SdkTool: Fix capitalizationOrgad Shaneh2014-07-031-1/+1
| | | | | Change-Id: I1085dc89216ad37019227c967ddddbe999486cb1 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* SDKtool: Only write values into kit that were set on the commandlineTobias Hunger2014-04-091-25/+55
| | | | | | | | | Do not put empty values for settings into the kits: These will prevent data from being editable in Qt Creator. Task-number: QTCREATORBUG-12017 Change-Id: I10f67ed0038ba7e1a79cbf7b5658247a2d18b8eb Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* SDKtool: Correctly handle mac ABIsTobias Hunger2014-04-071-1/+11
| | | | | | | | Task-number: QTCREATORBUG-11983 Change-Id: Id70bd18b1b5494db19adb9928277356c4d4a4688 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* SDKtool: Fix test case and compiler warningTobias Hunger2014-04-041-0/+19
| | | | | | | | | | | Do check for toolchains not defined in the toolchains.xml file again, but also allow for toolchain IDs to be ABIs. This partially reverts a commit from Kai made earlier. Change-Id: Idad004f0bff655bc136bc43de5837d61a045e311 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* sdktool: Fix addKit complaining about unknown toolchainsKai Koehne2014-03-311-5/+0
| | | | | | | | | | | | | | Fixes a regression in 07f7dd9c1434738ad59467ac8830be41db03dfa0 that caused the Qt SDK installer to complain e.g. with Toolchain x86-linux-generic-elf-86bit does not exist. Qt Creator has code to automatically detect toolchains, so it's not necessary for every toolchain to be explicitly registered. Task-number: QTBUG-37875 Change-Id: I1e8909da2ff919a8cccdf86bb3a2f7a5cc79a257 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* SDKtool: Check for existing objects when creating kitsRainer Keller2014-03-041-24/+110
| | | | | | | | | Check for existing Qt versions, toolchains and devices if those ids are given. Change-Id: I0447d55e01cc40e43669ba7999126b0260974c0b Reviewed-by: Rainer Keller <rainer.keller@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* SDKtool: Add --device option to addKit operationTobias Hunger2014-03-041-13/+29
| | | | | Change-Id: I5403ae8b7a238f24aadd26c1db3a1b8b4c83fdb2 Reviewed-by: Rainer Keller <rainer.keller@digia.com>
* SDKtool: Rename findValues method to findValueTobias Hunger2014-02-201-1/+1
| | | | | | | It only searches for one value. Change-Id: If780de3a919c41a03c9c0a978688fd1ea0411eb9 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* SDKtool: Do not require --debugger "" when using --debuggeridTobias Hunger2013-10-301-1/+3
| | | | | Change-Id: I9d1c7e5c16d492163d1f6459903096f3b9fb0758 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* SDKtool: Consistently use const char X[] for constants in .cpp filesTobias Hunger2013-10-291-18/+18
| | | | | Change-Id: Iee70ddb526a1751120be40bfd8d2ae01b27b80b8 Reviewed-by: hjk <hjk121@nokiamail.com>
* SDKtool: Add support for debugger.xmlTobias Hunger2013-10-291-13/+98
| | | | | | | | | | | | | | Add support to add/remove debugger entries to debuggers.xml This is in addition to the existing mode of writing the debugger path/debugger engine into the kit. This works reasonably well, but the new mode offers better control as how the debugger is called, etc. addKit also got a --debuggerid switch to set the debugger id instead of using the old configuration format. Change-Id: Id4be0366d2c126252419cf1ba87cd0e117204e54 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Don't return negative numbers in sdktoolKai Koehne2013-07-081-2/+2
| | | | | | | | | | | | Negative return values are interpreted as 'process crashed' on Windows: QTBUG-28735 . This in turn means the installer framework always shows an error dialog. By using positive numbers even for error conditions the installer can decide to ignore certain errors instead. Change-Id: Ib5cdd461372ac13fe417feb6ff43a7424c159f68 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Merge remote-tracking branch 'origin/2.7' into 2.8Eike Ziller2013-05-231-1/+1
|\
| * sdktool: Add operations: Fix adding to a empty map, check the right mapDaniel Teske2013-05-171-1/+1
| | | | | | | | | | Change-Id: Iddcf85d3a19bed28baa9bd4c5f964c370f8c9c42 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* | Fix some Krazy warnings about non-const ref iterator.Friedemann Kleint2013-03-111-1/+1
|/ | | | | Change-Id: I1c78f5f5a7174002cd25bea109d5fe795530cdb5 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* SDKtool: Add SDK flag (always set to true) when creating kitsTobias Hunger2013-02-251-0/+4
| | | | | Change-Id: I966a127d42e9819bb722d23c631b6db3af6e08d7 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* SDKtool: Fix removal of toolchainsTobias Hunger2013-02-221-4/+4
| | | | | | Change-Id: If66745582adcae1dbdb101cecc426280c1be182f Reviewed-by: Rainer Keller <rainer.keller@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* SDKtool: Fix return values and improve error reportingTobias Hunger2013-02-071-3/+10
| | | | | Change-Id: I1a44a39d5cd96be48608fdb4fab252a51046971e Reviewed-by: David Faure <david.faure@kdab.com>
* Merge remote-tracking branch 'origin/2.6'Oswald Buddenhagen2013-01-311-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in src/plugins/debugger/qtmessageloghandler.cpp src/plugins/debugger/qtmessagelogwindow.cpp src/plugins/madde/maemodeployconfigurationwidget.cpp src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp src/plugins/qmldesigner/designercore/include/widgetqueryview.h src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp src/plugins/qnx/bardescriptormagicmatcher.h src/plugins/qt4projectmanager/profilekeywords.cpp src/plugins/remotelinux/deployablefilesperprofile.cpp src/plugins/remotelinux/deployablefilesperprofile.h src/plugins/remotelinux/deploymentinfo.cpp src/plugins/remotelinux/deploymentsettingsassistant.cpp src/plugins/remotelinux/profilesupdatedialog.cpp tests/auto/icheckbuild/ichecklib.cpp tests/auto/icheckbuild/parsemanager.cpp tests/auto/icheckbuild/parsemanager.h Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
| * Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | | | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | SDKTool: Build with QT_NO_CAST_FROM_ASCIIOrgad Shaneh2013-01-141-5/+10
|/ | | | | Change-Id: I7e61f530dc58f5e528d4a36439c57b5d017f24a3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* SDKtool: Make sure the Qt id starts with "SDK." when setting up kitsTobias Hunger2012-11-221-1/+5
| | | | | | | We do the same when adding a new Qt version. Change-Id: I910421ee4d913c76688b9ef6e4787edcd7c6f09f Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* sdktool: Fix type of device type and the unit testsTobias Hunger2012-10-101-11/+11
| | | | | | Change-Id: I64b817c0bd6c454d4f9cb423720c8baed8490fea Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Adjust license headershjk2012-10-051-21/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Add Autodetection for system cdb/gdb for kits added by sdktool.Friedemann Kleint2012-09-281-0/+6
| | | | | | | Introduced special 'auto' value for debugger binary. Change-Id: I5be4fa148ce9ded06826a7dda647c5ba402dc70a Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* sdktool: Fix MSVC warnings about comparison (!<int> == number).Friedemann Kleint2012-09-281-5/+5
| | | | | Change-Id: I74be70ed1693160acab5c4be5da09d004bf0801c Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Add sdktoolTobias Hunger2012-09-211-0/+382
Add a tool to ease configuration of Qt versions, tool chains and kits with Qt Creator for the SDK and similar systems. Change-Id: I9727dd25ea359a935ea494b035a59411eb3529b8 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>