aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ios/iosbuildconfiguration.cpp
Commit message (Collapse)AuthorAgeFilesLines
* ProjectExplorer: Use more conventional approach to create build widgetshjk2025-06-201-8/+16
| | | | | Change-Id: I43b57ee8e8ebd76597f15405eb39efa1b07f708e Reviewed-by: Christian Kandeler <[email protected]>
* ProjectExplorer: Pass build step display names as windowTitlehjk2025-06-191-8/+7
| | | | | | | Simpler code. Same approach as with the project panels. Change-Id: Ie2670484db2907e5ff94b6c6b34977fade4eb80d Reviewed-by: Christian Kandeler <[email protected]>
* Disambiguate translations for "None"Eike Ziller2025-01-061-1/+1
| | | | | | | | | Translations can be different depending on context. Give each usage a disambiguation text. Task-number: QTCREATORBUG-31978 Change-Id: I44ac524d7448787360e825fad1d430ded3f07659 Reviewed-by: Christian Stenger <[email protected]>
* ProjectExplorer: Dismantle NamedWidgethjk2024-12-031-22/+13
| | | | | | | | | | ... which was really just a widget with a name. Providing the name separately simplifies the code and makes the setup structurally more similar to the BaseAspect::addToLayout() machinery. Change-Id: I0c528e0afb3c22eb0acac8f181cc36a6ab74d95b Reviewed-by: Christian Kandeler <[email protected]>
* ProjectExplorer: Dissolve kitaspects.{h,cpp}Christian Kandeler2024-11-201-1/+1
| | | | | | | Move the remaining classes into their own files. Change-Id: I301e72004c21446fa9b8f15942bb042218b0ecef Reviewed-by: hjk <[email protected]>
* ProjectExplorer: More name disambiguation for device kit aspectsChristian Kandeler2024-11-121-3/+3
| | | | | | | Finishing 73b0875498b662128c18f794fa9b7e477b0571de. Change-Id: I225ec83400a4e70d0fe933e8529db289b46f4a81 Reviewed-by: hjk <[email protected]>
* iOS: Move build configuration factory definitions to .cpphjk2024-01-261-21/+38
| | | | | Change-Id: Ia4a52e61488900fca013a50185ae534faa8816eb Reviewed-by: Jarek Kobus <[email protected]>
* Utils: Rename the new Storage to Storehjk2023-08-241-2/+2
| | | | | | | | | Apparently that's what the young people on the web use for such a thing. Change-Id: I75d5396ff3cb3c26efd6008b5f2261354c4f7896 Reviewed-by: Marcus Tillmanns <[email protected]> Reviewed-by: Jarek Kobus <[email protected]> Reviewed-by: <[email protected]>
* Use Utils::Storage instead of QVariantMap in a few placeshjk2023-08-231-2/+2
| | | | | Change-Id: I02833cf2bc3caaadc22ff93ae530e4aebe4c3868 Reviewed-by: Marcus Tillmanns <[email protected]>
* ProjectExplorer: Rename kitinformation.{h,cpp} to kitaspects.{h,cpp}hjk2023-08-151-1/+1
| | | | | Change-Id: I069bddeb457366210d339edcbb8ffb359a40fab8 Reviewed-by: Jarek Kobus <[email protected]>
* ProjectExplorer: Replace the fromMap error return valuehjk2023-07-241-14/+5
| | | | | | | | | | | | | | | ... by some out-of-band mechanism, keeping previous functionality. The driving reason is to get the same fromMap signature as in the AspectContainer base, however, the whole mechanism seems rather useless: There are only a few places that actually ever could report errors, in those places "moving on" looks ok, too, and these few places are not conceptually different than a lot others. Removal of this (new) mechanism is left for later. Change-Id: Ibe7a0456bc3b84a84e942231f14446e783372d76 Reviewed-by: Jarek Kobus <[email protected]>
* Ios: Use aspects more directly in build configurationshjk2023-07-131-26/+51
| | | | | Change-Id: I1fa9583fccd5bb6a93fcfea9e3977f626b790afb Reviewed-by: Christian Stenger <[email protected]>
* iOS: Tr::trhjk2023-01-161-25/+22
| | | | | Change-Id: I547af218546927622414999e5b9019ab62916e7e Reviewed-by: Alessandro Portale <[email protected]>
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <[email protected]>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <[email protected]>
* Drop Qt5: Android, IOS & WASM: Get rid of QOverloadJarek Kobus2022-07-201-12/+6
| | | | | | | | | | Add a context object into some lambdas. Change-Id: I72631aeb36703f8f335f3819796fb52148f1b377 Reviewed-by: Alessandro Portale <[email protected]> Reviewed-by: Eike Ziller <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: <[email protected]>
* ios: Remove foreach / Q_FOREACH usageArtem Sokolovskii2022-06-021-1/+2
| | | | | | Task-number: QTCREATORBUG-27464 Change-Id: If29d2960692c42456967025d60e6d6d7ddd09928 Reviewed-by: Eike Ziller <[email protected]>
* Utils: Consolidate more aspect functionalityhjk2021-02-181-0/+2
| | | | | | | | | | | | The concepts of 'value', 'defaultValue' and changed signals are present in a few aspects, with varying implementations. Time to get things sorted out. The values are stored now as QVariant in the base, with typed accessors in the derived classes, keeping the user visible interface the same. Change-Id: I4d37ef5c7a9795f46ce1bbbabc6a251222b1d54e Reviewed-by: Christian Stenger <[email protected]>
* Add signing options to CMake/iOS build configurationEike Ziller2021-02-161-43/+131
| | | | | | | | | | | | | | | Adds the signing settings to iOS configurations. Adds placeholders for signing flags to the initial CMake arguments, and updates the CMake configuration when signing settings change. The new configuration doesn't get automatically applied. Only the "Apply Configuration Changes" button gets enabled and the user has to press that explicitly. This seems to be a more general issue affecting the QML debugging setting too, though. Task-number: QTCREATORBUG-23574 Change-Id: I3e8d45f565347e1ad2ac274a21b1552f1510e8f4 Reviewed-by: Cristian Adam <[email protected]>
* iOS: Rename signing settings widget and make independent from qmakeEike Ziller2021-02-091-34/+55
| | | | | | | | The build settings widget for the signing settings should not depend on qmake specifics. Move these to the build configuration. Change-Id: Ie5feba577304fae9bde3ed01530250d02be982e1 Reviewed-by: Cristian Adam <[email protected]>
* iOS: Fix persistence of signing settingsEike Ziller2020-11-181-1/+2
| | | | | | | | | | | The signing team / provisioning ID was saved in the settings, but while restoring the state it was overwritten when restoring the "Automatic Signing" state. Fixes: QTCREATORBUG-24586 Change-Id: I46c4e89689c26aabad4831bf15da6223191e08b8 Reviewed-by: hjk <[email protected]> Reviewed-by: Vikas Pachdha <[email protected]>
* Utils/ProjectExplorer: Move re-usabled bits of aspects to Utilshjk2020-09-231-0/+1
| | | | | | | | | | | Classes involved are BaseAspect and some derived classes, LayoutBuilder and VariableChooser. This is mostly mechanical, with various include/using changes to make it compile. Change-Id: I624a457f3555f102e541c4c71e33a9423af32250 Reviewed-by: Eike Ziller <[email protected]>
* ProjectExplorer: Introduce a ProjectConfiguration::kit() functionhjk2020-09-091-2/+2
| | | | | | | For convenience, and use it in some places. Change-Id: I8f7cb502b37b2fbf4cf2d17cac9c6299558332dc Reviewed-by: Christian Kandeler <[email protected]>
* ProjectExplorer: Rename Base*Aspect to *Aspecthjk2020-08-141-2/+2
| | | | | | | | | In most cases they are used directly, so there's not much Base* in that. Added the old name as alias as porting help for a while. Change-Id: I494a8a560b8996bcf74915ea3570b504df6a6b4c Reviewed-by: Eike Ziller <[email protected]>
* Various Qt6 portinghjk2020-07-161-1/+2
| | | | | | | | | | | | | | Rename QHashSeedType to QHashValueType and use it also for return values. Use qHashMulti directly instead of continuing using temporary QPairs. Avoids ugly namespace tricks to find the new pair overloads, and is actually clearer. Classes used in signals cannot be forward-declared. ... Change-Id: I22450a0c642437a43f876e8e89cc8788fff3db61 Reviewed-by: Christian Stenger <[email protected]>
* Core/Utils: Migrate further to Utils::Idhjk2020-07-061-2/+2
| | | | | | | The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 Reviewed-by: Christian Kandeler <[email protected]>
* Fix clang warnings about copies in range-for constructsChristian Kandeler2020-06-151-1/+1
| | | | | Change-Id: If50553964483626e72a816b1d23fa81b45ed9ca7 Reviewed-by: Alessandro Portale <[email protected]>
* Various places: performance-for-range-copyAlessandro Portale2020-06-151-1/+1
| | | | | Change-Id: I475990d32a5211d31a77782667a2dfedba134137 Reviewed-by: hjk <[email protected]>
* Use isEmpty() instead of count() or size()Alessandro Portale2020-01-201-1/+1
| | | | | Change-Id: I0a89d2808c6d041da0dc41ea5aea58e6e8759bb4 Reviewed-by: Orgad Shaneh <[email protected]>
* Make various Q_LOGGING_CATEGORY's staticAlessandro Portale2020-01-151-1/+1
| | | | | Change-Id: I43d3a198b0863d85a7fb305c7cb768f68acbd139 Reviewed-by: hjk <[email protected]>
* Ios: Use Utils::InfoLabel in IosBuildConfigurationAlessandro Portale2019-12-201-39/+7
| | | | | | Task-number: QTCREATORBUG-23346 Change-Id: Ia5a0a1ca1df3c33c256b2021b31faf7989720086 Reviewed-by: Eike Ziller <[email protected]>
* ProjectExlorer: Streamline creation of NamedWidgetshjk2019-11-011-3/+2
| | | | | Change-Id: I67c1506ea4e2d7722c9ce38738e350418d725a0e Reviewed-by: Christian Kandeler <[email protected]>
* Remove usages of deprecated APIs of QLayoutSona Kurazyan2019-09-021-1/+1
| | | | | | | | | | Replaced: QLayout::setMargin() -> QLayout::setContentsMargins() QLayout::margin() -> QLayout::getContentsMargins() Task-number: QTBUG-76491 Change-Id: If28ef6910b3afe5d04e4746b74f9362a3e3b3c8e Reviewed-by: Eike Ziller <[email protected]>
* connect() to ambiguous signals/slots: Replace static_cast with QOverloadAlessandro Portale2019-05-281-1/+1
| | | | | Change-Id: I473d7a2a16509cee944a2a21b022a3f6f02cfd8d Reviewed-by: Christian Kandeler <[email protected]>
* Ios: More IosBuildConfiguration aspectificationhjk2019-05-061-22/+368
| | | | | | | | Move IosBuildSettingsWidget closer to IosBuildConfiguration, start replacing bits by existing aspect functionality. Change-Id: I2016f0298f5e0c40d93c4d3bb144904453a5af02 Reviewed-by: Christian Stenger <[email protected]>
* Ios: Use aspects for build configuration date storagehjk2019-05-021-30/+26
| | | | | Change-Id: I6c14cd5acc5dcc820339ccc0e7ef7b30ca7724ab Reviewed-by: Vikas Pachdha <[email protected]>
* ProjectExplorer: Rename KitInformation to KitAspectChristian Kandeler2019-02-111-2/+2
| | | | | | | | | | | The name "KitInformation" does not properly convey the fact that it represents a certain *aspect* of a kit. The same goes for "KitConfigWidget", which in addition was inconsistent with "KitInformation". We now use "KitAspect" and "KitAspectWidget". Change-Id: I9804ee4cedc4d61fad533ea1dd4e4720e67fde97 Reviewed-by: hjk <[email protected]>
* ProjectExplorer: Remove BuildConfigurationFactory::priorityhjk2019-01-311-1/+0
| | | | | | | | | | | | | | | It's essentially an intrusive hack that's used only to prioritize Ios+Qmake over plain Qmake. The effect is now achieved by an arguably equally evil dependency on the construction order of BuildConfiguration factories. It can be argued, however, that this is a feature as it allows user plugins to intentionally override core functionality by using the standard setup pattern and depending on the to-be- overridden plugin. Change-Id: Ic1efa305daf3ca19a880d2a7ccb40e2768d8f57c Reviewed-by: Eike Ziller <[email protected]>
* ProjectExplorer: Use a addSupportedTargetDeviceType functionhjk2019-01-311-1/+2
| | | | | | | ... also for BuildConfigurationFactory, similar to Run and Deploy. Change-Id: I453f08bf145d6a2e764d150646c698d624ae2ce9 Reviewed-by: Eike Ziller <[email protected]>
* Canonicalize some includesChristian Kandeler2019-01-101-1/+1
| | | | | | | | | | | | Our canonical style is #include <utils/fileutils.h> rather than #include "utils/fileutils.h" Which makes sense, as such headers will never be found in the local directory. Change-Id: I4ca46e90d6c4d19d4b1f235f4c79caad864ef222 Reviewed-by: hjk <[email protected]>
* ProjectExplorer: Pass id directly to BuildConfigurationshjk2018-05-081-2/+2
| | | | | | | It's what the base class wants, and follows run and deploy precedence. Change-Id: I26eff43337851702417e7e4284fc390b904060f6 Reviewed-by: Tobias Hunger <[email protected]>
* Ios: Use device types as restrictions on project configurationshjk2017-12-191-14/+3
| | | | | Change-Id: I3c31f14eba9d9f68a333a814bea800a3da38d4a2 Reviewed-by: Vikas Pachdha <[email protected]>
* ProjectExplorer/all: Re-organize BuildSteps/{Deploy,Build}Config setuphjk2017-12-081-40/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This follow the rough pattern of recent *RunConfigurationFactory changes for build and deploy configurations. - Collapse the two lines of constructors similar to what 890c1906e6fb2ec did for RunConfigurations * Deploy* was purely mechanical * Build* ctors are split in connects() in the ctor body to create "empty shell for clone" etc and build step additions in initialize() functions which are only used in the create() case. -- Allows to collapse the shared 'ctor()' functions, too. - Move FooBuildConfigurationFactory::create() implementations to FooBuildConfiguration() constructor. That was a strange and unneeded ping-pong between factories and objects, and furthermore allows one level less of indirection (and for a later, left out here, some reduction of the FooBuildConfiguration interfaces that were only used to accommodate the *Factory::create() functions. - Most {Build,Deploy}Configuration{,Factory} classes had a canHandle(), but there wasn't one in the base classses. Have one there. - Most canHandle() functions were checking simple restrictions on e.g. project or target types, specify those by setters in the constructors instead and check them in the base canHandle() - clone() is generally replaced by a creation of a "shell object" and a fromMap(source->toMap()), implemented in the base, there are two cases left for Android and Qbs that needed(?) some extra polish - generally use canHandle() in base implementation, instead of doing that in all Derived::canFoo() - as a result, canCreate/create/canClone/clone reimplementations are not needed anymore, keep the base implementation for now (could be inlined into their only users later), but de-virtualize them. - Combine Ios{Preset,DSym}BuildStepFactory. There was only one 'dsym' build step they could create. - Split the 'mangled' id into the ProjectConfiguration subtype specific constant identifier, and a QString extraId() bit. Only maintain the mangled id in saved settings. - Make ProjectConfiguration::m_id a constant member, adapt all constructors of derived classe. Not done in this patch: - Finish possible cosmetic changes on top - Add a way to specify restrictions to supported Qt versions (used in Android/Ios), as the base implementation does not depend on the qtsupport plugin - Combine the QList<X> availableFoo() + createFoo(X) function pairs to somthing like a direct QList<struct { X; std::function<X()>; }> fooCreators() to avoid e.g. the baseId.withSuffix() <-> id.suffixAfter(base) pingpong - Remove the *Factories from the global object pool - Do something about priority(). Falling back to plain qmake in android+qmake setup is not helpful. Change-Id: I2be7d88d554c5aa8b7db8edf5b93278e1ae0112a Reviewed-by: Tobias Hunger <[email protected]>
* iOS: Let user specify developer team and provisioning profileVikas Pachdha2017-03-141-0/+193
Task-number: QTCREATORBUG-16936 Change-Id: Ie4a91125f34fbf35cda4e1593919899af5f4cdbb Reviewed-by: Eike Ziller <[email protected]>