It is clearer to name the "accept" button after the action that is
performed when clicking it.
Change-Id: I1153169d48082e95722150a4cfcd92939ba92889
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Fixes wrong handling of multiple qrc files when having just a
single prefix.
Change-Id: Id5ac357d4ab6a7f7556b36a9fc44da398ede093c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
The number for the plural must be given as the 3rd argument
to the tr() call, not as an arg().
Amends 1359e9c84f
Change-Id: I45241a6acd82041c320bbe476cd2b4cc92247ef3
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Deactivating the documents resets all client specific data and objects
in the document like the formatter or highlighting information.
Fixes an assert in the LanguageClientFormatter.
Change-Id: I7069abb273749ae335fed11010a5055eacaf58b2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Do not check the existence of remote interpreters when opening the
settingspage since we could run into device timeouts for unreachable
devices.
Change-Id: I5d0d1316961fc4ecbd2be55f6df70091ff65ecd5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
We usually do not use the "Label [ ]" style, at the very least it looks
different to other places in the settings. And without a ":"
("Label: [ ]") it also looks different to other lines in the same page.
Just use normal checkboxes like we do elsewhere.
Change-Id: I7f7d7aab399bef50dacb1efd83a5da460237e044
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
In order to preview a specific (QML) file, a QML Preview process has to
have been started, before. The "Preview File" context menu action was
therefore disabled until at least one QML Preview was running. This
precondition is neither documented nor evident to users.
This change removes the disabling/enabling of the context menu action
and shows an explanatory message box for the case that no running QML
Preview is available.
Fixes: QTCREATORBUG-29300
Change-Id: I643c57cab15ef4893a8efa6ac8839a3c00e956fb
Reviewed-by: hjk <hjk@qt.io>
* All log categories that were ever used are captured.
* Fixed various small issues.
* Allow disabling individual logging types.
* Add Splitter between messages and categories.
* No longer needs to interpret or change QT_LOGGING_RULES.
Change-Id: I33be4754d550064bc66274f655a59e7af67ae487
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This way CMakeProjectManager's auto-setup.cmake would pick it up and
find vcpkg.exe
Change-Id: Iafa84f13e0f50321ce771fc687ecc9e2df148de7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This triggered soft asserts in FileUtils::copyIfDifferent() when
opening top-level qt.
Amends 246f33c20d which introduced a unwanted extra .parentDir() call
which removed part of the path.
Change-Id: Id0475a74a589372d37b7ec65d33d3faf6194013c
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This is used in ProjectConfigurationModel::data()
Constructing the full list is comparatively expensive, and the extra
decoration is not needed.
Change-Id: I5b6c76376f806ea92444916a87d1f2e671e16d5f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
CONAN_COMMAND was not available for `conan_profile_detect_default`
function.
Change-Id: I03df06aa88e6588101bb5ec54b3ce2cb64dee2c8
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
The fact that Qt Creator uses the preset name to create a directory and
then import the directory is an implementation detail.
This changeset will allow characters like ":" to be part of the preset
name.
Task-number: QTCREATORBUG-29643
Change-Id: I84a224b78eb3d2233f80d9bdb8bf4478471349b0
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Trivial plugins may apparently skip the experimental state on their
introduction. At least according to the mutilple request towards me to
do so with the ScreenRecorder plugin.
Change-Id: I1e3d911ee79548d0fd72d3af0e3a568f6ab88d5a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
...if the respective kits have no Qt configured.
GTest and Catch2 get fixed with separate patches.
Change-Id: Ib3eb92e97fd683f42e3666bd41728a3824e230ec
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
- Convert Comment to C/C++ Style
- Move Function Documentation to Declaration/Definition
Task-number: QTCREATORBUG-29392
Change-Id: Iae48cd752c909a0007929e0111aa149fbfea02ee
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Fixes missing "Line in Current Document" locator filter.
Locator filters need to be created during startup.
This reverts commit 8af6d16b6c.
Change-Id: I53ec1c1079b4a719169e8db95b6d77f703264b65
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Restores old behavior. When QC is started with a Qt in PATH but
without existing settings it ran the autodetection and stored
the Qt versions to disk. This made it possible to restart QC later
with the same settingspath, but without having Qt in PATH.
Without this patch the Qt versions of QC only got persisted if
the settings dialog had been opened at least once and closed with
Ok (or an explicit Apply).
Change-Id: I74bd9bc0b96d5ff66e5a81200d6a269a5411a5ea
Reviewed-by: hjk <hjk@qt.io>
So it also works when building individual projects like cdbext
Change-Id: Ibb9cac77146a9f19cbbe22f2c7257b951f38f3fc
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Since version 3 of Catch2 it is recommended to use the
approach to link against Catch2 instead of using a single
include.
Make both variants work. There is still a third variant of
using a single include for version 3, which is left out
here, but can easily be fixed for Catch2 users.
Change-Id: I2c25837cb1df4b460b662466dde68563fa7d713c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
It is possible to use the header-only approach as well
as linking against googletest, so make this explicit
inside the wizard and fix the projects for the
respective choice. The old approach could work, but
mostly coincidentally.
Change-Id: I5b1c0b8dfd9a2ffac3268fc4c724ba47c2bf124c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
The blocking queued connection could block the main thread
if the main thread was blocking for an action that would access
the docker device.
Change-Id: I79c0c74688ac77f2763b9aa748386f27be011304
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
The specification allows this, so we need to support it.
Task-number: QTCREATORBUG-29643
Change-Id: I8bd0a91ba05d2ed27b7a7af2d268539de020826f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>