Commit Graph

88532 Commits

Author SHA1 Message Date
Ahmad Samir
2f725cd559 FileIteratorWrapper: simplify the code
Setting m_status to BaseIteratorEnd should only be done in hasNext(),
because the latter is always called first, before any other member
function.

Change-Id: Ie55518a850655730fb760226d58c4fb171a7f2e1
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
(cherry picked from commit 1ddc71fcda)
2024-04-08 11:34:07 +00:00
Eike Ziller
2626af4cd4 Merge remote-tracking branch 'origin/13.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	src/libs/utils/fsengine/fileiteratordevicesappender.h

Change-Id: Ia61fa12d14a4f862549509bd980cf9f66905c17f
2024-04-08 11:08:05 +02:00
Eike Ziller
4e50e1d657 German translation: Consistently use "Ergebnis" instead of "Resultat"
We use it most and it is the simpler word.

Task-number: QTCREATORBUG-29370
Change-Id: I0b672ed990cca9f21ddff3782595847742f902a3
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-08 08:43:01 +00:00
Eike Ziller
740c3b7107 German translation: Some more "erneut"
Use "erneut" where we want to say "noch einmal", but keep "wieder" where
we want to say "wieder zurück".

Task-number: QTCREATORBUG-29370
Change-Id: I3d406604fbc8b7883e363a7ecf12c650280b6be0
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-08 08:42:42 +00:00
Eike Ziller
bbcf5fa720 German translation: Consistently use "Einfügemarke"
Task-number: QTCREATORBUG-29370
Change-Id: Ic90e0a21f64e3e4355c743185900463414504168
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-08 08:37:04 +00:00
hjk
2a1d46bbfc Debugger: Move python2 supporting files out of normal bridge directory
They get in the way when working in that area.

Change-Id: Id59c83472a6ce093ca9b31ad9e94ec638b4a1df8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-08 08:25:08 +00:00
Eike Ziller
b96f5b83ea German translation: Consistently use "scrollen"
This was the only place that was different

Task-number: QTCREATORBUG-29370
Change-Id: I91fb2c291b26644b15aa7ea83fead0f76894ebcf
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-08 08:14:01 +00:00
Eike Ziller
8fa17f4886 German translation: Avoid "editieren"
We use "bearbeiten" at most places.

