Commit Graph

8660 Commits

Author SHA1 Message Date
Eike Ziller
ca3f7a7bb2 Wizards: Improve the bundle id for mac/iOS
If an iOS developer doesn't have a wildcard app identifier registered,
the app identifier must be in some sense "unique". So just
"my.example.com" creates issues in this situation.

Qt >= 6.1 tries to set a better bundle id, reading Xcode settings for
the last used prefix there, and Qt 6.4 improves on that in case this
Xcode setting is not available. So, try to use this mechanism in the
wizards.

Even with the automatic deduction of a bundle id, this might be
completely wrong (the Xcode setting is whatever was used last in a Xcode
wizard, regardless of target platform, it can be different for different
users, or for different teams that the user works in), and Qt doesn't
set it for macOS, so aside from out-of-the-box experience the user
should set an explicit bundle at some point.

So, keep the CMake property mentioned with a comment in any case.

Fixes: QTCREATORBUG-29340
Change-Id: I9dacae5c693ec2e23a9cf8bad660ad939303dbf3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-07-06 07:14:00 +00:00
Alessandro Portale
b4dd53f9fe Vcpkg: Fix the plugin string translation context
It is supposed to start with "QtC::"

Change-Id: I9cb0b34bc7c42b4cfb58753ceb36db532e2236db
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-05 12:53:25 +00:00
Henning Gruendl
13c0fd2a0c QmlDesigner: Add title bar icons to icon font
Change-Id: If4b094723f0638f4e09f9b42312e0d14400e6067
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-07-05 09:31:51 +00:00
Eike Ziller
3b4a852637 German translation: QmlJS(Editor|Tools|Preview|Profiler)
Change-Id: I2643131f416f0c8cd60766882faba07a337e5f25
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-05 06:10:36 +00:00
Eike Ziller
fbdbaa8a84 German translation: Utils, Valgrind, VcsBase
Change-Id: Ib0fa7a241450c9ceabef746b83b4df533e60875c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-05 06:10:26 +00:00
Eike Ziller
fbd8bbff47 German translation: Python, qmt, ScxmlEditor, TextEditor
Change-Id: I8f3561f69c0df09b01cef7c08e61b297d599076a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-05 06:10:18 +00:00
Eike Ziller
9804186523 German translation: Update Bookmarks, CMake, Core, CppEditor
Change-Id: Ie866b45390e9e37e825ad339f8ca6688fd7c6f7e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-05 06:10:04 +00:00
Eike Ziller
4e9b45dc5b German translation: LanguageClient, ModelEditor, Perforce, PerfProfiler
Change-Id: I0ae68cc3f2dff8044023d5a70d3b45f93543bc6b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-05 06:09:56 +00:00
Eike Ziller
a841add9bf German translation: Debugger, FakeVim, Fossil, Git, Help
Change-Id: I77bd7d5e38510e60bf34087b32418ea9f47411f4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-05 06:09:49 +00:00
Tim Jenssen
d9910058a3 Merge remote-tracking branch 'origin/qds/dev'
Change-Id: I91d9877ef6637d21e1106d6d363275295e6b55a3
2023-07-04 20:36:03 +02:00
Tim Jenssen
48230d63b8 Merge remote-tracking branch 'origin/11.0' into qds/dev
Conflicts:
 src/plugins/qmldesigner/CMakeLists.txt
 src/plugins/qmldesignerbase/CMakeLists.txt
 src/plugins/qmlprojectmanager/CMakeLists.txt
Change-Id: If706ae3fe7a7d0e17036ce6285bec772d1f6127d
2023-07-04 16:22:32 +00:00
Eike Ziller
a490625394 Merge remote-tracking branch 'origin/11.0'
Change-Id: Ie4b1f249d1a5b7835022f367ee6b1c8a3c953f0b
2023-07-04 12:57:47 +02:00
Eike Ziller
0c31474ed3 Wizards/CMake: Make sure GNUInstallDirs is included
Qt 6.4 automatically includes GNUInstallDirs, but before that it didn't.
And for the "plain" projects Qt isn't even used. Since the project
templates use CMAKE_INSTALL_LIBDIR etc, they must ensure themselves that
these are actually available.

Fixes: QTCREATORBUG-29067
Change-Id: Id304b829301a33720d8f6c4a9c89157e8fc1c4a9
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-07-04 09:29:20 +00:00
hjk
1d1eb9c3a2 Templates: Use C++17 compact namespaces in the plugin template
Change-Id: If4c8540e4d1d9b42efcd1c039c28f85bd0fb98fd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-07-04 06:52:07 +00:00
Eike Ziller
26e96bfad8 Merge remote-tracking branch 'origin/11.0'
Conflicts:
	src/plugins/debugger/debuggeritemmanager.cpp

