Commit Graph

7946 Commits

Author SHA1 Message Date
Eike Ziller
a3ef2a6d00 Merge remote-tracking branch 'origin/11.0'
Conflicts:
	src/plugins/projectexplorer/miniprojecttargetselector.cpp

Change-Id: Ie831644eb1c69beed6791cbc67cbfb9309dcd351
2023-08-29 08:47:29 +02:00
Eike Ziller
b506179145 Update readme for translations
- added link to mailing list
- added hint on using stable branch
- fixed instructions for new languages
- added information and a step for running ts_<lang>_cleaned target
- added information about QtC:: contexts
- added hint on accepting translations in Linguist

Change-Id: I1a1ae8408f64ff91894db9959bea33d2488bae74
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
2023-08-29 06:31:34 +00:00
Marcus Tillmanns
eb17f4c2bf Debugger: Improve libc++ std::string dumper
Use isLldb and isGdb instead of exception.
Uses name based lookup in case of gdb instead of try/except

Fixes: QTCREATORBUG-29526
Change-Id: I6c3aa94503a519331395bd4249c6bf6488c8333f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-08-28 11:41:08 +00:00
hjk
3fa4fa5cf3 Wizards: Use simpler init() signature in the Creator Plugin template
This is the most common case by far. Also add a hint for special needs.

Change-Id: Ib4d708d90a3b2dd91d18fa53c3fb597304145697
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-08-17 11:56:35 +00:00
Orgad Shaneh
4ad3925da4 Merge remote-tracking branch 'origin/11.0'
Change-Id: I5cdff1f5db3fae89beef3d27316b21440541bb1c
2023-07-30 16:24:15 +03:00
hjk
59a6702271 Wizards: Enforce use of #pragma once in the Creator Plugin template
This should match Creator style, no matter what the users uses for
own projects.

Change-Id: I32e052b24ed6d029cd3c7a466bdf8191d1657e4e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-28 14:09:57 +00:00
Tasuku Suzuki
f0ba7bbbea QtQuick Application wizard: Remove unused import
Window belongs to QtQuick module in Qt 6

Change-Id: I8ff75320d84927db1fc79ba64538a3396203d36a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-07-28 13:53:33 +00:00
Eike Ziller
d9c5212c94 German translation: Remote Linux
Change-Id: I307ccc3c1a31124e5470abd1bdb2c6a80cb6794f
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-28 11:58:17 +00:00
Eike Ziller
55be030a62 German translation: WebAssembly
Change-Id: If526d36406855ae90c06e9ea76ba6fe8a6a92848
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-07-28 11:57:47 +00:00
Eike Ziller
d55d2cbb2f German translation: Haskell, Qnx, SerialTerminal, SilverSearcher, Vcpkg
Change-Id: I36d842b7641e81f5310dd4e31fa61c9ddab8e362
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-07-28 09:32:08 +00:00
Cristian Adam
e321b3d6fc Debugger: Allow usage of Python 2 based GDB versions
Amends 7a210c41b4

Fixes: QTCREATORBUG-29440
Change-Id: I5991f7954c4831b732ea2b391e5542fab96a308e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-07-27 10:25:05 +00:00
Eike Ziller
a419670ff5 Build: Change plugin json.in files to CMake style
They were still using variables in qmake style.
Directly use CMake variables in the json.in files and remove the no
longer needed escaping of quotes.

Adds a fatal message if it detects the old style in a .json.in file for
easier porting.

Change-Id: I8de88d8db2da55781f0e9d72eda03f943723188e
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-07-25 13:21:16 +00:00
Eike Ziller
931529dbec Merge remote-tracking branch 'origin/11.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	src/plugins/debugger/debuggerruncontrol.cpp

Change-Id: I7818dc765c2a137d6690a9a53b8ddda72b79ba2f
2023-07-25 13:20:21 +02:00
Eike Ziller
7786eb3088 German translation: BareMetal
Change-Id: I67beed63915ed2f5f14abef529512aa3560d15ae
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-24 07:02:32 +00:00
Tim Jenssen
7df557c0ba Merge remote-tracking branch 'origin/qds/dev'
Conflicts: tests/unit/tests/printers/gtest-creator-printing.cpp

Change-Id: I5f791161ca1a2966e98a3ca55bc60e5bcbb8f58f
2023-07-21 10:20:45 +00:00
Tim Jenssen
8cde647972 Merge remote-tracking branch 'origin/11.0' into qds/dev
Conflicts:
  doc/qtdesignstudio/src/views/qtquick-designer.qdoc
  src/plugins/studiowelcome/stylemodel.cpp

Change-Id: I13c9e4e9404619d7ba649eae160774aafc042610
2023-07-20 22:18:47 +02:00
Eike Ziller
626378de2d Merge remote-tracking branch 'origin/11.0'
Conflicts:
	src/plugins/cmakeprojectmanager/cmakebuildstep.cpp
	src/plugins/qtsupport/examplesparser.cpp