Task-number: QTCREATORBUG-29370
Change-Id: I09ae816da64c37fd30631f5f6668d16ec0c53f62
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-08 08:05:31 +00:00
Eike Ziller
352b6b8b77 German translation: Consistently use "Array" for arrays
We used "Feld" in some instances. "Array" is probably more
understandable for programmers (nowadays), and is also used in the MSVC
documentation
(https://learn.microsoft.com/de-de/cpp/cpp/arrays-cpp?view=msvc-170)

Task-number: QTCREATORBUG-29370
Change-Id: I7a9dc424583900283c15b8fb0ab8497bf4f22085
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-08 08:05:12 +00:00
Leena Miettinen
c25c54d454 Doc: Update info about using Qt Quick modules with plugins
- Some steps are not needed when developing with Qt 6.2 or later.
- Removed obsolete information.

Task-number: QDS-11794
Change-Id: Ifbfc0bacd50557892ac82658379098123f463a2b
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-08 08:00:11 +00:00
Eike Ziller
7335b738a9 German translation: Consistently use "Benutzer"
We use "Benutzer" a lot already and it also is "benutzerdefiniert",
"Benutzeroberfläche", and so on.

As an aside, fix some missing dashes and just use "Port".

Task-number: QTCREATORBUG-29370
Change-Id: Ic58913dba601fca9be6594640bae3ddd7f4f40b1
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-08 07:56:43 +00:00
Christian Stenger
5d4f2f095d Axivion: Do not present empty issue details
It is not obvious how to fill the issue details with
content - give at least a tiny hint.

Change-Id: I3cde0a5711849c0c758c436e3c98255706c28026
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-04-08 04:32:01 +00:00
Christian Stenger
5b870f101e SquishTests: Adapt key sequence
The key sequence used by the test can interfere with other shortcuts
or special handling provided by the OS itself (e.g. Ctrl+Alt can be
understood as AltGr on Windows and treated differently).
Current approach modifies the detected key on Win11, so move over to
another key sequence which may likely be usable cross platform for
some time.

Change-Id: I33e981215ef09fc62c4c2913b3a72b43f39f8684
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-08 04:31:36 +00:00
Ahmad Samir
1e05c45d8f FileIteratorWrapper: refactor setPath()
Only call setPath() in hasNext(), the latter is called before any other
member method, and setPath() is guarded by a bool to only run a single
time.

Split some code to a helper function, which will be reused when porting
to new QAFEngine API.

Change-Id: Ibda0ede18593a3a20729b31e03e994ad2de126de
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
(cherry picked from commit ad446d5689)
2024-04-05 19:00:19 +00:00
Ahmad Samir
28c67fca0f FileIteratorWrapper: fix typo in "__qtc__devices__"
It should be what FilePath::specialRootName() returns,
"__qtc_devices__". Looks like nothing used the string retured by next()
so this didn't cause issues before.

Change-Id: Ib9c48d8ea032b1ca7d9ec08003f9d51c5a2ae528
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
(cherry picked from commit 71e6916b37)
2024-04-05 19:00:07 +00:00
Ahmad Samir
da91498014 FileIteratorWrapper: remove redundant if statement
Change-Id: I5b9a50802adc3d2cfc48748235a7cd6ee01fa5a4
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
(cherry picked from commit 5760654674)
2024-04-05 18:59:58 +00:00
Ahmad Samir
338510af2b FileIteratorWrapper: simplify constructor
The other two parameters, QDir::Filter and nameFilters string list, can
be retrieved from the baseIterator.

Change-Id: Id33a95f3b490e8f5846e9728fc66da0df5195be9
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
(cherry picked from commit 2f78fd4358)
2024-04-05 18:58:34 +00:00
Eike Ziller
ae58ce9132 German translation: Use consistent translation for expand (tree)
Task-number: QTCREATORBUG-29370
Change-Id: I937b2b824fb07d49b18e1d3a345294cd71e5ab6a
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-05 14:12:15 +00:00
Eike Ziller
f88ca7be28 Bump version to 13.0.1
Change-Id: I1269daf9f87b95af0814d1b06c93e947a0555675
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-04-05 10:43:27 +00:00
Eike Ziller
5b24cb5609 TextEditor: Remove non-exported include from public header
The header from KSyntaxHighlighting is not exported to the dev packages,
so separate plugins using the syntax highlighter fail to compile.

The include is not even used in that file anymore though, so just remove it.

Change-Id: Iff9be4e35c1edb5492707b00a5afae96d85db16a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
2024-04-05 10:41:42 +00:00
Teea Poldsam
da21fa4c33 Doc: Fix a broken link in Optimizing Designs
Fixes: QDS-12415
Change-Id: Ie1e8e3548a0f793adf0a8c82fdcf68018bf3f880
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2024-04-05 06:15:57 +00:00
Marcus Tillmanns
56f0432c51 ProjectExplorer: Export summary page
In preparation for other plugins to be able to use it.

Change-Id: I36542e11dff5b0cc655ecee2439df6ea7c14858d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-05 06:15:31 +00:00
Mats Honkamaa
18b7027cd4 Doc: Add docs for Model Editor
- Add docs for Model Editor view
- Update Repeater3D docs
- Update Loading Placeholder Data docs
- Update Lists and Other Data Models docs

Task-number: QDS-11240
Change-Id: I98ad17ee54b94ebe4ac78db9be5349f88664ce76
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2024-04-05 05:05:29 +00:00
Alessandro Portale
41eeb5a273 Core: Fix QGroupBox frame drawing for Qt >= 6.6.3, dark themes
Since QStyle::subControlRect() used to return bogus rectangles for
SC_GroupBoxFrame, and therefore, as workaround, ManhattanStyle
calculated the position of the QGroupBox frame itself via code copied
from QFusionStyle.

6.6.3 fixes the SC_GroupBoxFrame issue, but in turn, the old workaround
fails. Therefore, this change uses old calculation when running with
older Qt and the newer one with Qt >= 6.6.3.

Fixes: QTCREATORBUG-30632
Change-Id: Ie9c6c078ba9bd0e7012192e9d887a702e307d294
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-04-04 13:03:39 +00:00
Eike Ziller
24767dfb0d Examples: Fix which category gets two columns
It was giving the first category _alphabetically_ two columns. Which was
correct a while ago, but since we have a separate category order defined,
it should give the first category in that order two columns instead.

Fixes: QTCREATORBUG-30634
Change-Id: Ie89c84f31617a9f90fe18b66bcea352ae3ea56d5
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-04-04 12:36:07 +00:00
Mats Honkamaa
212551567b Doc: Fix missing file extensions for images
Change-Id: I485424b9dc071da2d1afb42b26e6599e3cc78fbc
Reviewed-by: Teea Põldsam <teea.poldsam@qt.io>
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2024-04-04 10:58:32 +00:00
Marcus Tillmanns
8e8a84908b ProjectExplorer: Add Default Issue Reporter
Adds a base issue reporter that checks general comaptibility
between build device and project / build dir location.

Change-Id: I7bfe360f758e44fdad9f471d47f14ffdd5d61853
Reviewed-by: hjk <hjk@qt.io>
2024-04-04 08:33:12 +00:00
Marcus Tillmanns
c03fa4dbad ProjectExplorer: Add Device::canMount
Change-Id: Icde98f845c3fe303d9461a0cbb0946d1ce9c8b00
Reviewed-by: hjk <hjk@qt.io>
2024-04-04 08:32:59 +00:00
Marcus Tillmanns
3067f57905 Utils: Add QTC_CHECK_EXPECTED
Change-Id: Ie25637d6800e1162b713c1db7ef07f87cc2a4041
Reviewed-by: hjk <hjk@qt.io>
2024-04-04 08:32:47 +00:00
Ali Kianian
e6b542079f QmlDesigner: Set the default column type of the model to string
Change-Id: Id4daa8e802bcc7b40e212e7fc0e30b3c4f63ba4e
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-04 08:29:52 +00:00
Ali Kianian
22a5e4948b QmlDesigner: Deselect the model by editing a cell or clicking out
Fixes: QDS-11760
Change-Id: I6a63b2f9589c69859beff79ad04502974c5d18af
Reviewed-by: Shrief Gabr <shrief.gabr@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-04 08:28:26 +00:00
Marcus Tillmanns
0e30918955 CMake: Add hint about additional error messages
Change-Id: I1eaeacb1fe67d534209ecef5a01fe6d41caddb62
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-04-04 05:37:23 +00:00
Marcus Tillmanns
cb29aeff50 CMake: Don't ignore writable test
Change-Id: I49ba7a14f26eca0575b38a634124be5e53c0134f
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-04-04 05:37:18 +00:00
Marcus Tillmanns
24511d755f CMake: Add hint about missing docker mounts
Change-Id: Id046496b1c9907dfdfedb36c6bec1b121428f37a
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-04-04 05:37:11 +00:00
Robert Löhning
0cca4b283b Debugger: Fix calls to calloc
Change-Id: Id1ba0c4656eb611b6ac4269ebf9d141feb08d632
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-03 14:38:44 +00:00
The Qt Project
2f32461d32 Merge "Merge remote-tracking branch 'origin/13.0'" 2024-04-03 11:57:29 +00:00
Eike Ziller
847e9b7bcb Merge remote-tracking branch 'origin/13.0'
Change-Id: I0717b18ca7561dbc69a59699d4b014741aa98e37
2024-04-03 13:56:13 +02:00
Eike Ziller
c811fe08f8 German translation: ProjectExplorer and related
Android, AutoTest, CMake, Qbs, QtSupport, RemoteLinux,
Terminal, Squish

Change-Id: I74d34a581ff1be54b750698807713dcf85f6cefa
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-03 07:28:46 +00:00
Eike Ziller
738a3bf76d Update README to match the new requirements for building
Amends ff04dc53ef

Change-Id: I3ec6dbdea4e9cfc5df6d94fbf37408b3d7e4145a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-03 07:27:33 +00:00
Marcus Tillmanns
043abe69a7 Docker: Remove temporary mounts
Temporary mounts are more problem than solution.
We want the user to specifically mount paths himself
instead of trying to guess which ones should be mounted.

Change-Id: I635ac2555e11979a4eb8cd60c1a22b02a377a5ba
Reviewed-by: hjk <hjk@qt.io>
2024-04-03 06:45:10 +00:00
Eike Ziller
309a01337f Merge remote-tracking branch 'origin/13.0'
Change-Id: I12578a55fb61a3a9620c749c0b3bbbae6dcb4493
2024-04-02 14:54:30 +02:00
Shrief Gabr
1376139ec6 EffectComposer: Check if effect name is duplicate before saving
Task-number: QDS-12280
Change-Id: I42532ef8330ae518073a559edf7a41de834d98c9
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-02 11:14:20 +00:00
Shrief Gabr
a60ae6a32c QmlDesigner: Add "Unsaved Changes" indicator to Save button
Task-number: QDS-12237
Change-Id: Ib210ca06e061e82824ff4398604a569af44c2f6d
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-04-02 10:12:00 +00:00
Robert Löhning
b887825661 SquishTests: Make sure that *UnderCursor() return a str
Without this, "line in lineUnderCursor(w)" can be False
although "line == lineUnderCursor(w)" is True.

Change-Id: I7fa6be7d237957706bf1ad93d7303c55b81f24ec
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
v13.0.0
2024-04-02 09:36:34 +00:00
Marcus Tillmanns
a8b7f6c291 QmlDesignerLite: Add condition target check
Change-Id: I0f1c1136adf99684f5a57a18d21ccd9245de53b4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2024-04-02 05:40:32 +00:00
Orgad Shaneh
5ea09e424d TextEditor: Fix initial loading of behavior settings
Fixes: QTCREATORBUG-30606
Change-Id: I1b4d8fd47e528d0868969cf883401037c0cfe9ee
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-02 04:53:11 +00:00
Sergey Silin
340f1d7b42 Add a README section for xcb plugin problem
Linux users may encounter a problem of missing
xcb plugin while using Qt6 built from sources.
Missing plugin prevents QtCreator from starting
with default settings. The new section provides
solution gathered from Qt forum

Change-Id: I2917965c99fa6a05feac0d1506c7e60ff63796b1
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-03-30 08:54:32 +00:00
Christian Kandeler
3ca0deef53 CppEditor: Move ClangdSettings into a dedicated set of files
They were originally put alongside the CppCodeModelSettings for
simplicity, but there is no coupling (anymore?) between these two
classes.

Change-Id: Ic24df109b74a5b5c39de073c938c6de12f4aa319
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-03-28 19:06:08 +00:00
Thomas Hartmann
35524ec21b QmlDesigner: Do not allow import for QtQuick3D.MaterialEditor
Change-Id: I81ad86ff0584e05bd5132077ac3416ab2eae7d62
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-03-28 13:55:02 +00:00
Knud Dollereder
3721620799 QmlProjectManager: New project structure support for CMakeGenerator
- Add writer interface in order to support the current and the new
  project structure in parallel. Using the new one if
  qdsVersion is >= 4.5
- Separated templates for the new generator from the old one
- Add file name validity check
- Generate files in the folder src and cmake if they do not exist yet.
  Only re-generate files in src/autogen.
- Add action to enable or disable the cmake-generator
- Add function that checks if a resource file is within the
  project folder but not part of the project

Change-Id: I3d75dbee1043ed28e6126cf0b2c83994cb70ed45
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-03-28 13:52:32 +00:00