Jarek Kobus
31090ded15
FileSearch: Remove unused function
...
Change-Id: I8af9a3db055f530792e68095c22c696392f79872
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-05-25 07:01:14 +00:00
Eike Ziller
77c7a759b7
Merge remote-tracking branch 'origin/11.0'
...
Conflicts:
tests/unit/unittest/qmlprojectmanager/CMakeLists.txt
Change-Id: Ib6fd9bf09d654a7a2fe995dad3bcd93eacade2fb
2023-05-25 08:56:09 +02:00
Eike Ziller
55dadd4f95
Merge remote-tracking branch 'origin/10.0' into 11.0
...
Change-Id: I27e2c1c764f955d14bfece6cd580b4c2d2988396
2023-05-25 08:29:27 +02:00
Cristian Adam
0d3d4892c6
CMakePM: Fix Qt detection for Presets with toolchain file
...
When CMAKE_TOOLCHAIN_FILE and CMAKE_PREFIX_PATH were both set, the later
was ignored.
This resulted in Kits being created without Qt and without Qml
Debugging.
Task-number: QTCREATORBUG-28982
Change-Id: Ib45b4ac8335391f85a0b9c321196597d1c0a7a3f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-05-24 13:59:14 +00:00
Burak Hancerli
4734dfa1cc
QmlDesigner: Fix compile issues on macOS
...
Change-Id: Icaa6a85590c7471ed7129986353337c8cee7350e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
2023-05-24 13:03:53 +00:00
David Schulz
9bb126c0d6
Utils: make column of convertPosition 0-based to merge it into Position
...
Change-Id: I239b3cb33b8ad59ac4097c919155ab5ca7d57b8e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
2023-05-24 11:53:28 +00:00
Thomas Hartmann
0aac3bb569
QmlDesigner: Do not rely on implicit conversion
...
Change-Id: I48d325bccebfc809d70ceb118a962a8fae6eaac9
Reviewed-by: Marco Bubke <marco.bubke@qt.io >
2023-05-24 11:48:14 +00:00
Thomas Hartmann
9d37bb96c7
QmlProject: Fix comments in converter
...
Change-Id: Iedf7997e50031659847d05bccd7cf48e116c9809
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io >
2023-05-24 11:42:21 +00:00
Eike Ziller
f7d46f48f8
Build axivion support plugin
...
Adapts the CMake files, fixes license.
Change-Id: I6bdce2547d187bcabcc864026e36a1c924015c2a
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: hjk <hjk@qt.io >
2023-05-24 10:45:32 +00:00
The Qt Project
9f506956f7
Merge "Merge axivion plugin into 11.0" into 11.0
2023-05-24 10:45:01 +00:00
hjk
01019dfdb8
ProjectExplorer: Use FilePathAspect for some FilePaths
...
Change-Id: I35d55c82217e9ef9bbcf215c8360a111931c822c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2023-05-24 09:57:04 +00:00
hjk
75710fa369
Utils: Remove LabelPlacement::AtCheckBoxWithoutDummyLabel
...
This is identical in remaining functionality to AtCheckBox after
the recent layout builder changes (or rather, can be adjusted on
the layouting side by having appropriate empty cells)
Task-number: QTCREATORBUG-29167
Change-Id: Ic357de6fb756acb5926afe1fd361ee4b18b17afd
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-05-24 09:53:05 +00:00
hjk
0234ab6896
Utils: More aspects with new scheme
...
Task-number: QTCREATORBUG-29167
Change-Id: I76977d4d740556d28423ce9f632ee47e81822ee6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-05-24 09:49:56 +00:00
Alessandro Portale
86ff142f8e
Utils: Treat FilePath with variables as user input when expanding
...
When macro-expanding FilePaths with environment variables, it can happen
that non-conformant path separators end up in the intermediate expanded
string. For example with "%{Env:PROGRAMFILES}" on Windows.
Since we generally treat paths from environment variables as user input,
it makes sense to treat macros as user input as-well in this case.
Change-Id: I0daa57b7dbf3d8fd25c98fb82b2beb1bc6ded825
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: hjk <hjk@qt.io >
2023-05-24 09:30:26 +00:00
Eike Ziller
14698160ff
Merge axivion plugin into 11.0
...
Change-Id: I60290479f6b4bd8ff87e86f0cc6ded240803d43c
2023-05-24 11:22:26 +02:00
Brook Cronin
34a55df4ed
QmlDesigner: Add new mouse area icons
...
Change-Id: I3380f05a2c067d963af2ae5367c89c80de9dd3db
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-05-24 09:22:24 +00:00
Cristian Adam
bf4934feb9
CMakePM: Expand ${hostSystemName} for build presets
...
Fixes: QTCREATORBUG-28935
Change-Id: Ie645d80a9743108e3760096b6829e881677e249b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-05-24 09:14:40 +00:00
Thomas Hartmann
bd53675ac9
QmlDesigner: QmlModelNodeFacade should not have virtual functions
...
Change-Id: I61eca08e5d794b9cfb98e4194398201c7cc45633
Reviewed-by: Marco Bubke <marco.bubke@qt.io >
2023-05-24 09:13:57 +00:00
Marco Bubke
817253a4f5
QmlDesigner: Cleanup ModelNode and Co
...
Change-Id: Ibd630b258015a5e85ae8126193792a55bd8033c5
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
2023-05-24 09:07:42 +00:00
hjk
0d37a66b51
Squish: Adapt to recent aspect development
...
Change-Id: Ied7406af9c39d8b57b5b9064500e589e33fb86da
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-05-24 08:55:53 +00:00
Christian Stenger
080c5e82d2
Squish: Handle children for picked object
...
Change-Id: I39f392f4f619238b79e60d423dcb5ae36a9639a4
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-05-24 08:55:22 +00:00
David Schulz
bc9e90f8b6
LanguageClient: add projects filter function
...
Can be used to filter projects get reported to the language client on
server startup and when a project gets opened.
Change-Id: I8cfbc45ecb5251fcaecf2c331a9f1eff966c8db1
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
2023-05-24 08:50:44 +00:00
hjk
beea9ec157
McuSupport: Move McuBuildStep to .cpp
...
Not needed publicly.
Change-Id: I0e8ddd3e260fb87bedc9ea1478e440e99bd2e203
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-05-24 08:32:02 +00:00
hjk
06b276f68f
McuSupport: Use new FilePathAspect for FilePaths
...
Change-Id: I98cb17f39af624f1ec06529932d4e52cda5a3661
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-05-24 08:31:51 +00:00
hjk
d9f6537c43
Beautifier: De-QObjectify AbstractSettings
...
Change-Id: Id5045f48c52c7304dc440bb2c83082cc7e628143
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-05-24 08:31:36 +00:00
Marcus Tillmanns
aace4c44fa
ProjectExplorer: Placeholder for custom executable
...
Previously when creating a custom executable run config, the
path chooser would display a red "<unknown>". This improves
the message to tell the user whats needed.
Change-Id: Ib521cde1a4f5b836cb865428f65f956a63bce3b4
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io >
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
Reviewed-by: hjk <hjk@qt.io >
2023-05-24 08:26:37 +00:00
Leena Miettinen
c124e837c5
Doc: Add docs for Utils::Environment::systemEnvironment()
...
Because we link to it from the Utils namespace docs.
Change-Id: I4d320b34687e7a6304cbedcbf7e2e5d3a43642b6
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-05-24 08:26:34 +00:00
Christian Stenger
29d3a1aef2
QmlProjectManager: Fix Qbs build on Windows
...
Change-Id: I58057e88293017ece5d0026e2b2708e6d3f48d30
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-05-24 07:41:13 +00:00
hjk
b2c69b947f
Python: Adapt PySideBuildStep to recent FilePath{Aspect} changes
...
Change-Id: I866b49733f3007e4f029fb25f8519a1c5b690370
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-05-24 07:28:59 +00:00
hjk
49b0238446
Python: Move PySideBuildConfiguration to .cpp
...
Not publicly needed and closer to the generic pattern.
Change-Id: I886f95c24b957b8d3943cd115814bceb6a76b651
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-05-24 07:27:17 +00:00
Eike Ziller
818aeb235f
Build/Core: One line per file, sort
...
This is easier to navigate and adapt.
Change-Id: I15b99e99f2700922b8d5816adcea52e2e793ab90
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: hjk <hjk@qt.io >
2023-05-24 07:25:04 +00:00
Eike Ziller
c713e4aaa2
SessionModel: Simplify data() method
...
Change-Id: Id8f1a4e1cecb30a3ade69e7eec8a0420c1425d40
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-05-24 07:24:58 +00:00
Eike Ziller
7dfc775ace
Move session macro and saveSession trigger to SessionManager
...
Change-Id: Ie0e07621fe9f33e69ee99f6d20bb42a8627e7729
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-05-24 07:24:47 +00:00
Eike Ziller
e26938beeb
Move handling of session menu to SessionManager
...
Change-Id: Id2d6843eba10f7d89b078b558771989dfe34fb13
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-05-24 07:24:38 +00:00
Christian Stenger
a9b504311a
McuSupport: Fix Qbs build
...
Change-Id: If4563f5d71b0c0100c2a7d419d3bbb4af570e1ed
Reviewed-by: hjk <hjk@qt.io >
2023-05-24 07:14:29 +00:00
Christian Stenger
6448efba0f
ADS: Fix Qbs build
...
Change-Id: Ie7d7dba3bc8da21e65f2ff4d1c2aad534729429c
Reviewed-by: hjk <hjk@qt.io >
2023-05-24 07:14:17 +00:00
hjk
42a162c9af
Python: Use FilePath::searchInPath instead of Environment::findInPath
...
That's the last remaining users.
Change-Id: I14ce380b9c96b2197e478600a46ca725ed1acfbf
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-05-24 07:00:28 +00:00
Leena Miettinen
ec9d9586fc
Doc: Add \a commands and document Utils::MathUtils namespace
...
Fixes qdoc warnings.
Change-Id: I666e6db9ee3a3a5c83f093f2e48981701f137d5c
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-05-24 06:53:24 +00:00
Leena Miettinen
d10eac94ea
Doc: Remove obsolete docs for IExternalEditor
...
To fix qdoc warnings.
Change-Id: I02694e2a6b7f2ed7f5ed5d3b397159ebf327d148
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-05-24 06:52:56 +00:00
Leena Miettinen
74f0424020
Doc: Fix typo in signal name in the \fn command
...
Change-Id: Ie7b365371fedb0304d3ac73dcda948832d88fb49
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-05-24 06:52:39 +00:00
David Schulz
305fae9a4a
Copilot: shutdown plugin asynchronously
...
Wait for the client to finish. This fixes a crash when running the
plugin unit tests of the copilot plugin.
Change-Id: Id0805cb628a79316cd904350bb159ff1369a03b9
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-05-24 06:50:06 +00:00
Mitch Curtis
00d156c8ca
Fix exclusion pattern tooltip text
...
It says "included" instead of "excluded".
Change-Id: Ib74f2adbc6e6f10a9ff79662e5be609a89fe89d6
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-05-24 06:03:01 +00:00
Orgad Shaneh
861b98a76a
FilePath: Remove const ref for enum argument
...
Change-Id: I86c5466cdcd8f74816456e70463157f28a4e37bc
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
2023-05-24 05:58:48 +00:00
Eike Ziller
af5bb5e599
Adapt for easier merge into main repository
...
Remove conflicting files and already move to the right place
Change-Id: I2b20f4aa85e61ff121acb68aaab5d5e1fdd87956
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: hjk <hjk@qt.io >
2023-05-24 05:54:56 +00:00
Cristian Adam
c1cdea2661
CMakePM: Consider quoted file names for file operations
...
It is not uncommon for projects to use quoted file names, which would
break the new file operation support for CMakeLists.txt files.
Change-Id: I8dc5d6843f1723c5709cef28cf3bf89a5c87ec2a
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-05-23 16:27:14 +00:00
hjk
443117e314
Nim: Use a FilePathAspect for nimsuggest settings
...
Change-Id: I7e910853dcf6872f2a9a38ebfc5e52936ef15113
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-05-23 15:43:17 +00:00
Alessandro Portale
815a05a94a
QmlEditorWidgets: Fix color popup for Rectangle widget
...
The color buttons for background color and border color did not open the
color picker popup. The buttons need to be set checkable, which broke
while "inlining" .ui files.
Amends: 200a66644e
Fixes: QTCREATORBUG-29195
Change-Id: Icd71df1bcfad6472a90691d2c353f7039b52004e
Reviewed-by: hjk <hjk@qt.io >
2023-05-23 15:24:08 +00:00
hjk
3c9bb1c53d
Incredibuild: Use FilePathAspect
...
Change-Id: I02f09860ae81f060adeee0839e20740be802da9a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-05-23 15:23:57 +00:00
Cristian Adam
2f04f08611
CMakePM: Remove comment line lexer addition
...
This brings the lexer back to vanilla CMake version.
The comment arguments were not needed in the implementation of
source file addition / rename / removal operations.
Change-Id: If28b738b9ce93511b109fe09dcd03f42ee07a431
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-05-23 14:58:27 +00:00
Cristian Adam
b90600e674
CMakePM: Move cmListFileLexer.c as cmListFileLexer.cxx
...
This way Qt Creator will not have two code model language contexts
for the CMakeProjectManager.
Change-Id: Ie71b845779aff472836b164a5c65fdc7d75debb1
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-05-23 14:55:50 +00:00