Change-Id: I2a0808261969e8c7cef7fae86d9027a155bf9b14
2023-07-19 16:10:37 +02:00
Eike Ziller
74801a52f2 German translation: GitLab
Change-Id: I7efac2f2ef7ad5ce981de8cd33952597f5d940b9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-19 10:08:29 +00:00
Eike Ziller
c9ff58d38b German translation: Docker
Change-Id: Idf6f26e2b2f0f4c803cebc7c0fe52ee22af96332
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-19 10:08:18 +00:00
Eike Ziller
c0b29f28c0 German translation: Copilot
Change-Id: I70abcdee4c38923d03450a43413e34782d2af160
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-18 12:24:04 +00:00
Tasuku Suzuki
66bdb5548e SessionDialog: Add ellipsis to buttons that open another dialog
Change-Id: I3eaa44f350653b38acbed99b7afbff3e6c02de3f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-17 06:53:53 +00:00
Eike Ziller
1b1545e97c German translation: Autotools, ClearCase, Coco, CompilationDb, Conan
Change-Id: I37041c9912125d91d9686ba81722eb60b1b94ad4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-14 12:52:08 +00:00
Eike Ziller
ac0796926d Merge remote-tracking branch 'origin/11.0'
Change-Id: Iaa647a44accc98ae84aa095d0bd5049588a92387
2023-07-14 14:51:22 +02:00
Eike Ziller
0effdb3f22 German translation: CtfVisualizer
Change-Id: I2aa3538942f21a65936da59624b88cfdfbd743c2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-14 09:34:37 +00:00
Eike Ziller
45f1b663bf German translation: Autotest
Change-Id: I51b84a773247aebb59705680e1dc81b19da0b80e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-14 09:20:46 +00:00
Eike Ziller
5caa01f757 German translation: iOS
Change-Id: I960bd32c746b05712c7e8df81c8c6dedaefc934b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-14 09:20:30 +00:00
Eike Ziller
9e3b938d36 German translation: Nim, QbsProjectManager
Change-Id: I7439d9f027d84e930bbb3d61131588614cb8439e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-14 09:20:23 +00:00
Eike Ziller
cfc39037db German translation: Meson
Change-Id: Idfeb30c506fe827736734e42a73c646f2292652f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-14 09:20:16 +00:00
Eike Ziller
874969392e German translation: Android
Change-Id: I08401c6eb96968a1d0b584e89d703ff987537569
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-13 08:15:23 +00:00
Ali Kianian
8f3fd958ef QmlDesigner: Escape button press clears the search boxes
Task-number: QDS-7838
Change-Id: I1ed283846ba87eb2dbd786a560aaf940cb6f8132
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-07-11 09:20:49 +00:00
Eike Ziller
3d3c78dfc6 Merge remote-tracking branch 'origin/11.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs

Change-Id: If3ada34dcc764fa1d0cce04fd343fb5a02c2fbaa
2023-07-10 09:29:51 +02:00
Thomas Hartmann
9a11fa3ef8 QmlDesigner: Add QML front-end for ConnectionView
This is still disabled by default until the UI gets polished.

Add roles to models. ConnectionModel, BindingModel and DynamicPropertiesModel.
In QML roles are used in the ListView to "mimic" columns. The columns are only
relevant for the "old" cpp QTableView and can be removed.

Making currentIndex part of the model. If rows are removed and added
again we have to "reset/keep" the currentIndex as part of the model, because
the index is temporarly invalid on the view.

Implementing DynamicPropertiesModelBackendDelegate as reference.
This is a pure "backend delegate" that exposes all relevant properties for
a current row to QML.

Adding StudioQuickWidget and exposing the backend.

Adding StudioQmlTextBackend and StudioQmlComboBoxBackend to
StudioQuickWidget (should be moved into their own files).
Those helper classes make is easy to expose a property to a combobox or
textfield. The backend has to know nothing about the actual frontend
and those classes act as a mini-model for a view in QML.
The API is similar to UI controls.

Change-Id: I7a2c6ad951306fbca1d586fb8f278acdd91a064b
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
2023-07-07 09:36:34 +00:00
Eike Ziller
b1423c5818 German translation: ProjectExplorer
Change-Id: I514f163cb7e0489a06ac6d684630b40cf18e7f39
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-07-06 14:23:49 +00:00
Eike Ziller
8d749874c6 German translation: Terminal
Change-Id: I358fd63b2ca039a8f03eef527fa9171787e3619b
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-06 14:23:36 +00:00
Marcus Tillmanns
77edffe3cf Debugger: Support linux remote debugging with LLDB
Adds support for Linux remote debugging with lldb-server

Change-Id: I3ee08704a3116030111df75273a46a2e4888f98e
Reviewed-by: hjk <hjk@qt.io>
2023-07-06 14:22:50 +00:00
Eike Ziller
609510c323 Merge remote-tracking branch 'origin/11.0'
Conflicts:
	doc/qtdesignstudio/src/views/qtquick-designer.qdoc

Change-Id: I5d7ea23e356add0cbb2ad01ceb5e433377dc51c2
2023-07-06 09:49:11 +02:00
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