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>
Make the documentation for using QtMCUs design studio easier to locate
for new users by showing an InfoBar notification with the link to the
online documentation.
Task-number: QDS-10332
Change-Id: I9344216ef36369cdfb284ab18dba91cd0b5d4c92
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
... when inserting member functions via "go to slot".
Fixes: QTCREATORBUG-11730
Change-Id: I5de6947069e2c376758d0a79f6d1d710882aee66
Reviewed-by: David Schulz <david.schulz@qt.io>
... if the user tries to complete inside a comment or string.
Fixes: QTCREATORBUG-20828
Change-Id: I245e1bd16acaf696601cabe33f27210da21cc12a
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
It is not only simpler but more flexible too.
Change-Id: I9b4b0e522865270bcb84ea5d343d7f8ada708d3b
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Hopefully it will make more clear what is disabled or enabled.
Change-Id: Ibc9b2329f5b664ba346bafeb27c54cf082758449
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
'N' and 'D' phases are not supported by Perfetto. So I mapped it to
async events. This patch is improving the interface for arguments too.
Now you can select the type for you arguments. So the name can be a
string_view but the arguments can be a string.
The variadic template arguments are used to prevent any conversion code
which could not be optimized out for an empty function.
Change-Id: I1ad1927b5e3b63607a21df1351b1f5cfba50159c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
It is quite hard to define always an end to a trace. A move only
token can do that. The drawback is that the token gets bigger but only
compile them for an avtivated category.
Change-Id: I88b47c5b47e4129b1cd402e89251b45fa126111c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@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>