Adds a function to add a "default" constructed new item to the list.
Change-Id: I3d826b6f3e3705ae431efa5d778219f431509ea8
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Don't operate on the same SemanticInfoUpdaterPrivate
instance from 2 threads.
Use future synchronizer for quick cancel.
Drop using QMutex, as now the threads are separated.
Change-Id: I33bb1485ff03751ec5a1481f5be5c21a48ac3fd4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Adds a button to copy the current theme to the clipboard
in a format suitable for the Qt Creator Theme files.
Change-Id: Ib302d0544507b3111675a99f0915323d61d684c5
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
There is no need to start it from a separate thread.
Change-Id: I0f560345ed0f02832176a8986a9fbdd97061d3ae
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Just like registerDocumentation this function can take a considerable
amount of time. As this function is also executed on startup it
increases the perceived startup time.
Change-Id: I43f4bb61293948c78eb7394d202757af83210eaa
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Delete it later instead.
The startDelayedInitialize() is invoked directly by
delayedInitializeTimer's timeout() signal.
Change-Id: I8813679c5cf150cfe91b6bf48559c83b7e3cd893
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
std::to_string is locale dependent. std::to_chars it not. Because some
of our supported compiler(libC++) don't support std::to_chars for float
we use the QString.
Change-Id: I9a8f5d1d9b769faca0a7ac2d0798b91ee6b814d2
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
CMake has a few environment variables that are documented and this
commit adds support for them.
Change-Id: Iaa31bdc97b343581fcf519d19e66bc6ce8ace150
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Just differentiating between 32 and 64 bits isn't enough anymore. Do the
same as for the cdbextension.
Change-Id: Ic5acc256641b5b63568d1ef4df825aea0724d756
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
... in CppSourceProcessor::mergeEnvironment().
This is functionally equivalent as the scheme/host bits are identical
within normal projects.
The temporaries for path() were responsible for 10% of the time in the
function, in total ~0.5% of the C++ parsing in my Creator-in-Creator setup.
Change-Id: I7f4f163f0f4b46ebf876d631a8dc5fae667e9fd2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
I needed to add more members to the structure, and will get static
analyser to complain that the number of bytes is to high.
Amends 3984108c0c
Change-Id: I162b9ef615dc7f6f76b08c5599eed24488bf7e88
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This reverts commit 4c5e3aa6ba.
Not needed anymore. The action likely ends up in a menu or such
where it is effectively 'autoapply'.
Change-Id: Ib02cba871028fa1422e10622d263218089226c56
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
If Boot2Qt devices are registered, their CMake tool would often end up
as the default. Instead now we only auto select a cmake tool on the
local machine.
Change-Id: I677ab06ae88ff36209e691ea0fadb356436e973c
Reviewed-by: hjk <hjk@qt.io>
The pointer contains the parent class passed with "this" and will never
be null.
Coverity-Id: 1568097 Dereference after null check (FORWARD_NULL)
Coverity-Id: 1568100 Uninitialized pointer field (UNINIT_CTOR)
Coverity-Id: 1568111 Dereference before null check (REVERSE_INULL)
Change-Id: I40e32d162689c749d498c4a63c073c0e336a3626
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
When the user switched to another builtin color scheme the full paths
check do not match anymore if the user starts a Qt Creator with a
different install dir.
Change-Id: I4692c85a23a7d524497786db4dd8e1a00bb7a9fe
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
If projects are using a local "cmake" directory containing
Find<Package>.cmake modules the common practice is to use something like
this:
## Add paths to check for cmake modules:
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
This commit makes sure that these packages are taken into consideration
for code completion.
Change-Id: I152ccce0c97ab2385eda93ff6bc5fc4e7cefb6c4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This way code completion will have Qt6 package suggestions for
find_packages.
Change-Id: I9ab64425f850a0d990e77a559ce9f121bc9cf2d7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Since they clash with default windows functions and cause issues with
PCH build.
Change-Id: Ice0339c7dad14b40e172c885ffb71d923469614a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
One of the two non-standard items exposed in the TextEditorPlugin class
interface.
Change-Id: I89755c6a2b168f31b69d3904d6d043273b462ea6
Reviewed-by: David Schulz <david.schulz@qt.io>
qrc:/qt/qml/QtCreator/Tracing/TimelineLabels.qml:29:5: Cannot override
FINAL property
property bool dragging: false
^
Flickable has a `dragging` property itself, and in Qt 6.6 that leads to
this error.
Fixes: QTCREATORBUG-29719
Change-Id: I882e944035141622c0bdf65ee4fcb3cf145aef0d
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Adds compatibility for older settings - likely only relevant
for settings of snapshots or development QCs.
Change-Id: Icb6a9c054dea4deac5adbc4255bc60dcd6c14ea7
Reviewed-by: hjk <hjk@qt.io>