summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprojectmanager/qmlprojectenvironmentaspect.cpp
Commit message (Collapse)AuthorAgeFilesLines
* ProjectExplorer: De-virtualize EnvironmentAspect::baseEnvironmenthjk2019-03-071-66/+0
| | | | | | | | | | | | Will help to streamline *EnvironmentAspect constructor signature, which in turn will help to have a generic cloning mechanism to clone aspect data, which in turn will help to finally execute on the idea that RunControls should be re-runnable in their original setup and also resilient to changes in the setup while they are running. Change-Id: Ibdaca487c1f7ce043e675fd014fe923a70273639 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Rename KitInformation to KitAspectChristian Kandeler2019-02-111-1/+1
| | | | | | | | | | | 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 <hjk@qt.io>
* QmlProjectManager: ModernizeAlessandro Portale2018-11-301-1/+1
| | | | | | | modernize-* Change-Id: Ic47c32c3fbf96d36f0d64e331eccc8c8e8aef6d2 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* ProjectExplorer: Remove IRunConfigurationAspect::runConfigurationhjk2018-09-131-2/+2
| | | | | | | | ... and adapt constructors to not take the now-unneeded RunConfiguration pointer. Change-Id: I53ff338f51334ff7b0c22d4bed92bfcfc8225ea7 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* QmlProjectManager: Pass target to QmlProjectEnvironmentAspect ctorhjk2018-09-111-4/+4
| | | | | | | | This avoids one use of IRunConfigurationAspect::runConfiguration() which is meant to be removed soon. Change-Id: Ib394a71b6bb7a6c028fc533656454b94895f6451 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* ProjectExplorer: Streamline *EnvironmentAspect interfacehjk2018-04-061-36/+21
| | | | | | | | | | Register code/name combinations together. Also make the otherwise implicitly preferred first entry explicit in the API. Change-Id: I80f68b01d53e2672480365d4efcb9d790b8363fd Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* QmlProject: Clean up environment selectionUlf Hermann2018-03-071-12/+20
| | | | | | | | | | | | | | | | On desktop you get "system environment" as default now and "clean environment" as option. "kit environment" doesn't make any sense as that is meant for build configurations. On remote Devices you only get "clean environment" because we cannot query the generic remote device for its default environment. However, as the environment was rather random before and it worked, a clean environment will probably not break it. Change-Id: Iab0ed804a21cf77db9e3413926ff710c91561db0 Task-number: QTCREATORBUG-19887 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlProject: Add support for setting the environmentThomas Hartmann2018-02-021-0/+6
| | | | | | | | | | | This allows setting arbitrary environment variables in the .qmlproject. This is required for example qtquickcontrols2.conf and QT_AUTO_SCREEN_SCALE_FACTOR. Task-number: QTCREATORBUG-19513 Change-Id: I8421a9fc7f85d24b3564f1b60f383be3838f2af4 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* ProjectExplorer: Fix copying of RunConfigurationAspectshjk2017-11-101-5/+0
| | | | | | | | | | | Moving aspect data closer to real Value semantics fixes the regression introduced by 890c1906e. Task-number: QTCREATORBUG-19186 Task-number: QTCREATORBUG-19192 Change-Id: Ieaeef3995ae06a817f266c1e2514f9e5793bd4e8 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-17/+12
| | | | | | | * Update files in src/plugins Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Qt Quick UI: Add "kit environment" as a base environment for runDaniel Teske2015-08-311-3/+13
| | | | | | Change-Id: Ica4e63b4b8e56ee6d2ead0ad3a5d1b57de20009c Task-number: QTCREATORBUG-14701 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Update LicenseEike Ziller2015-01-161-6/+6
| | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* License updateEike Ziller2014-10-091-7/+8
| | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@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>
* Revert "Add workaround for QTBUG-35143"Eike Ziller2013-11-291-7/+0
| | | | | | | | It was just a shortterm hack for RC1 This reverts commit e4d800ad4a2b7f29c302f43c0efaa7e592633cc7. Change-Id: If4471a8e040c7f9517551914b092b7ad0cd6d1d7 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Add workaround for QTBUG-35143v3.0.0-rc1Eike Ziller2013-11-281-0/+7
| | | | | | | | !!! Revert again ASAP !!! Task-number: QTBUG-35143 Change-Id: I9eb724f07c7b6b49a7df0be4e1d4c76dac206af5 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* ProjectExplorer/Analyzer: Merge RunConfigurationAspectshjk2013-08-161-7/+2
| | | | | | | | The Analyzer implementation is now simple and still generic enough to serve as general base. Change-Id: I050a21919bf128929b77a64da1f46d157691d849 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Specialize environmentaspect for qml projectsTobias Hunger2013-04-111-0/+71
... and attach that to qml project runconfigurations Change-Id: I841b72cc279495ee8f3ff31af59bf006f13a1056 Reviewed-by: Daniel Teske <daniel.teske@digia.com>