Extract runner process partially into own class. For now only
the primary runners. Secondary runners will follow and later
more parts of the SquishTools will be moved over for better
encapsulation and easier enhancement.
Change-Id: I5db18cb8b27531a50f4284e42baa257755b7df58
Reviewed-by: David Schulz <david.schulz@qt.io>
Removes some unnecessary contains() by using the QSet directly.
Fetch all required paths at once instead of calling generatedQrc(...)
multiple times.
Change-Id: I0a6f65d11d92a4ec4f6655a87e30df6a5c4d6545
Reviewed-by: hjk <hjk@qt.io>
Types can be prefixed with QtQuick. or <cpp>.
Task-number: QDS-8947
Change-Id: If2b1423d6a08a9e083f6abeeca62be690ce20d3e
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
In the "New Project" dialog box, if the "Style" section is filtered (to
showing e.g. only "Light" or only "Dark" themes) then the project being
created was configured with the wrong style. The problem was that the
index of the style was not "translated" from the filtered list to
normal list. This should have caused problems when saving the preset as
well, if the "Styles" section was filtered (to white/dark).
Task-number: QDS-8874
Change-Id: I9422dad3083f9bac3355bd65e1a71332d093271d
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
... again, use the editors themselves, which are singletons.
Change-Id: I8ec7bce58414a23169831956c00bbdd73c6bfec3
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
To make them accessible also if the QmakePluginManager is not loaded.
The translatable strings are kept under "QmakePluginManager" for now.
Change-Id: I208ed7d3c8a003c930bd00501c7f64968b64681a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This allows to show a menu for the preview zoom from QML.
Change-Id: If42ee78e7d3208cb8e8313a77e0d24a3f5409a47
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Those members are not used.
Change-Id: I3ff7b88be3084928ec5a2f26763530261337ac45
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
The context menu can hide the toolbar and we do not want this.
Change-Id: I74274458f09af1a4d38b5f3f395dcc3ece5befa0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
We have to keep track of the index independetly from the widget
and emit emitZoomLevelChanged().
Change-Id: I646fcb1eee10fe502a642b3be75f47888ff814ee
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Previously FileUtils::copyRecursively did create the target folder,
FilePath::copyRecursively now does the same.
If either src or target are .qrc paths, select the fallback copy
routine, as tar cannot read or write to a .qrc folder
see: 7cb74e325f for report about
failing test in testProject_multipleBuildConfigs
Change-Id: I52bb9ad8f018f359f598e5bc8b18ab31c901496f
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Make more members const for clarity.
Change-Id: Ie2f5451fc578a88b473231348465d40aece6a634
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
If Xcode is present, we want its toolchain in the default kit, rather
than a generic compiler from /usr/bin.
Change-Id: If5d1dc02b6abcfff580162a19f07706d58681b7e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Fix click outside of TopLevelComboBox closing the popup.
Change-Id: I936e667a2a6f51e29b17933a6819c80f48c734de
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This should be a temporary solution. Read settings
at two different code locations is error prone.
Idea is to introduce a general QmlDesignerUtilsLib which can handle that.
Change-Id: Ic670d2c63f134ba8f1b1455d000b7c2f372b1d61
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Remove the intermediate inheritance level, clean up the fallout.
Plan in move them to QtSupport in a follow-up step.
Change-Id: I7fbecc7ea087b5f8e2c4bfbe97c2295957e454a9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Since recent changes in Qt the typenames are prefixed with "<cpp>."
and "QtQuick.".
Using simplifiedTypeName() fixes this, since it removed any prefix.
Due to refactoring the check for existence of the parent property
in case of a "sub property" like was removed.
"color.red" should only be added if nothing was already added for "color".
Task-number: QDS-8856
Change-Id: I6ef6bebf0674f8499c29e20f0313b78beb2b3282
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Use the normal CMake mechanism for finding either Qt 5 or Qt 6, instead
of relying of the mapping from Qt 6 to Qt 5 that is done via the custom
FindQt5.cmake.
As long as FindQt5.cmake still exists, we better assume that Qt5_VERSION
could be >= 6.0.0 though.
Change-Id: I3d095208e1608da46fe81d4db166aa0cd99c7326
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
So far we expected that both images are null or not null. But sometimes
you only want to save one image type in the collector. This will try to
generate the image cache entry again if you try to get a null image so
be careful.
Task-number: QDS-8917
Change-Id: I765f5b82589f52e439513a11926314ad2d99a928
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Since qmlpuppet is also used as QML runtime for the preview
QML debug channel this should be enabled in every build.
Change-Id: I0f9c10f1adf24f3db7da2389aa8a72e14b25433d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Don't pass the other test result into createIntermediateResultFor().
Rename it to createIntermediateResult() and create a new result based
on this object. Fix the caller so that it calls
createIntermediateResult() for previously passed "other".
Change-Id: I2c87cee1daa4f400c867852d071bd5c91b84dfd5
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>