Commit Graph

88653 Commits

Author SHA1 Message Date
Fabian Kosmale
786797e8e6 Mention QT_QML_GENERATE_QMLLS_INI in Creator docs
Task-number: QTBUG-121703
Change-Id: Iea04979ceb36ead1836f8207794861723ed18fc9
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-28 18:42:09 +00:00
Cristian Adam
0d8a542b4f CMakePM: Only add paths with dlls to PATH
Skip adding object libraries paths to runtime PATH.
Also add only the paths that contain the dll files.

Fixes: QTCREATORBUG-29662
Change-Id: I58cd9b24c6c079b99ed51ae2ebd315a1aa195f04
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-28 18:33:37 +00:00
Tim Jenssen
689b1066b8 QmlDesigner: suppress unknown attribute warnings
Somehow MSVC does not follow cppreference:
https://en.cppreference.com/w/cpp/language/attributes

"All attributes unknown to an implementation are ignored
without causing an error.(since C++17)"

Change-Id: Ic67fc7b4297f981ce52f457a09fd919949050449
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2024-02-28 17:43:13 +00:00
Marco Bubke
1110a7a457 Nanotrace: Silence warning about exports
The behavior between windows and unix is different, so we need a more
complex approach.

Change-Id: I614c480c1184c5d4be807496fa6ac13fd98506d8
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-28 16:47:22 +00:00
hjk
4ca8ad8293 Debugger: Fix breakpoint settings in assembler for LLDB
Setting the breakpoint actually worked, but it was reported back
using a wrong address, so it never went "red" in the disassembler view.

Change-Id: I4c2bd808705dfe793c0febf29b3e78b318dbae00
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-28 16:28:16 +00:00
Marco Bubke
2ba6b48df4 QmlDesigner: Move thread local variables inside function
Maybe  make them inline but I think that is not working nice with DLLs.

Change-Id: Ice220873bf4f9c87cb64cb3271aa1ca5cfb1dda2
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-28 16:00:16 +00:00
Marco Bubke
de5598e70f Sqlite: Update to 3.45.1
Change-Id: Ie92194de1b12c22667e48edd913abc24108cedaa
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-28 15:59:52 +00:00
Marco Bubke
2d440ecb75 QmlDesigenr: Use tick instead of range for selected nodes
It is really hard to click on a short range.

Change-Id: Ib5dea4b199fb6f2b5a0320845cefaa4501e04a81
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-28 15:59:45 +00:00
Leena Miettinen
57874c9c0d Doc: Update Git docs
- Git Branches view now shows the differences between
  local branch and origin
- The + button in Git Branches adds a branch

Task-number: QTCREATORBUG-30209
Change-Id: I75909c7c196b0fd81ca38749e456bc80187b822d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2024-02-28 15:59:13 +00:00
Marco Bubke
0e0034ce7e QmlDesigner: Use property name as trace name
Change-Id: Ifcf4cf1b0bf6f71c6096279d6b2e3dbe4e0f6b30
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-02-28 15:58:06 +00:00
Marco Bubke
11ab3ba268 Nanotrace: Prevent large zero initialization for thread local
There seems no way to disable zero initialization reliable. So the
arrays are now allocated on the heap.

Change-Id: I926e8deb91fc835dfa797c445860c8b66ed27def
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-02-28 15:53:09 +00:00
Marco Bubke
cc8a57233d Nanotrace: Optimize queue
Instead  that the queue data is generating a queue it is now derived
from it. That saves one thread local entry.

Change-Id: Iba4f3002019fc281457c6108ae955a2f755bb9f6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-28 15:52:56 +00:00
Teea Poldsam
3d77fb4c56 Doc: Update Log In UI - Positioning
Edited the tutorial and added some images.

