In case a passed future interface is used only for checking for
cancel, use QFuture<void> instead. This will properly integrate
with QPromise API.
Change-Id: I33e5e9c62dbcfb1f7aa71eace6158e5b7c0a7098
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
It's more reliable than the built-in code model with non-trivial
directory layouts.
Fixes: QTCREATORBUG-28878
Change-Id: I02a058e7efb54e6af0998948a20d990e10293f03
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Printing the source code line the debugger stopped at causes issue in
the general output handling and was just used to conveniently reading
the log file.
Fixes: QTCREATORBUG-25054
Change-Id: I8db54ef6aa101b2bc7e39984bbf93bd6c9e2dc41
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
There was a module name appearing where it shouldn't have. This just
worked accidentally due to a bug in the qbs implementation.
Change-Id: I768b5cefd82f201138e6e07c72867ec8cb62dd2b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The query currently used does not provide this value and showing
public for everything is misleading to the users.
Fixes: QTCREATORBUG-28882
Change-Id: Ie47a4fa24e4b1e90b8d1a53c5819742f2b5aca71
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Avoid having to pass to CreateTexture whether the asset needs importing
or not. Instead check if the asset is already inside the porject or
not. Also small relevant tweaks.
Change-Id: I6a449d76a6b70ab34fe81762fc9e3eacf9b64d04
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Clang-Tidy and Clazy can now be run separately and the results
are shown in separate views in the Debug mode.
Task-number: QTCREATORBUG-28721
Change-Id: I74dd866b68657460603cdf36d12ddf1758b761c2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
- Added `Show advanced options by default` to
`Edit > Preferences > CMake > Tools`
- Moved `Autorun CMake` to `Edit > Preferences > CMake > General`
- Reorganize the building with CMake topic and add subtitles for
readability
Task-number: QTCREATORBUG-28721
Change-Id: Id8bab60bc2e148c067ac1eb3669b544d12031078
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Update screenshots and fix alt text to use {} instead of "".
Task-number: QTCREATORBUG-28721
Change-Id: I9535f099047b36dda2f7a37b181c688e40a534d1
Reviewed-by: Xavier BESSON <developer@xavi-b.fr>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
"Go into component" has changed to "Edit component" and
"Move component into separate file" has changed to
"Create component" in the UI.
Task-number: QDS-9387
Change-Id: I30c4784c5661704f4c7244115b31408e6c2a593a
Reviewed-by: Esa Törmänen <esa.tormanen@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
This introduces the vcpkg support plugin. Initial features are:
- Options page for defining vcpkg installation location
- Search dialog for searching/selecting a package
(incl. parsing autotest)
- TextEditor that shows search/options toolbuttons
- File wizard that creates a vcpkg.json manifest
Change-Id: I098784100c869e0bb2ed6f60db4dedad559a142a
Reviewed-by: hjk <hjk@qt.io>
GTest uses a linear output format while we use a tree to
group the results.
Some information which make sense for the linear result
cannot be placed correctly into the visual tree at all
without breaking either the tree layout or displaying the
result at unexpected locations inside the tree.
So, omitting these information to avoid confusion seems
to be the best trade-off as the information is still
present inside the text output if needed.
Change-Id: Ifd72bbf7e88993b4c76765597288e1531b50ee9a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
On Windows the terminal (both cmd and Terminal) have Alt+Return as
fullscreen.
For Qt Creator this will map to the minMax Terminal panel action.
Change-Id: I04594850a0fafa8f620dc81d0b5b49937c12a0cd
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Selections were invisible if a cell with a background color
was selected.
Changes to the terminal did not reliably reset the selection.
Change-Id: I923223f43e5ee1b6576966f9dd791aa109ac1d5f
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
When "altscreen" is enabled ( e.g. when starting nano ), the terminal
switches into an alternate mode without scrollback buffer.
This was not correctly handled where the scrollback buffer would stay
active.
Change-Id: I443d26383d9cd908befcd24a837ecf84c0c1e849
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Stopping/Aborting the debugger in core dump mode popped an error message
saying "An error occurred when attempting to write to the process."
Take 2 of 87c00b86db.
The flow is:
InferiorUnrunnable -> InferiorShutdownRequested.
For AttachToCore, there is a no-op transition to
InferiorShutdownFinished, and then EngineShutdownRequested is triggered.
This calls exitGdb, and when the thread group is clear, the engine calls
notifyInferiorExited, which retriggered EngineShutdownRequested. Now the
flow looks like this:
EngineShutdownRequested -> InferiorShutdownFinished
InferiorShutdownFinished -> EngineShutdownRequested
And exitGdb is called again.
Fix this by changing the Finished type to match the Requested.
Change-Id: I45332d3ee1a1e9421ed516cd513542b310198c93
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
We also have enterprise dmg for example at the QtDesignStudio
case so we need to replace the default LGPL with enterprise.
Change-Id: I059e056cd4fda02f8befa72a2b694ade471b7f47
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Up and Down now change selection--they work only for files, they skip
directories.
The Delete key will (ask confirmation to) delete the selected files,
just as it happens when clicking Delete from the Context menu.
Also, did a small fix in the AssetDelegate, where, on mouse release,
you could have a directory added to the selection list.
Task-number: QDS-8710
Change-Id: I05e232ed0ce94709df41a5150a49300ad65c0a86
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
TableView.modelIndex function was deprecated in Qt 6.4.3 and replaced
with TableView.index function.
Change-Id: I65638c002015c556a78ce6341ebcb3ce6448e825
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
There is no need to run asynchronous task in this case.
Change-Id: Iaca0a5950572c167b996a8d8f0a376d9c35c38ab
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This dialog is a standalone QQuickView with its own engine, so we
shouldn't use MaterialBrowserBackend as it is not defined.
Change-Id: Ibcca023d3f85f652f080c1eee70bac550181ef9a
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
... for the architecture and toolset fields.
Task-number: QTCREATORBUG-28721
Change-Id: Ieac6c4bc1553204a1e34ea0ea05028e6e4975adc
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
There are qml directories without a qmldir. To identify them we use the
directory source id instead of the qmldir source id.
Task-number: QDS-9345
Change-Id: I1356ad332c091b64cbdad389a3ac505133716634
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
There are qml directories without a qmldir. To identify them we use the
directory source id instead of the qmldir source id.
Task-number: QDS-9345
Change-Id: I4ed4596a21576e6bbd18c5117753669ef8a68a28
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
If there are no cached data all importatnt files should be now being
watched.
Task-number: QDS-9178
Change-Id: I0c9093e41e6a2d4f3a5aa3d62aba1fd41e047da4
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
The key generation was changed to omit filename suffix.
Change-Id: I46f19fa0b8b750ebf10271cffa99682277d283b6
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
For now changing the path triggers the "restart needed" dialog. Some
refactoring (for future) is needed to make the change works right away.
Also added few missing ContentLibraryBackend uses.
Fixes: QDS-9233
Change-Id: I3a576d397b0452a70d9940edaaa38193c41af347
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>