aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Python: use DataFromProcess to fetch python version outputHEADmasterDavid Schulz50 min.5-50/+12
| | | | | | | and remove duplicated calls and caches Change-Id: I39f73354035f2ad427e7f2360ccba7143aeb2b84 Reviewed-by: hjk <hjk@qt.io>
* CMakeTool: use DataFromProcess for introspectionDavid Schulz50 min.3-35/+114
| | | | | Change-Id: I1b001b89ae19a6b28e77891c72842da4efe58bd5 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* QtSupport: Consider device tool search pathsChristian Kandeler16 hours1-2/+1
| | | | | | | | ... when the user clicks "Re-detect" in the settings page. For consistency with "Devices" settings page. Change-Id: I7b5e801fbd101c5cf928f80de675ae5f1684f684 Reviewed-by: hjk <hjk@qt.io>
* QtSupport: Remove QmakeToolFactoryChristian Kandeler16 hours2-22/+0
| | | | | | | On-device qmakes are available via the usual means these days. Change-Id: I44892a6c4cb214037b05ae55e97b9bc6a70a7b10 Reviewed-by: hjk <hjk@qt.io>
* QtSupport: Respect the device's search paths settingsChristian Kandeler16 hours3-10/+26
| | | | | | | ... when handling a device tool detection request. Change-Id: Ic86dd873a032eda013969679863d86f418906f92 Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Fix initial state of toolchain options pageChristian Kandeler16 hours1-4/+7
| | | | | | | | The previous code did not guarantee that the Desktop device would get pre-selected. Change-Id: I2a1d94e978867d27b2024907de07b1cf2a0da5e1 Reviewed-by: hjk <hjk@qt.io>
* Debugger: Consider the device tool search pathsChristian Kandeler19 hours1-1/+1
| | | | | | | | ... when the "Re-detect" button in the settings page is clicked. For consistency with "Run auto-detection" from the device settings page. Change-Id: Ied28926b2ae59bf1318c8826fb06f27687eefb08 Reviewed-by: hjk <hjk@qt.io>
* Debugger: Detect debuggers as part of device tool detectionChristian Kandeler19 hours1-7/+16
| | | | | | Task-number: QTCREATORBUG-33677 Change-Id: Id9ae3809e9c4f5c57e31dc3661bb8e66e7e0d709 Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Consider device tool search pathsChristian Kandeler19 hours1-1/+3
| | | | | | | | | ... when the user clicks "Re-detect" in the toolchain settings page. So that it's consistent with clicking "auto-detect" on the device settings page with regards to the toolchains. Change-Id: Iab98c3267bbc13ac228c8d6467668fc5d2489756 Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Improve gcc auto-detectionChristian Kandeler21 hours2-30/+24
| | | | | | | | | | - Change the logic such that a non-empty search path only inhibits look-up in PATH, but not in well-known directories. This seems more sensible. - Remove some unneeded Desktop special-casing. Change-Id: Ie0e979ea3f3a8f6bbd895f4e99de286ff130e020 Reviewed-by: hjk <hjk@qt.io>
* CMakeProjectManager: Consider device tool search pathsChristian Kandeler21 hours1-3/+1
| | | | | | | | | | ... when the "Re-detect" button in the CMake tool settings page is clicked. This makes it consistent with the "Run auto-detection" button in the device settings widget. Change-Id: I0194c7a76bea8b6fe41ffba217e30699f6c67c48 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* ProjectExplorer: Respect device tool search pathsChristian Kandeler21 hours3-5/+7
| | | | | | | ... when handling the auto-detection request in the toolchain manager. Change-Id: I05bdd200a476da0caadad5bb4e49cb8cb16e538e Reviewed-by: hjk <hjk@qt.io>
* Locator: Convert settings to aspectsEike Ziller22 hours5-127/+88
| | | | | Change-Id: Ie211b0677f359d5d0b20edb7b7ee63ae3f2a530b Reviewed-by: David Schulz <david.schulz@qt.io>
* Locator: Remove compat settings pathEike Ziller22 hours1-25/+7
| | | | | | | That was kept for a while for QtC < 16, and some compat with < 4.15 Change-Id: I78561066ef2af2c2f6453f4683c49cf2efb12cef Reviewed-by: David Schulz <david.schulz@qt.io>
* Utils: Introduce QtDesignSystemStyleAlessandro Portale23 hours6-38/+193
| | | | | | | | | | | | | | Simply overriding the paint method of QtcTabBar did not allow implementing the design accurately. Also, dragging of tabes tab does not work. Proper styling of a tab element in a QTabBar needs to be done via QStyle. This change introduces the QtDesignSystemStyle which initially is only responsible for QtcTabBar. Eventually, more Qtc* widgets can be handled by it. Change-Id: Ib32081edcf4ddd427bfa429a4d4038427b9ea0ca Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Python: Switch row/column order in settingshjk23 hours1-13/+13
| | | | | | | The details kind of belong to the list only. Change-Id: I71acb1c0477fd6152662700af586cda2bf4bc03e Reviewed-by: David Schulz <david.schulz@qt.io>
* Python: Use more direct child widget setup in settingshjk23 hours3-64/+65
| | | | | Change-Id: Ia6abe99d13974c7a448a0baa71503255bf0c7a7b Reviewed-by: David Schulz <david.schulz@qt.io>
* Aspects: Fix documentationEike Ziller23 hours1-1/+1
| | | | | Change-Id: Ia6929eecf2a3f84e11aa22b033efd5d327960a03 Reviewed-by: hjk <hjk@qt.io>
* Utils: make DataFromProcess persistentDavid Schulz23 hours4-2/+103
| | | | | | | | Allow to save the data into the settingsdatabase. The Data will be updated asynchronously on the first read. Change-Id: Iebd1d2ba370125ab859f0e042cf1eb874c799739 Reviewed-by: hjk <hjk@qt.io>
* Utils: track last usage time for SettingsDataBase entriesDavid Schulz23 hours1-0/+27
| | | | | | | ... and remove values that are not used since a month. Change-Id: I6f1e9507a69df263e5fa3bfdd49a388c9569e0af Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Fix QSR 2.1 wizard and add a new QSR 2.2 wizard templateJussi Witick23 hours11-6/+339
| | | | | | | | | | There were some issues found in 2.1 template that needs to be fixed and 2.2 release will require new wizard due to API changes. Task-number: QSR-3071 Task-number: QSR-3083 Change-Id: If42abc4782c53add0b3e1363fde8ccf89f62963a Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* QmakeProjectManager: Fix "build single file"Christian Kandeler41 hours5-3/+31
| | | | | | | | ... in the presence of additional build steps. Fixes: QTCREATORBUG-29837 Change-Id: I320d1f81071e5f34ef4d9eba7c70d21d7c4b0ed4 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* QmlDesigner: Avoid crash without USE_PROJECTSTORAGEAlessandro Portale42 hours1-1/+1
| | | | | | | | | This avoids calling of updateModelNodeTypeIds with subsequent nullptr access due to uninitialized data structures. Perhaps, no QmlDesigner functionality breaks with this change. Change-Id: I084d47094e42be064e58bc9126f4f3e1543e0c6d Reviewed-by: hjk <hjk@qt.io>
* Lua: Add Action.setCheckedMarcus Tillmanns46 hours2-0/+25
| | | | | Change-Id: Ic7b7c9bf8296e3314dcca72065e3828a3e860557 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Add coroutine support for Result<>Marcus Tillmanns46 hours1-0/+121
| | | | | | Change-Id: I991ec2df0d559f96a28576df5611caf9e19d57eb Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Kits: Fix warning and persistence of "None" as a debuggerEike Ziller46 hours1-8/+14
| | | | | | | | | | | | | | | | | | | | The "None" entry for the debugger in a kit references the default DebuggerItem that has a default-constructed variant as its ID. The ID of the DebuggerItem is saved in the profiles.xml for the kit. The settings writing and reading did not support invalid variants as values though. It would write a value with type name "", and reading that back would write a warning and not restore the value. So a kit with "None" set for the debugger appeared as having no debugger set and got "fixed" with some debugger for the device. If available. If no debugger was configured for the device, the warning would reappear again. Add support for default-constructed variants to the settings saving, which fixes both the warning and the resetting of the debugger even if explicitly set to "None". Change-Id: Ie446fa2153ab1d5dc39ea67fd41327bf8b443e68 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Git: Branch View: Refresh after Create BranchAndre Hartmann4 days1-0/+2
| | | | | | | | | | ... from change context menu, but without checking out the new branch. Fixes: QTCREATORBUG-33846 Change-Id: Ifdc7c949951d20ccc3a79e8e6ee4ad9308cbf695 Reviewed-by: Robert Löhning <robert.loehning@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Git: BranchView: Allow cherry-picking a list of commitsAndre Hartmann5 days9-22/+92
| | | | | | | | ... instead only the top commit of the selected branch. Change-Id: I42cb6e682afd239ee374f475215e580288b5a681 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: André Hartmann <aha_1980@gmx.de>
* CMakeProjectManager: Respect device search paths settingsChristian Kandeler5 days6-18/+36
| | | | | | | ... when handling a tool detection request. Change-Id: Id899a7705afcaa27f3c3c679920aa1e2f89a9bea Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* ProjectExplorer: Include search paths in IDevice::toolDetectionRequestedChristian Kandeler5 days6-10/+17
| | | | | | | So that receivers have a chance to respect that setting. Change-Id: I36c17d923b62b04422cb747d0e1e9f53329379bb Reviewed-by: hjk <hjk@qt.io>
* QtSupport: Enable the "Link with Qt" button only for the Desktop deviceChristian Kandeler5 days1-24/+22
| | | | | | | The associated functionality is not supported for devices. Change-Id: Ic7cc977fdf3494590cf9ddae3e03cc09d574fe92 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Core: Disentangle settings dialog helper classes a bithjk5 days1-5/+5
| | | | | Change-Id: I622536c4d94111bb3547b4cffa70dc701db79c56 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Python: Move interpreter access from option page to option page widgethjk5 days3-146/+141
| | | | | Change-Id: I70f893911e4ffae0485dda80ecea951f3ca7be33 Reviewed-by: David Schulz <david.schulz@qt.io>
* Debugger: Fix connection to gdbserver if using ssh port forwardinghjk5 days1-0/+4
| | | | | | | | | ... when gdb runs under docker. Done-by: Dilshod Mukhtarov Fixes: QTCREATORBUG-33620 Change-Id: I93d37ab0902758e452604915e3d197e4a7194318 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Valgrind: Display more issuesChristian Stenger5 days1-0/+10
| | | | | | | | We handled them, but filtered them out for the display. Let the user decide whether to display them or not. Change-Id: If6d8f9100058e881ebf3743297d97aeb078cc5e6 Reviewed-by: hjk <hjk@qt.io>
* Improve usability of version dialog on WindowsChristian Stenger5 days1-3/+19
| | | | | Change-Id: I9cbc8951872305f09388a15915645a7801f70e57 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Include more and machine readable information with -versionEike Ziller5 days1-3/+11
| | | | | | | | | Add revision and date if applicable, print version info in more structured way. Fixes: QTCREATORBUG-33725 Change-Id: I76093d1663dc98d34e95d88666580b552b3fb3db Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* BridgedFileAccess: Fix translatable stringsEike Ziller5 days1-60/+80
| | | | | | | | | | | | | | Get rid of function for printing message with (potential) file path and exception string, that did some wrong assumptions about placeholders and did UI string arithmetics. Introduce a few simpler helpers instead and use these. Adds missing Tr::tr, missing quotes around file names, and generally cleans up a bit. Change-Id: Id1882e3c9d2ed6396da3cd0b8b95768a1c9b9e0b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Devcontainer: Show config files in project treeMarcus Tillmanns5 days1-1/+113
| | | | | | Change-Id: I3860823b7663580f19a0f2d7ffc8ad6a5c1ce614 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* CompilationDatabasePM: Make more device-awareChristian Kandeler5 days1-31/+35
| | | | | | Task-number: QTCREATORBUG-33739 Change-Id: Ifd6e6b32567aca9f609ebf647e755c469e2ba6cc Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Coco: Simplify settings page setuphjk5 days1-68/+30
| | | | | Change-Id: I1d4abea81b9b7dd97e28df17bc706b92af359870 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Core: Fix settings applyChristian Stenger5 days1-1/+1
| | | | | | | Amends 6b6ad7f36d96440a0a6b3cbb22131526ff07d7f9. Change-Id: I000e40be895a780b1a0f759d48cf4fd4860dbc47 Reviewed-by: hjk <hjk@qt.io>
* Valgrind: Update xml protocol handlingChristian Stenger5 days4-3/+49
| | | | | | | | We now support protocol versions from 4 to 6. Fixes: QTCREATORBUG-33759 Change-Id: I5c2666be5913dcd5efa91ec158abc0fed2f00a37 Reviewed-by: hjk <hjk@qt.io>
* CMakePM: Refactor CMakeProgressParserCristian Adam6 days1-24/+36
| | | | | | | | | | ... to only match progress according to the CMake generator. This removes useless Makefiles progress matching when using the Ninja generator. Change-Id: I72f4ff31eab8bbc2c3cc89f751297c41239ef8e5 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* CMakePM: Do not build `all` for a staging single targetCristian Adam6 days2-3/+58
| | | | | | | | | | | | | | | | When staging is used Qt Creator will add the "install" command to the CMake building command line. The "install" command has a dependency on the "all" target which would mean that the whole project will be built instead of the just one target that we selected. This patchset makes sure that for Ninja and Makefile generators the "sub/ dir/target/all" and "sub/dir/target/install" targets are build. Fixes: QTCREATORBUG-33580 Change-Id: Ia53ab48ac9e604d576992e3e386c76f5059aa150 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* qbs build: Re-enable the ability to configure CMake projectsChristian Kandeler6 days2-0/+14
| | | | | | | Amends 60aa562ef02c8b7929f339bb6cba810b1703a02b. Change-Id: Ie50be49f39b123023aec7474e92dc07b44093d30 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Core: Refresh Settings mode UIAlessandro Portale6 days1-24/+48
| | | | | | | | | | | | | Having been promoted to a mainwindow filling mode, the settings have now have more space and could be allowed to "loosen up" a bit like other modes do. - Adapt margins and spacings to those of "designed" modes - Use LayoutBulder - Use QDialogButtonBox for Apply/Cancel Change-Id: I4c6564c9c158ca614683ade97556900eb7b7acf7 Reviewed-by: hjk <hjk@qt.io>
* CppEditor: Fix compiler flag in CompilerOptionsBuilderJoker Principal6 days1-0/+4
| | | | | | | | | clang-cl consider "/clang:-std=..." as language version flag, currently we check only for "-std:..." to detect language version flag, so remove prefix "/clang:" and "-clang:" before checking. Change-Id: I4fd59ef06abe9de980c6c4fda84766470207cc18 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ExtensionManager: Reduce customOsTypeToString to OsTypeMacAlessandro Portale6 days1-8/+1
| | | | | | | OsTypeMac "macOS" is the only deviating one. Change-Id: I35fc3c6f2c19926592300874ac10793b4a67cd84 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* CppEditor: Merge AbstractEditorSupport and GeneratedCodeModelSupporthjk6 days12-119/+84
| | | | | | | | | ... and rename to GeneratedFileSupport. No need for this abstraction. Also, remove Q_OBJECT. Change-Id: Ib2cc6997c3eccf589558a19a9b243a5d3c620abd Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>