Fixes: QDS-11189
Change-Id: I787afd3ee96c65f817ed844e23ba3c5786344524
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2024-02-28 14:20:59 +00:00
Ali Kianian
c9b8d396bb QmlDesigner: Fix the bug for reading the dataStore of the projects
Fixes: QDS-12047
Change-Id: I6144b78985ed761b5446f71731fd0c220658c259
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-02-28 14:06:17 +00:00
Marco Bubke
413c2a65eb QmlDesigner: Eleminate function calls
The definition of gnu pure is a little bit fuzzy but I think it applies
in this case.

Change-Id: Icaf97a669f217c8ec28884771f80218c442f0c96
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-02-28 13:59:06 +00:00
Christian Kandeler
576747d623 CppEditor: Mark some tests as XFAIL when running with clangd
These are fuzzy decl/def switches, where clangd does not fail, but
returns the original location.

Change-Id: I86814c2dc5e1b8ec9085fd1486c0120e2f98a3b6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-28 13:44:33 +00:00
Christian Kandeler
68dab97bc5 CppEditor: Fix running tests with clangd
Try harder to find a suitable kit:
  - Pick one without warnings.
  - Pick one with a Qt, as otherwise configureAsExampleProject()
    will fail.

Change-Id: I5a38e86bd81840c6794de365980618c904936d3a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-28 13:44:14 +00:00
Jarek Kobus
f3a53dfd8c Axivion: Use more dashboard url instead of server url
Change-Id: I1fbc1dad779e9198206cb8ef4a4029a99af6861f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-28 13:39:24 +00:00
Jarek Kobus
bcdcaab7b7 Axivion: Make initial dashboard fetch a part of authorization
Ensure that after authorization we have fetched the initial
dashboard info. If the fetch fails, we remove the stored
ApiToken from the key chain.

Change-Id: I894b9d8bc8ade8ec6fa29391fafa67ad5b4fabba
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-28 13:38:44 +00:00
Cristian Adam
64a77d8c83 TextEditor: Set the special weight of Source Code Pro font family
The text editor font is used also for output panes, make sure that on
macOS we use QFont::Medium so that the font is not too skinny.

Amends 13dc66a08d

Change-Id: Idad26738d42452c8d683df7a40a4a2fe44e9793e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-28 12:54:50 +00:00
Artem Sokolovskii
95a5f01096 TextEditor: Fix folding for async syntax highlighter
- Made restoreState, ensureBlockIsUnfolded, fold, unfold and unfoldAll
functions to be called only after highlighting is done
- Improved management of foldValidator in async case
- Removed optimizations in cpphighlighter and glshighlighter.
The highlighters are async now and optimization is not necessary.
In these optimizations in the function highlightBlock the highlighting
changes not only for currentBlock but and for several next. Which is
contradict with the function name.

Change-Id: Ib413e6b982eb39d52f36c3066ff0fa8c28fbe231
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-28 11:53:02 +00:00
Alessandro Portale
3f78592831 Utils: Remove soft assert for reading theme flags
An included theme file will usually not define all flags.

Change-Id: I733d8558009ba1b660f66b92c7c2d044035bb0ae
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-28 11:43:25 +00:00
Vikas Pachdha
d9759ffb72 Fix invalid node offset
Node offsets were not calculated and thus the aux data was incorrectly written

Task-number: QDS-11920
Change-Id: I8d7aab754cf37740369db00fce78ebb2d3531b70
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-02-28 10:26:19 +00:00
Mats Honkamaa
471479c21d Doc: Fix error in Figma Bridge docs
Task-number: QDS-12015
Change-Id: Iff96fc54ad953edf0dc247cb55df74d0b10306a1
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2024-02-28 09:43:29 +00:00
hjk
581e6ddf4f Debugger: Require Python 3.5 in the docs
... and make the adapter/mode description a bit simpler.

Change-Id: Ie1b7c6cc26780f38be60c8e51e3bc0bc82db0bc6
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-28 09:19:48 +00:00
Eike Ziller
5af531cd39 Utils: Fix build with MSVC with C++20
Rename process.h back to qtcprocess.h

