Diagnostics from clang-tidy and clazy do not take this route anymore.
Change-Id: Ifca2d9861d69dda94638277ec1210d28a3350b12
Reviewed-by: David Schulz <david.schulz@qt.io>
It's what it used to do and actually better for the docker case where
the two only active use of these in form of %{Qt:QT_INSTALL_PREFIX}
are in a cmake build context that would require (device-)local path.
Long term we might want to use a variation of registerFileVariable
here without changing semantics on the user side.
Change-Id: If8dd77ac0b94ede41dbfe322802d5ef6c0b043ee
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
- Remove an obsolete file
- Fix link targets
- Fix navigation link targets
- Fix conditional text
Change-Id: I2421be9867c350ec04b7a09489b0655de9bafa53
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
This is particularly interesting for indexing, where users might prefer
a slower-building index with less CPU load.
Change-Id: Id44c58e9041df2857cd0772e71345673b14623f3
Reviewed-by: David Schulz <david.schulz@qt.io>
It is conceivable that users don't want to spend the extra CPU time on
this.
Change-Id: Ic3611c8d17d201ae986fad08b344369a8728ce1b
Reviewed-by: David Schulz <david.schulz@qt.io>
We plan to add more clangd settings, and it makes sense to have a
dedicated place for them both in the code and the UI.
Change-Id: Ideb92935b7a5a6a98e07980f4011736fb82042d1
Reviewed-by: David Schulz <david.schulz@qt.io>
This reverts commit 9dcbb8ca01.
Reason for revert: This workaround is not needed anymore, since
Qt 6.1.2 (see 71348437939e62b0e3b86888e966b300ff1e2855).
Change-Id: I089457dc58c5b97136b30190fdf17cfb303f8bd8
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Make sure to copy the target's main lib file before building the APK.
If the lib file is already there, i.e. copied by the underlying build
system, this does nothing, but if the file is not copied by default like
in cmake with Qt 6, this would copy it and would save us having to add
*_prepare_apk_dir in cmake command.
Also, this could allow us to remove the step "make install" from
qmake step settings.
After this we could revert 9dcbb8ca01.
Fixes: QTCREATORBUG-25367
Fixes: QTCREATORBUG-25216
Change-Id: I243a16a32e2ea97e175c893470480c9d2c9b1e27
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This field is supposed to hold the name for the *.so lib that
contains the main() function, ideally it shouldn't be edited by
the user, because some users might use the field to set an invalid
name or use the app's human readable name which is wrong.
Change-Id: Ie7feb79d6231d1785c29754ed277e057181e9ca0
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
If you had an auto detected CMake tool from the sdk you would
not be able to change the "Autorun CMake" state from ON to OFF
because the sdk value would always be used instead of the
user one.
Fixes: QTCREATORBUG-25911
Change-Id: Ibe3b393a2b9e4d397251018fda8a9508ad096791
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
With the default build directory template the CMake build directories
will be displayed as project-source/../build-project-name-kit-build-type
which can be irritating.
With this commit the build directory will contain the resolved path.
Change-Id: I968260caba5b9a47e1bda4eeaea386a04fe817b1
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Qt Creator will do an update of run configurations after a project
configuration.
If an always created target was no longer existing, it shouldn't be
part of the run configuration.
For some reason this was not the case for CMake projects.
With this patchset if a target's name is changed, the previous target
name is no longer part of the run configuration.
Fixes: QTCREATORBUG-25906
Fixes: QTCREATORBUG-24914
Change-Id: I086a2540eaad9039e41fb48194d5901c7be22be8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
... in 3D Editor. Also add info and links about hiding/showing and locking components in Navigator.
Task-number: QDS-4626
Change-Id: I1f8713a9feed19029d9dfc6bb5064e2b936e2333
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* check that we create LocatorData in the same thread as the
ModelManagerInterface
* pass this as connect context, to ensure signal disconnect
Change-Id: I5e51af90c521fd8c83a6cfe2d105832f5a02a04f
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
(cherry picked from commit 584f0476ec)
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
It's hard to draw the line, and it's only about a potentially missing
warning here.
Change-Id: Ie86905d0b8309297965133dedf636b6172a11757
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Avoids some roundtrips asking for ProjectTree::currentNode()
which traverses the project tree every time.
Change-Id: I650728eab5a47a7f4760cf88844a4b7106365255
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
The option was removed, so removed also the docs and updated the
screenshot.
Task-number: QTCREATORBUG-25642
Change-Id: I61b3e01ad0b620bc7d2661a7a76deb53c7ffa238
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
... which avoids a raw pointer which needs additional "management".
Change-Id: I9c478b4043a563b00ced09de8366657eaf34c349
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Split resource file generation into two actions. Take file from
current project into account. .qrc generation should take existing
.qrc file into account.
Task-number: QDS-4516
Task-number: QDS-4517
Task-number: QDS-4519
Change-Id: Iee15880657e456fbd74df505c10ee83a80ee64a7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This will allow for the Qt Creator's CMake build only qtcreator
target to be selected as runnable.
Similar to qmake's qtc_runnable or Qbs's qtcRunnable features.
Fixes: QTCREATORBUG-25908
Change-Id: I6416873d0ad9cfec4960d98fc4b289ec98cc58b1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
We'll make use of this in a follow-up patch.
Change-Id: I851d607256617b02a3fedc3a370203a47a8db904
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Chicken out of list parsing when an element can't be read.
Change-Id: Ia0c487c53984ee29ba1b561edc040aa1447493a6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
In particular, the same namespace can be declared in lots of different
places.
Fixes: QTCREATORBUG-25776
Change-Id: I7e255cee560043ed4beb47b8047f99c3a9c21198
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
- use of uninitialized value
- unused local typedef
Change-Id: I60d6c3a9a04d9f603a102439582c9e55d85a191f
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
When changing the build directory to a new or empty directory, we ask if
the build directory should be changed and the project be configured
there. Mention the new directory in the dialog.
Change-Id: Ie4d7e9b132e6e90004e4d498b2182562375e7441
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Restructure existing information and fix navigation links.
Fixes: QDS-4470
Change-Id: I4a1118a4620527b461b99bf05b8b06d947018c80
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>