Commit Graph

82976 Commits

Author SHA1 Message Date
hjk
428f62a7fe Meson: Inline NativeFileGenerator into its only user
Also, filepathify and simplify surrounding code a bit.

Change-Id: I963bbc95a81d753918b6734870630b539378f03e
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-06-23 06:26:52 +00:00
Christian Stenger
0f2fbe4f6f McuSupport: Fix qbs build
Change-Id: Icd881dfaabcf8d4ed8bd63d4c6653348234ac77c
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-06-23 06:12:06 +00:00
David Schulz
9452c433a2 ClangTools: fix warning text mark color
Change-Id: I37e45990a3bcb23b16ccdeee5886c5d80f55cc43
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-23 05:45:49 +00:00
David Schulz
e2f957b184 ClangTools: lower priority of warning marks
In order to not overwrite errors reported by clangd lower the priority
of clang tool marks if they only contain a warning.

Change-Id: Ida1c39ab11aaeb0c70f674c53762fa2707bec766
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-23 04:52:23 +00:00
Christian Stenger
eb7d0727e6 Copilot: Fix compile
Change-Id: If9e2c6486e2ac9b80069947063e80336567fbdbe
Reviewed-by: hjk <hjk@qt.io>
2023-06-23 04:29:45 +00:00
hjk
e419dbbb78 Meson: Emit parsing finished when done
Also, trigger build button re-check the hard way

This should not really be necessary, but the code paths on the
core side are still quite twisted. The extra notification here
is harmless in price, and removes the showstopper of not getting
a buildbutton.

Change-Id: If4bec892b4ebea533a95033629df60fa564985f3
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-06-22 16:38:03 +00:00
Alessandro Portale
c9c029ebd4 QmlDesigner: Inline timelinesettingsdialog.ui
Change-Id: Ib590944e3dcf8f1069bdeeb08b206a9ca9de5ce1
Reviewed-by: hjk <hjk@qt.io>
2023-06-22 15:35:05 +00:00
Alessandro Portale
22d5807799 QmlDesigner: Inline timelineanimationform.ui
Change-Id: I0f41837cf51c09ca753aae0c68bdc9775f66beeb
Reviewed-by: hjk <hjk@qt.io>
2023-06-22 15:35:01 +00:00
Alessandro Portale
ae83cc375b QmlDesigner: Inline timelineform.ui
Change-Id: I81e26b62fb289ca95d04b9f8a755de7251c52f6a
Reviewed-by: hjk <hjk@qt.io>
2023-06-22 15:34:56 +00:00
Knud Dollereder
4d51605866 Make locked curves brighter
Locked curves had roughly the same color as the background color
of the curveeditor. They are now a little bit brighter in order
to see them better.

Fixes: QDS-10130
Change-Id: Ic9cfc8358d9e1f2d4df132b27cb286653a0c35e8
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-06-22 15:31:00 +00:00
hjk
0cf1477324 Debugger: Split out gdb related options into own page object
Goal is to make option setup more similar to the other "simple" pages.
The GdbOptionPage is now separated in the setup code, but aggregated
into the old place and accessed there.

