Commit Graph

8705 Commits

Author SHA1 Message Date
Marcus Tillmanns
543f8731b4 LuaLS: Change startBehavior to RequiresProject
The Language Server works better when started per project.

Change-Id: I96ec7204292d7e41119fd7d26b988a9a3a17dc37
Reviewed-by: hjk <hjk@qt.io>
2024-07-18 12:06:22 +00:00
Marcus Tillmanns
9434355b3e Wizards: Add install steps
Change-Id: Ib196496f1f3e8188392182de53ae0ac00d10e9bf
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-07-18 08:41:17 +00:00
Marcus Tillmanns
d2e14ffe86 Lua: Cleanup Hooks
Change-Id: I8e3a1d66ea6125d2cc5ee9c8f8442cca0913fec6
Reviewed-by: <lie@spyro-soft.com>
Reviewed-by: hjk <hjk@qt.io>
2024-07-18 07:19:15 +00:00
Eike Ziller
18937fd44b Merge remote-tracking branch 'origin/14.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	src/plugins/qmljseditor/qmljseditordocument.cpp

Change-Id: Ibef70b4c0eba5ccd5da7b05ca2bd3a9e8ee1cc0c
2024-07-17 11:43:34 +02:00
Cristian Adam
01bfa99a92 Wizards: Fix plugin CMAKE_PREFIX_PATH on macOS
Check explicitly for the presence of "lib/cmake/QtCreator" directory in
order to validate a QtCreatorBuild path.

Change-Id: Ifb3a09d459ceead8c9d49a5779127f95319bd053
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-07-17 07:01:08 +00:00
hjk
75e5b46ec0 Wizards: Rename "Qt Creator Plugin" to "Qt Creator C++ Plugin"
In line with the recent "Qt Creator Lua Plugin".

Change-Id: If05fd2365c82aa8d349ae461e063835354e0141e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-07-17 06:41:18 +00:00
Eike Ziller
6a8f1a7683 German translation: QmlProjectManager
Change-Id: If8a3842dea59910d00c43322eacf24efb1de4bc7
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-07-15 11:15:09 +00:00
Eike Ziller
5181f6e37b German translation: QML, RemoteLinux, ScreenRecorder, TextEditor, Utils
Change-Id: I710949be8dc74e03c5ce0cfc52cd727017b7de08
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-07-12 10:26:23 +00:00
Marcus Tillmanns
bbb6053374 Wizards: Add Qt6 cmake option to qtwidgetsapp template
Change-Id: I92764d37a11654cf7f04748fac6a8ac81a386672
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-07-12 07:36:25 +00:00
Marcus Tillmanns
3b6f0f9ede Wizards: Add Qt6 cmake option to consoleapp template
Change-Id: Ibe234e03dbb7ac2ce2a2cbccd8630006c050ce3a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-07-12 07:36:19 +00:00
Marcus Tillmanns
8a9c2a1e73 AiAssistant: Cleanup
Change-Id: Ic418523a9a514128adf11ec3a97ffb6d8d70c8a7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-07-12 06:43:51 +00:00
Lukasz Papierkowski
3aa1111560 QtAIAssistant: Document notifications
Change-Id: I75af8a63268e9a53b4116aa2b41d3a35c95628f1
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-07-11 21:37:03 +00:00
Christian Stenger
130273a9a8 Dumper: Ensure QStringList is pre-registered
Task-number: QTCREATORBUG-31225
Change-Id: I597fc3368dab9c37e75008dee24ffec7b93bc2a7
Reviewed-by: hjk <hjk@qt.io>
2024-07-11 13:45:46 +00:00
Eike Ziller
42a8b5b432 Merge remote-tracking branch 'origin/14.0'
Change-Id: Id00d72a8707d122b72d89ed0ecf03ad5ed8230d2
2024-07-11 12:10:59 +02:00
Eike Ziller
2098053095 German translation: Android, Autotest, Axivion
Change-Id: I1b3f5e768b687851430c4bf48d2b6b5a6e38b26b
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-07-11 09:44:56 +00:00
Christian Kandeler
3557afe805 qbs build: Update types metadata
Change-Id: I0e48dd91c5c625d8f3391c2fea498f55cc828266
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-07-11 09:42:27 +00:00
hjk
b15af55946 Translation: Fix typo in README.md
Change-Id: Id0aeda9686887027c5048a2a9c85a303f011c1f2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-07-09 11:00:59 +00:00
Eike Ziller
57e45131f5 German translation: Lua
Change-Id: I4e75db6547818f0d762eb661f95456dab5e83b53
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-07-09 11:00:43 +00:00
Eike Ziller
3b08077cef German translation: ProjectExplorer, Python, QMake
Change-Id: I9a5dd2b7aafdd3542aa231307701b30d72ead170
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-07-09 10:59:03 +00:00
Eike Ziller
11e713eb4b German translation: ModelEditor, qmt
Change-Id: I808f55ccb3efb088d243a025130f20953803be3f
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-07-09 10:58:55 +00:00
Eike Ziller
80fcd782f5 German translation: Extension*
Change-Id: I4a10d877a8f679498d1f1c56cf1d5925828dd8d4
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-07-09 10:58:45 +00:00
Mathias Hasselmann
da2e60fa3e Core: Show context of filter matches
When inspecting logs often enough the relevant information is next to
the line with the unique expression that's easy to match. The `grep`
tool solves this problem by providing various `--*context` options
which configure how much context to show for each match.