Change-Id: I9d99d13feff9315f52eacbd84857c63cb69bf804
2023-07-03 10:24:09 +02:00
Thomas Hartmann
624774118e QmlDesigner: Remove Qt 5 option from 3D wizard
Change-Id: I897fbc7cf88e463a5aa52384adf28b36d1042519
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-06-30 08:06:27 +00:00
David Schulz
596cd204e1 Dumper: fix array 10000 format
Fixes: QTCREATORBUG-29196
Change-Id: I23ddb17ac3f378b6602057c1964ef5984b83e245
Reviewed-by: hjk <hjk@qt.io>
2023-06-30 07:47:27 +00:00
Mahmoud Badri
cc244f6bed QmlDesigner: Expand matched bundle effects sections on search
Fixes: QDS-10193
Change-Id: I66acdab870cd358b2c70811fc30e190c068b652f
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-06-29 11:56:10 +00:00
Mahmoud Badri
2b3ffe61c9 QmlDesigner: Add effects bundle to the Content Library
Fixes: QDS-9683
Fixes: QDS-10167
Fixes: QDS-10171
Fixes: QDS-10191
Fixes: QDS-10192
Change-Id: Ia6f764737783277c719109b28fad248ae3ea2990
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-06-29 09:30:59 +00:00
Henning Gruendl
37983e0c53 QmlDesigner: Fix assets library indicator icon
* Add proper themeable indicator to expandable TreeViewDelegate
* Adapt font pixel size to property editor section head

Task-number: QDS-10106
Change-Id: If9cef52bfeedaf8fcdd734f0c7564701f25e2114
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
2023-06-28 12:23:11 +00:00
Eike Ziller
8bd6c95c97 German translation: Update .ts file
Check out with submodules (`git submodule update --init --recursive`).

Configure Qt Creator:

    cmake "-DCMAKE_PREFIX_PATH=<qt_path>;<llvm_path>" -DCMAKE_BUILD_TYPE=Debug -G Ninja <src>

Generate ts file:

    cmake --build . --target ts_de_cleaned

Change-Id: Ib114f0de399ad959e2f1e31a942ac144b0c5d6cc
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-06-28 08:49:30 +00:00
Olivier Delaune
f3121a1c6b Update many French translations
Change-Id: I2a006464070dc766df377b8da32c0b443854f05c
(cherry picked from commit 153cd8464d)
Reviewed-by: Olivier Delaune <olivier+qt@delaune.info>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2023-06-27 14:07:46 +00:00
Miikka Heikkinen
53bb2f95e5 QmlDesigner: Fix rename context menu option in material browser
The method the rename context menu option calls was moved in
a recent refactoring.

Fixes: QDS-10170
Change-Id: Ia96efa0782a4b62f07ea0e7cfd9b0d9588595d06
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-06-27 11:49:38 +00:00
Eike Ziller
606be1f69f Merge remote-tracking branch 'origin/11.0' into work
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs

Change-Id: Ib4653a1ce75c7cce658f4bb843481de014d0fcf7
2023-06-26 12:12:58 +02:00
Aleksei German
474e7fff47 QmlDesigner: Fix missing property in MCU template
Task-number: QDS-10091
Change-Id: I2f3c0949aea394761eb53f0f20081c1834c8dee5
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
2023-06-26 09:47:47 +00:00
Marcus Tillmanns
456a019f2d Debugger: Don't spam app output
Only errors should be displayed in the App output.
Everything else is just noise.
To keep the information for debugging purpose we log it to the
Debugger Output View instead.

Fixes: QTCREATORBUG-27160
Change-Id: I37301edd2f6638e2b4152d1bf7b89a40c9c3c0af
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-06-26 07:40:58 +00:00
Marcus Tillmanns
31c6ff495a Debugger: Fix remote debugging macosx apps
Change-Id: I5328069ba9b82bb66dfa2c1e0d148a717d594a4b
Reviewed-by: hjk <hjk@qt.io>
2023-06-23 11:57:34 +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
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
Eike Ziller
6479785c20 Merge remote-tracking branch 'origin/11.0'
Change-Id: Icb3ed8a1aaf31e8201a61d04221bfcb23a78562a
2023-06-22 13:09:00 +02: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
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
Knud Dollereder
9021558bcc Fix policy warnings in project templates
When compiling default created projects with Qt 6.5 and cmake
warnings about Qt policy QTP0001 where issued. This is now
fixed for the project templates. A second patch for the
qtquick-components repo will be provided to get rid of the
remaining policy warnings

Change-Id: Ia701a0cc7e030c9cb1459dc48e5ed2a91a6c6c0e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2023-06-20 13:44:08 +00:00
Eike Ziller
0f9b118776 Merge remote-tracking branch 'origin/11.0'
Change-Id: Ib798dc9922c01b7667388ca03d3a248610f73028
2023-06-20 10:36:06 +02:00
David Schulz
c7b8ed520d Debugger: avoid recursive pointer type lookup
the std::nullptr_t gets reported as a pointer type with std::nullptr_t
as the target type. In order to avoid a recursive lookup check whether
the target type name is identical to the pointer type name.