MSVC's "threads" standard header includes <process.h>, and that ends up
including our process.h from Utils.

There already was a hacky workaround in place for a similar issue with
MINGW, but that doesn't work with MSVC because that doesn't have

Simply use a name that doesn't conflict.

Change-Id: I1159cd2096b4f2dbc4a1728d0131dd6edd30ebd3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2024-02-28 08:09:05 +00:00
Leena Miettinen
d0a1059205 Doc: Describe selecting all text in the terminal
Task-number: QTCREATORBUG-30209
Change-Id: I65bd04dac6b81448c326e27e68352faddc8b3065
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-28 08:08:19 +00:00
Marcus Tillmanns
95743d5c9f RemoteLinux: Don't show self in "Access via"
Task-number: QTCREATORBUG-30008
Change-Id: I90ee2df7243a2b07b494b1d1911930b7ae242669
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2024-02-28 07:53:17 +00:00
Ali Kianian
bf78e16641 QmlDesigner: Delay loading model source until types are loaded
Change-Id: If4eda07b2c5d9b916d8b2b1a2f94e68d576eedbd
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-02-28 07:02:42 +00:00
Christian Stenger
2b525b4246 AutoTest: Suppress progress bar more aggressively
Task-number: QTCREATORBUG-30447
Change-Id: I4386d522819b9f361f179ccda6a0fd3c759c389d
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-28 05:47:48 +00:00
Christian Stenger
dc21bd6af2 AutoTest: Delay reparsing of postponed files
Task-number: QTCREATORBUG-30447
Change-Id: Ica1dba358e05edfe2ad7ed6fd92fc8afde291718
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-28 05:47:40 +00:00
Christian Kandeler
6e5c72824a QmakeProjectManager: Fix Makefile compatibility check
E.g. qmake "binaries" for Android are actually shell scripts that call a
Desktop qmake in a different location, which lead Qt Creator to conclude
that the directory contains an incompatible build.
Fix this by checking that the -qtconf argument passed to qmake points
into the real qmake's parent directory, as is the case in the
abovementioned scenario.

Fixes: QTCREATORBUG-30354
Change-Id: Id6e878fab3379a3a8893389447514a1b7226784c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
v13.0.0-beta2
2024-02-27 17:13:15 +00:00
Alessandro Portale
903d01b934 Welcome: Implement new design
2024 redesign

Change-Id: I6629849921272d856f201693973a8e29c6465e94
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-27 16:42:10 +00:00
Jarek Kobus
e2a0dd2cef Axivion: Fix the condition inside onUnauthorizedGroupSetup
We should execute this branch just once, when the server access is
unknown.

Introduce isServerAccessEstablished() helper.

Change-Id: I28953f468be39ca49f088032aebb3fa81b814f3f
Reviewed-by: hjk <hjk@qt.io>
2024-02-27 16:32:36 +00:00
Jarek Kobus
97077f4d26 Axivion: Raise the size of issues packet
Change-Id: I4a60649982b1ffa50c2c85f4db3d57f88186a211
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Andreas Loth <andreas.loth@qt.io>
2024-02-27 16:32:27 +00:00
Leena Miettinen
fdb1fa2a3b Python: Fix capitalization of Python in UI text
Change-Id: I55beeb658eb583a74c4d79f3dc2f121010080101
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-27 16:00:48 +00:00
hjk
af712dc0e7 Axivion: Fix clazy warning about mixing const and mutable iterators
Change-Id: Ief898ff2febb958f3f68a64ddcb614479854600f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Andreas Loth <andreas.loth@qt.io>
2024-02-27 14:47:42 +00:00
Jarek Kobus
e8b3887dbf Axivion: Make use of Dto::IssueKind enum
Use Dto::IssueKindMeta::enumToStr() to convert it to string.
Rename icons accordingly.