The per-backend separation seem quite weak, a full split would currently
need to have include gdb/* in several places now is an indication
that the gdb/non-gdb split in the options is dubious at best.

Change-Id: Iad210016739aa4a63645731e16825f546bdd5e8a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-22 15:22:38 +00:00
hjk
091b853068 Utils/Core: Make an aspect container layoutable
Most aspect containers end in a widget at some time. Let them declare
how.

The optionspages don't need a layouter anymore when using their
settings' one. There was only one case where there was none, fix
that one (perforce).

Change-Id: Ibd39bcd4af98c3eae1daafa59f6c1d6e7a571989
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-06-22 15:22:01 +00:00
The Qt Project
88f1779167 Merge "Merge remote-tracking branch 'origin/11.0' into qds/dev" into qds/dev 2023-06-22 14:51:12 +00:00
Tim Jenssen
846f8dba92 Merge remote-tracking branch 'origin/11.0' into qds/dev
Conflicts: src/plugins/qmldesigner/components/stateseditor/stateseditorwidget.cpp
  src/plugins/qmldesigner/components/stateseditornew/stateseditorwidget.cpp
  tests/unit/unittest/qmlprojectmanager/projectitem-test.cpp

Change-Id: Icdb63851ec0162d82217e85b3beb0b6f9f12899e
2023-06-22 14:50:56 +00:00
Knud Dollereder
802d1227ea Set a minimum section size in curve editors treeview
This fixes a bug on some systems where resizeSection did not work
as expected making the sections for the icons too wide and therefore
the item names unreadable for the default treeview width.

Fixes: QDS-10131
Change-Id: I10242a7f3f96c580b3256f7ca420466173581e35
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-06-22 13:44:45 +00:00
Artem Sokolovskii
03aeee71f4 DAP: Add showing locals and stack trace
Change-Id: I5298b4c2daf45ec4503d4a210e02b7025253c054
Reviewed-by: hjk <hjk@qt.io>
2023-06-22 13:31:57 +00:00
Christian Kandeler
c3fd118c62 ProjectExplorer: Bring back auto-detection of ccache toolchains
... and other special toolchains not in PATH.
Amends cacc4aeede.

Change-Id: I300f7d719c9e101c24e3750dd7afd54dd338b58d
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-06-22 12:37:43 +00:00
Leena Miettinen
596be71a89 Doc: Rewrite known issue about Ctrl+Shift+U on Linux
Change-Id: Ia14c89097b06f25649bc155c0c31734fd612b603
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-06-22 12:28:31 +00:00
Eike Ziller
3ff21fe3e1 Bump version to 11.0.0-rc1
Change-Id: I7b6fa9105858996a82584a417520d8e241c9c1e8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-22 12:04:56 +00:00
Olivier Delaune
153cd8464d Update many French translations
Change-Id: I2a006464070dc766df377b8da32c0b443854f05c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Johnny Jazeix <jazeix@gmail.com>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-22 11:41:59 +00:00
Marcus Tillmanns
f29b54d8a1 Autotest: Use FilePath::searchInDirectories
FilePath::searchInDirectories handles absolute paths on devices
better unlike Environment::searchInPath() which requires
a QString argument.

Previously the device:// part was dropped when trying to run
remote tests.

Fixes: QTCREATORBUG-29183
Change-Id: Idd04cdb8798d04abf88ab6cb4b68eb73d890a482
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-22 11:31:51 +00:00
hjk
67ec9bbce0 QmlProjectManager: Compile fix after Qt source compatibility break
error: operands to '?:' have different types 'QStringBuilder<const QString&, QString>' and 'QStringBuilder<QString, QString>'

Caused by af8f9a2a6e3dbc8.

Change-Id: Ia3dfca2cb5f1cb1855f25d178f63898eb6745c46
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-22 11:28:15 +00:00
hjk
8d84ae37e9 Debugger: Fix some Qt dev deprecation warnings
Change-Id: I3a35b7d30b749a7139a54097aa73681a0b870e29
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-22 11:17:50 +00:00
Eike Ziller
6479785c20 Merge remote-tracking branch 'origin/11.0'
Change-Id: Icb3ed8a1aaf31e8201a61d04221bfcb23a78562a
2023-06-22 13:09:00 +02:00
Marco Bubke
dfe7789506 Googletest: Use add_qtc_library
add_qtc_library makes the code much more readable.

Change-Id: I60b397f3dc19de6911263c0818a25b41ab5a4209
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-06-22 10:19:57 +00:00
Marco Bubke
44565bc39b GoogleTest: Hard wire google tests
There were problems with older google test versions which were found
instead. Now the google test version is always the same and there cannot
be "strange" compile bugs.

Change-Id: Ib3dc74d1abbe369fb37a4ee5616011d8e3696c01
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-22 10:19:50 +00:00
Christian Kandeler
87861cf7ee Wizards: Format generated code according to current style
Needs ClangFormat to be enabled.

Task-number: QTCREATORBUG-25065
Change-Id: I127da0f9ac55af7f19dead19b28470a9b72c4ee5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-06-22 09:20:21 +00:00
hjk
369cba84bb ProjectExplorer: Robustify KitModel access
This is not a proper fix but prevents a crash and is otherwise
harmless.

Some tree traversal seems to be able to hit non-leaf KitNodes
that don't have m_kit set.

Change-Id: I4328069ba9b82bb66dfa2c1e0d148a717d594a4b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-06-22 09:04:05 +00:00
Marcus Tillmanns
68b750d83d RemoteLinux: Use FilePath to create directories
Change-Id: I90986632fd601b588f7ca0459b5eb62ac2379d97
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-06-22 08:47:27 +00:00
Miikka Heikkinen
aef755bc16 QmlDesigner: Make import button default in 3d asset import dialog
Fixes: QDS-10120
Change-Id: I65c7ec53ef7b8e74e7851aee301e5a95e25115b9
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-06-22 08:35:03 +00:00
Marcus Tillmanns
39837d9c26 Utils: ensureWritableDir returns expected_str
Allows calling code to get better feedback to user.

Change-Id: I6d11787d314921dc052e87a8348683b221a17425
Reviewed-by: hjk <hjk@qt.io>
2023-06-22 08:23:33 +00:00
Jarek Kobus
c28f40fff1 Spinner: Add some docs
Change-Id: Ia8717ac93c92e03d27fc4b8c93a32b7785ccc3e9
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-22 08:22:09 +00:00
Miikka Heikkinen
f68fe887f0 QmlDesigner: Align camera buttons work on any camera on scene
It's no longer necessary to select camera to be able to align it.
Targeted camera is selected according to this priority list:
- Selected camera
- Previously selected camera
- Camera explicitly set as the camera for View3D of the scene
- Any camera

Fixes: QDS-10045
Change-Id: I3eedc92b7523e77ed5bc52f116ef83b4fe599b35
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-06-22 08:21:11 +00:00
Miikka Heikkinen
d066a848fb QmlDesigner: Make particle seeker slider follow action enable state
Slider widget for particle seeker is recreated whenever slider changes
between being shown on the toolbar and being moved behind the extension
button. However, the widget shown in the extension menu didn't follow
action's enabled state.

Fixed by making the slider's enabled state explicitly follow the
associated action's enabled state.

Fixes: QDS-10057
Change-Id: Ie5f14d0072bab0a1c0b396c0589d39758990acef
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-22 08:20:46 +00:00
Thomas Hartmann
bc3a8201ad QmlDesigner: Fix build
Change-Id: I8ae0671c43b0ea2662513b714e5343e6a29d248e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-06-22 08:18:02 +00:00
Jarek Kobus
cb91f85be0 TaskTree: Add documentation for custom tasks
Change-Id: I737390ed23bea7cd32df08623e95df6bb472642e
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-06-22 08:15:33 +00:00
Thomas Hartmann
31895b55c8 QmlDesigner: Remove unused reference parameter
Change-Id: I28b835c9c2e0c687a9f2a8549a7ded4ddcaa5257
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-06-22 08:05:14 +00:00
Miikka Heikkinen
5eeae78fc9 QmlDesigner: Allow copying text from bake lights progress dialog
Fixes: QDS-10052
Change-Id: I6ca030f71c76d4153a715d4e74e9a0a6d6a127a2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
2023-06-22 08:05:10 +00:00
Thomas Hartmann
cfafb36fbd QmlDesigner: Move isArray to MetaInfo API
Change-Id: I7e011d2529e0f940295845c4e259234b05690536
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-06-22 08:04:49 +00:00
Thomas Hartmann
c5117d0de1 QmlDesigner: Rename QmlDesigner::Utils to QmlDesigner::ModelUtils
Change-Id: Ie586482c49e84660cb725f4581fd9413e42f80a8
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2023-06-22 08:04:18 +00:00
Thomas Hartmann
fc4138d491 QmlDesigner: Add metaInfo to modelutils.h
This simplifies the API to retrieve a PropertyMetaInfo.

Change-Id: I937485a573c2149c7bd514cc0317c2b6014eba81
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-22 08:04:07 +00:00
Eike Ziller
f909a21af1 Scripts: Make codesigning available more directly
Codesigning is done implicitly when using e.g. build.py
but sometimes doing it explicitly is convenient.
Add a main() to common.py and add arguments for triggering
codesigning:

python3 common.py codesign -s identity app_bundle

Change-Id: I8b0f766cfae0ea9d8173f331792a14964993d705
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-22 07:59:02 +00:00
hjk
6b5276220e Utils: Move bool aspect to second column in forms by default
Also let the user opt out if necessary.

Change-Id: Ia7483a3b3de1ce0c119e00594b722e38fa2d0bb2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-22 07:53:58 +00:00
hjk
fff258638f Copilot: Keep urls outside translatable strings
Change-Id: Idf81efda39a2dcaa4c20e698f109fda5555537be
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-06-22 07:18:22 +00:00
hjk
0bc14bfd7d Core: Remove some unneeded semicolons
Change-Id: Iba7cbd09a879e4ae904fab2abd8acf74715c5b4d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-22 07:18:09 +00:00
Jarek Kobus
434d677b3e TaskTree: Hide some parts of the API in protected/private sections
They are meant to be used from subclasses only.
For the private virtual TaskInterface::start() -
it's meant to be implemented from subclasses only,
but not to be called from them.

Change-Id: I526c40766c204c868b4b3c857a382b2b61bbadd0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
2023-06-22 07:15:16 +00:00
Leena Miettinen
d8c8a005c3 Doc: Fix links to restructured I18N documentation
Some titles were changed in Qt 6.5.

Change-Id: Ie3fa9bbe8ddf9453b615868016411e0938f79834
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2023-06-22 07:00:39 +00:00
Miikka Heikkinen
6fcbc7dd96 QmlDesigner: Fix QT_NO_SSL build
Change-Id: I313231142115acd00e9076df1e551c65490f8c48
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-22 06:52:52 +00:00
hjk
1e7f68e296 Debugger: Fix Gdb CLI dumper output
Patch from hunk #2 in the report, hunk #1 was handled by 76260f8038.

Fixes: QTCREATORBUG-28659
Change-Id: I674b742869f8b834d039fbbfc599a3261d76b054
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-22 06:16:10 +00:00
Christian Stenger
80de04d21c Do not let Squish's DYLD_* paths interfere with QC
Add some crude hack to make QC work correctly when started from
Squish.
Squish explicitly sets DYLD_* paths but preserves the original
content in separate variables.
The modification is necessary from Squish's side to be able to
hook into QC, but these modifications interfere e.g. when
executing qmake from a different Qt version.
Use the preserved values and set them internally if needed to
get a corrected run environment.

Change-Id: I2c1c8aa79ad37463e0b974ec3ce18ff32d8e12a9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-21 13:14:05 +00:00