Fixes: QTCREATORBUG-29291
Change-Id: I25373bf56b5538b9e5c14c34b9a5e501b5803fea
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-19 17:18:18 +00:00
Marcus Tillmanns
7a210c41b4 Debugger: Add support for newest libcxx std::string
Fixes: QTCREATORBUG-29230
Change-Id: Ie3e0d0d56a1b07767ea702a03b2390b42a478376
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-19 12:32:14 +00:00
Aleksei German
c0ef0895b3 QmlDesigner: Cleanup MCU template
Change-Id: Id75b042921fd2e3c6644abfce10a752ca20ff0a4
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-06-16 13:38:59 +00:00
Henning Gruendl
21305dfeba QmlDesigner: Fix premature default state reset
Task-number: QDS-9433
Change-Id: I2709a52d0d23cfe1a1ead91a0c19f5a959e62540
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-15 09:15:32 +00:00
Samuel Ghinet
fb042cba21 QmlDesigner: Use new icon(s) for update button for textures
Task-number: QDS-9855
Change-Id: I012c1e96a11216a30da6e15124d55733da2fdcdc
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
2023-06-13 17:37:32 +00:00
Aleksei German
d80bd29feb QmlDesigner: Fix for missing ItemBuffer properties
Task-number: QDS-10077
Change-Id: I19f0862a9c3ef99a4e0389f3271306212ba94239
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-12 12:38:10 +00:00
Henning Gruendl
e14a2d5285 QmlDesigner: Close origin popup on selection change
Task-number: QDS-10083
Change-Id: I9a5b47ac1851de1ed8121a2545bf19a2390584eb
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-06-12 11:54:29 +00:00
Eike Ziller
ea56417410 Merge remote-tracking branch 'origin/11.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs

Change-Id: Ide0650d70d5dbd32a5492c8db24089925251af12
2023-06-12 12:33:26 +02:00
David Schulz
a0969feadf Python: use one line for each file in the template project files
Change-Id: I4fd921b11a488346cd3b53c9953881111c664764
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-06-12 09:54:24 +00:00
Thomas Hartmann
b6050d6f0d QmlDesigner: Use StudioQuickWidget in StatesEditor
The context property canAddNewStates is moved to the
statesEditorModel.

The statesEditorModel is moved to the backend singleton
under the namespace StatesEditorBackend.

Imports for StatesEditorBackend added.
StatesEditorBackend used to qualify statesEditorModel.

Change-Id: I1d4493751ac7b01101060e30f385562a6dfe58c3
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-06-09 15:29:49 +00:00
Eike Ziller
375db16ac4 Merge remote-tracking branch 'origin/11.0'
Change-Id: I87b22a73427cf9fc1b96075dc0db769ed3d3621c
2023-06-09 11:24:29 +02:00
Alessandro Portale
335b70de5d Application Templates: Fix QDS compatible project
This adds the newly introduced insight file to the file list.

Fixes: QTCREATORBUG-29234
Change-Id: I1d10e48a03d1147c4633b77e2a7384a073b5c1de
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-06-09 05:00:56 +00:00
Christian Kandeler
8e75381fce CppEditor: Give C++ file name settings a per-project variant
Fixes: QTCREATORBUG-22033
Change-Id: If37517bb091438e70c5af5102bf833ed46d0c951
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-06-08 08:23:01 +00:00
Henning Gruendl
d87e420b39 QmlDesigner: Remove old states editor QML source
Task-number: QDS-10037
Change-Id: I3fac32afa35940bd857df04ad5f1a0ba2695401e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-06-07 10:16:27 +00:00
Samuel Ghinet
616c53d0e6 QmlDesigner: Make textures updatable
Fetch the new textures from the remote server

Also, disabled tst_qml_wizard, for now.

Task-number: QDS-9607
Change-Id: I35081b90afadddff8d8c4b32da8bed82996304cd
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-06-02 19:46:33 +00:00
Tim Jenssen
002d84cb15 Merge remote-tracking branch 'origin/11.0' into qds/dev
Conflicts: src/plugins/qmldesigner/designercore/metainfo/metainfo.cpp
  src/plugins/qmlprojectmanager/cmakegen/generatecmakelists.cpp
  tests/auto/qml/qmlprojectmanager/fileformat/fileformat.qbs
  tests/auto/qml/qmlprojectmanager/fileformat/tst_fileformat.cpp

Change-Id: I257f1908917bcc58805619b53b6866f2f73ca544
2023-06-02 19:26:05 +00:00