The follow-up changes will remove dynamic allocations for
ProjectPanelFactories one-by-one, so the leak will vanish in the end.
For now this prevents double deletion during shutdown in the
transition period.
Change-Id: I24d3ad4a2f300a7af782e1973d9817061af39c18
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
It looks like after recent switch to QProcess impl for
Utils::Process, the DeviceShell::m_shellProcess blocks
in DeviceShell::installShellScript() on a call to
m_shellProcess->waitForReadyRead(5000). Until it's solved,
bring back the ProcessLauncher impl for the shell process
to unlock the CI tests.
Amends a53dfaf623
Change-Id: I085ea5c1ae4f169c7c77acb8702ed48de0a95bac
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Avoids
warning C4566: character represented by universal-character-name
'\u23F0' cannot be represented in the current code page (1252)
and the resulting test fail on Windows.
Change-Id: I2bdd43b0648a954faa9e444df79a91027e6e891f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Custom font sizes of UI texts like titles and subtitles were usually
defined on the spot in code. With the upcoming focus on unified fonts
and colors in Qt Creator, a centralization of font styles in needed.
This adds the font getter function StyleHelper::UiFont() and the enum
UiElement that specifies types as H1..H6 and some custom ones.
Change-Id: Ie0d6e6fb51fe24d8aee6b4242941cbff45fe3853
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
This get rid of two instances of FilePath::toString and allows now
to opens the default wizard-generated "Qt Quick UI Prototype"
.qmlproject.
As the QmlBuildSystem is still heavily tied to the local file system
this here is only a baby step towards fully functionial remote
.qmlproject support.
Change-Id: I940f99472d45d9ade4966cf4f15b0692a51f2e7b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
- Also fixing issues related to image paths
- Composition name is shown in save dialog when re-save
- Clear current composition for reset or open a new one
Task-number: QDS-11192
Change-Id: I97aad4b5216e6b116343bb274db0f9abd1275fec
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
When performing "surround with brackets" allow this feature for
angle brackets as well.
Change-Id: I4192fd832aa3e692d9287b5b873e9ea31ec2b7e3
Reviewed-by: David Schulz <david.schulz@qt.io>
Also initialize text of parameter actions when defining the parameter action.
Avoids empty items if the setParameter() call is done too late.
Change-Id: I5e3398e5e537fc65f5c9c43cd62345b322f3143d
Reviewed-by: hjk <hjk@qt.io>
"if(activeTarget && activeTarget->kit())" will always
return true for both Qml & CMake build systems.
The value of McuSupport.McuTargetKitVersion has to
also be checked as the third condition for Cmake
build system.
Task-number: QDS-10599
Change-Id: I5904e34082d1d81cccc4dd43b6911f9160eb5ea1
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Starting with LLVM 17.0.1 we include lldb in the list of packages
compiled on Windows.
This commit deploys lldb.exe and its Python required machinery.
Fixes: QTCREATORBUG-14539
Change-Id: I7f44c537cbaf31bf2f065762bdc9a48dd5efc64d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Modified the QDS version compatibility with Qt for MCUs SDKs page
so that it's up to date with the latest/upcoming releases
(Qt for MCUs 2.6 & QDS 4.4).
Task-number: QDS-11228
Change-Id: I21ca6e5e7362c8bab756d1adcd81954deea48784
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: Maija Metso <maija.metso@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Prevent use-after-free when QtCreator is closed while a network request is still
on the way.
The previous future approach will try to use reply despite reply being destroyed
by networkAccessManager's destructor.
Now, the connection gets automatically disconnected when reply gets destroyed.
Change-Id: I7a00006a2f38d3a774eb2769e6faeb339d18025a
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This introduces ICore::aboutInformationCompact() and
ICore::aboutInformationHtml() and moves the existing code there. The
former is used in the "System Information" dialog, the latter in
"About".
aboutInformationCompact() will be used for the "Copy and Close" feature
in an follow-up patch.
Task-number: QTCREATORBUG-29886
Change-Id: Iec818e376b3f02f52da00428285ad69b94d8adea
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
In case we are having symbolic links on python or its parent
path(s) we added an interpreter for each of these.
Resolve the python path explicitly and only add them if they
are unique.
Change-Id: I21b9d7d85e82c5ec3a18e182dfcde2b98936a8af
Reviewed-by: David Schulz <david.schulz@qt.io>
Shuffle order of parse and add short cuts in case we can
stop parsing early.
Change-Id: If03a5cbc0e51dc77f4b03b1cf1d07243f5b2a70b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This example shows how to separate the business logic of the recipe
from the GUI and how to write a reusable recipe.
It shows how to feed the recipe with the initial data and how to
retrieve the final result from the recipe using onStorageSetup()
and onStorageDone() handlers.
Change-Id: I04c0c0c9bd6cf25ac4e91317e527ad12832e9143
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
Delete the runtime node just after the task / container is finished,
instead of when all other tasks in parent container are finished.
Change-Id: I5fa3bc92324e8274b023fbc20e4bbede9824f47a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
Separate completely const tree (data taken from recipe)
from runtime tree. Build runtime tree incrementally, on demand.
The const tree is created on TaskTree::setRecipe() and
the runtime tree is created on TaskTree::start().
The const tree serves as a kind of template for creating
the runtime task tree later, dynamically.
Prepare for the implementation of the loop functionality
(3rd point on the master task below).
Task-number: QTCREATORBUG-28741
Change-Id: I80382e5ef43d53b36ca3c70472b193c5949f5ab9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
Simpler overall interface with only slight overhead when not used.
Change-Id: I4846df70df0d442a264d81ac5f351407b2d5e40f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
That Qt version is used for building as well
Change-Id: Idae06324532b0dc2f453b802ca3d817fe3d41593
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>