This change tries to replicate this feature.

Task-number: QTCREATORBUG-30167
Change-Id: I6432870c0b958df8c5dc616009aea4ca54973245
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-07-09 09:00:17 +00:00
Christian Stenger
1ae0757f5d Wizards: Fix json file
Fixes building the target ts_untranslated.
Amends 391e7ae34a.

Change-Id: Id8e75e18638b5408df527c5c3bbb6aedad1638bb
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-07-08 11:36:10 +00:00
Eike Ziller
6d53819ea7 German translation: CppEditor
Change-Id: Ieed4960f08f911dfa499b05357dcba69bcf2f5e4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-07-08 11:14:17 +00:00
Eike Ziller
964f2f709e German translation: C*
Clang*, CMake, Copilot, Core

Change-Id: I4c0d0e6b28c076003d1fbbe08e7bf0d3fb6dee39
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-07-08 09:59:23 +00:00
Eike Ziller
e3feec0978 German translation: Debugger, iOS, LanguageClient
Change-Id: I47b3a0d865a57af45180d4559ea8085dc0ce6df4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-07-08 09:59:15 +00:00
Eike Ziller
62d11c46a2 Wizards: Add comment on closing app for Qt console application
Add a comment on how to quit a Qt console application.

Fixes: QTCREATORBUG-31212
Change-Id: Id5dc5b6c4eba807e41fc589d16f44d133c94c6b3
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-07-08 09:32:34 +00:00
Eike Ziller
8d99cd800b Merge remote-tracking branch 'origin/14.0'
Change-Id: Ic3c53630e16712b6493873d21485b726f0d06574
2024-07-08 10:31:06 +02:00
Lukasz Papierkowski
fb5bb3ff4f Initial AI Assistant Lua plugin
Change-Id: Ia600a6b7103300f4db875d9a1c63d159c70d21f6
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <mua@spyro-soft.com>
2024-07-08 06:17:15 +00:00
Eike Ziller
1a7bf9c95d German translation: lupdate for 14.0
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: I9ef6916df48bfe1323f2d328f9c377f315d393f7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-07-05 08:50:45 +00:00
Cristian Adam
bc7b322e8a Wizard: Update GitHub Actions workflow file
* Update CMake and Ninja versions
* Update actions/*@v4 to remove warnings about nodejs
* Update release mechanism
* Enable macOS universal builds

Change-Id: I28d995a6e4b027ed84ae99b477f8bd1fdb52720e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-07-04 07:08:54 +00:00
Cristian Adam
560d63bb37 Wizard: fix Qt Creator plugin wizard
Amends 250d100787

Change-Id: I82b648fefc3bda1a2dab5b83297e024791a805d4
Reviewed-by: hjk <hjk@qt.io>
2024-07-03 11:35:00 +00:00
Artem Sokolovskii
250d100787 Wizard: Update plugin creation to modern way
- Removed header file and global file as redundant
- Updated github workflow for creating artefacts

Change-Id: I60dc61b660791c57f012e6e38e04b0d84c2cbaf9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-07-03 09:40:06 +00:00
Christian Kandeler
d635151c0b Wizards: Bump default minimum Qt version for new QtQuick projects
Fixes: QTCREATORBUG-31168
Change-Id: I5a4411bcce348c89151fc2a193f8d19dc00343ef
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
(cherry picked from commit 0142d59258)
2024-07-01 14:32:35 +00:00
Christian Kandeler
0142d59258 Wizards: Bump default minimum Qt version for new QtQuick projects
Fixes: QTCREATORBUG-31168
Change-Id: I5a4411bcce348c89151fc2a193f8d19dc00343ef
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-07-01 14:19:21 +00:00
Eike Ziller
0283b81392 Merge remote-tracking branch 'origin/14.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs

Change-Id: If39fe80197537c489361810e91ee221c6c52ea01
2024-07-01 12:01:27 +02:00
David Schulz
9d8dc1d056 Debugger: remove put item code from cdbbridge
unneeded nowadays

Change-Id: I8e7d46f7344157459e86cbea95563194a579cd6e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-28 13:22:21 +00:00
David Schulz
b245912b56 Debugger: merge put array code from cdbbridge into dumper base
Basically the same. Only the type lookup of the inner type needs to be
avoided for performance reasons.

Change-Id: I2747ab44c23b764482b4a063d3618fae2e3c4d46
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-28 13:22:17 +00:00
David Schulz
9733957862 Dumper: merge put pointer functions from cdbbridge into dumper base
And remove the now unused DumperBase.Type.targetName helper function. We
can use the typeId nowadays for this. This reduces duplicated code and
simplifies adjustments in the base implementation without breaking the
cdbbridge.

Change-Id: If76297b83f088d98493c6f5aceea8fa93093e42e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-28 13:22:11 +00:00
Pino Toscano
7c4fec664c Drop extra executable permissions
Change-Id: I3f6fc3d6df6f705ceedc2daa47f3cad4c19b4706
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-06-27 13:53:17 +00:00
Eike Ziller
8dccc9c59e Merge remote-tracking branch 'origin/14.0'
Conflicts:
	src/plugins/qmljseditor/qmljseditorsettings.cpp

Change-Id: I443424afdfe48cdfc3d083d8e91335e937fcfdb6
2024-06-27 11:41:54 +02:00
David Schulz
3b7e782bc6 Debugger: remove unneeded check and assignment
If the inner type is null at this point it will also be null when
assigning the same type again.

Change-Id: I4dbad41a60d4853ac016adb54c693ce19d6f65d0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-26 07:46:47 +00:00
David Schulz
eca562af54 Debugger: remove unused function from cdbbridge
Change-Id: I3e3fe0c89d7ecfa7c727a26998978d07fd9bc390
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-26 05:25:54 +00:00
David Schulz
f68c7e1024 Debugger: remove unsupported type annotations from cdbbridge
Change-Id: I997a2df2b6352e022a955f2441f4e7f9d9fa02ae
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-25 13:36:45 +00:00
Eike Ziller
12c1731489 Merge remote-tracking branch 'origin/14.0'
Conflicts:
	src/plugins/qmljseditor/qmljseditingsettingspage.cpp
	src/plugins/qmljseditor/qmllssettings.h

Change-Id: I49b97101467a6e80653c0f5f3e3fe5801dca5274
2024-06-21 13:54:42 +02:00
David Schulz
ca7fd2aaf3 Debugger: remove overwritten createValue in the cdbbridge
The function is nowadays generating values the exact same way as the
base implementation.

Change-Id: Ie1b167021d9d450959d9cf3c27b0ac8ec7d0d3af
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-21 07:45:34 +00:00
Eike Ziller
987d292414 Disambiguate "Executable:"
"the executable" versus "the file is executable"

Fix translations where both variants were available (i.e. that used the
adjective for the translation in Core, but the noun elsewhere).

Fixes: QTCREATORBUG-31059
Change-Id: Id140612f201cea1feca007557bbedf030cfdf504
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-06-20 10:58:20 +00:00
Christian Stenger
267f392977 Dumper: Fix dumping QLocale
Change-Id: Ib34970549c147c593f39023ec0aed53885af6ce0
Reviewed-by: hjk <hjk@qt.io>
2024-06-20 10:44:20 +00:00
Christian Stenger
b1b27d4a49 Dumper: Fix dumping QDir
Change-Id: I5b02e8b0a000efe1c3bbbc22f7e624ea218e1cfc
Reviewed-by: hjk <hjk@qt.io>
2024-06-20 10:44:13 +00:00
Eike Ziller
f5dde31558 Move the shipped Lua plugins to the resources directory
On macOS, files in Contents/PlugIns/ need to be codesigned individually.
Since Lua plugins are not really binaries, per Apple's documentation
that is to be avoided (and we currently only sign executables there).

Just move Lua plugins generally to the resources directory, like we do
for other scripts like the debugger Python scripts, and load them from
there.

Change-Id: Idabd6b7c0c7c6e842b1752488cb7073f00e7be49
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-20 07:40:46 +00:00