Change-Id: I8a955f2f0075793eea761cd4a41374a65d2aaea2
Reviewed-by: hjk <hjk@qt.io>
2024-02-27 14:17:56 +00:00
Ali Kianian
46e17234a3 QmlDesigner: Use a single menu for the item cells of the model editor
* This also removes the warning for the implicitHeight of the menu

Task-number: QDS-12024
Change-Id: I3b9c9b40bc591071adb5775b62f0347567ac50d8
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-02-27 13:39:26 +00:00
Eike Ziller
b60e0cfee7 Update change log for 13.0.0
Change-Id: I7760acdfeb1b0a309e8d939bf37494aa3a0a7a36
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-27 13:30:50 +00:00
Alessandro Portale
c536712707 Android: Remove command line and version numbers from translations
Change-Id: Ib4fcd6cbf0a023e074aaad4b265c0ab60edac01a
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-27 12:49:36 +00:00
Christian Kandeler
226806e0fb RemoteLinux: Make deployment downgrade warning less spammy
Keep the message, but make it a warning only for the "generic copy"
case, which almost no one ever wants.
Otherwise, it will annoy Windows users, who typically have no rsync
installed.

Change-Id: I2044b9ea2b199e03dc4e9421d05a2698d92ad76a
Reviewed-by: hjk <hjk@qt.io>
2024-02-27 12:47:46 +00:00
Miikka Heikkinen
4db744cbf7 QmlDesigner: Add ReflectionProbe box visualization to 3D view
The box is visualized with wireframe box, just like setting debug view
property on reflection probe itself would do, only in 3D view the box
is shown when the probe is selected.

For simplicity, the box visualization is only done for single selected
reflection probes.

Task-number: QDS-11964
Change-Id: I1ad645517fa32785e4a5952b13cb3e10eb5f89b9
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-02-27 11:36:10 +00:00
David Schulz
a57a925b76 Debugger: defer type look up
Change-Id: I425c2bfc3c88ebf46af161c5434c0c05a3bb9c97
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-27 11:32:53 +00:00
Jarek Kobus
5152a35048 Axivion: Change the credential key
Make it user @ server.

Change-Id: I62e2c88ade5cc984ba11f718c3db292e4075e5e4
Reviewed-by: Andreas Loth <andreas.loth@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2024-02-27 11:17:57 +00:00
David Schulz
82399ac9c5 ClangFormat: Fix compile against latest llvm main branch
Change-Id: I6fe414721103d00eb3212040c1aafa2ef123b9d1
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-27 11:11:52 +00:00
Ali Kianian
d473f9aabb QmlDesigner: Prompt to consider first row as header for CSV files
* Also, a bug is fixed for reading the quoted texts within CSV rows

Fixes: QDS-11667
Fixes: QDS-11834
Change-Id: I74242148e38c8e71edeb45f3543308259358ee1a
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-02-27 10:45:48 +00:00
Pranta Dastider
18c2a8e02c QmlDesigner: Create the documentation for Qt UI Viewer
This patch creates the documentation for the
Android app Qt UI Viewer.

Fixes: QDS-11807
Change-Id: Ieabc7f986fa6470bf3c674062e10d3b3e4c10d42
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-02-27 10:08:36 +00:00
Christian Stenger
4dcba2ad25 Core: Correct log view thread handling
Fixes a crash when log messages are received from
multiple threads.

Fixes: QTCREATORBUG-30444
Change-Id: I51c78656da1dd30bcb51a801083d1714e474d8e5
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-27 10:01:42 +00:00
Jarek Kobus
e95ad3778f AndroidRunnerWorker: Avoid deleting process directly from its handler
Task-number: QTCREATORBUG-29928
Change-Id: If25c742e57ddaa90ed3342d09dafe626288f0783
Reviewed-by: hjk <hjk@qt.io>
2024-02-27 09:49:14 +00:00