The two plugins plugins added resource files which were referenced with
the same name, namely
:/unit-tests
Make the names unique.
Change-Id: If63e762663f3f61b15f826d76ffcd2eb66873db7
Reviewed-by: hjk <hjk@qt.io>
...or if requested with QTC_CLANG_USE_TOOLCHAIN_MACROS=1.
Change-Id: I6d2f35b69393a7039271cc651aa514cdb686522e
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Return a link to the word under cursor when the target should not
get resolved. This results in a highlight of the text the mouse cursor
is positioned on when pressing ctrl to follow a link.
Change-Id: Iaf1ba289644ed3e3fc062b418dd2fa3bfa8da6ad
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The link is updated on the release anyway. Reset the press state of
the link now after a mouse move event.
Fixes: QTCREATORBUG-21848
Change-Id: Ice7a9873b1635a1b59ba7b8f2a266bf14e28c112
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
... because this widget can be used from any provider (not only the GDB).
Change-Id: I9d77f30f364dc63367923dc461693fc781a8a8c6
Reviewed-by: hjk <hjk@qt.io>
... with the DEBUG_SERVER_PROVIDERS_SETTINGS_ID name.
Reason is that this identifier includes not only the
GDB providers, it includes all possible provider types.
Change-Id: If545826aaf1606d33d4fec55653cd6e3ba2c5d61
Reviewed-by: hjk <hjk@qt.io>
This mode is useless, has not sense, and complicates a code
handling. A more useful equivalent for this mode is
"Debug->Start Debugging->Attach to Running Debug Server".
Change-Id: I863dbc5c41ca82db52792a3ff2a1eae16f8e7afd
Reviewed-by: hjk <hjk@qt.io>
Binding Editor now shows which property type it expects.
Binding Editor now works with alias and unknown types.
Change-Id: I23d0bed3db5126de5107cf2f1f6b46485b89e1ea
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Fixes RealSpinBoxInput scroll behavior. Without this change the
RealSpinBox would block the ScrollView from getting mouse wheel events,
which means whenever the mouse is hovering over a RealSpinBox the
ScrollView can't be scrolled via the mouse wheel.
Change-Id: I4533e36700fc2652a9c246a0e30613c71258edaf
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
With the introduction of the "Analyze Current File" action the widget to
configure the diagnostic config was moved to the project panel (Project
mode > Project Settings > Clang Tools).
As not too many users are aware of the project settings there and
navigating there involves more user interation now (mode switch, looking
for the "Clang Tools" item), add a toolbar button as a shortcut.
Change-Id: I4c864045ef41ff501d925d3175ce604def213f29
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
When reading file paths from clang-tidy's YAML files, ensure to
clean/normalize the file paths. Otherwise, no diagnostics will be shown
as they are not accepted by the is-file-part-of-project filter.
Change-Id: Iacff9ab5611072ca0b19788f6861f73c244258cc
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
As the settings keys are case-insensitive on Windows, the condition
s->value(oldDiagnosticConfigIdKey).isNull()
in ClangToolsSettings::readSettings always evaluated to true, leaving
inconsistent settings around (new and old).
As a result, the QTC_ASSERT parallelRuns >= 1 was triggered in
ClangToolRunWorker::start() and nothing was analyzed.
Fix by using a truly different settings key after conversion.
Change-Id: I467f7d71298f240812a56dfcf7d6ca81728dee32
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
When new text files are created from Qt Creator, use the default
encoding from Qt Creator settings.
Change-Id: Iddfa173a70a363ec8d559d996b3fc658e15dfe57
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: David Schulz <david.schulz@qt.io>
This provider was added thoughtlessly and has not any
useful functionality. A most useful analogy it is
"Debug->Start Debugging->Attach to Running Debug Server"
which completelly replaces of this provider.
Change-Id: Ib4d8db5b20cd08821c5f3e005c6b8ae5816f2096
Reviewed-by: hjk <hjk@qt.io>
... as we don't use the SSH parameters at all.
Tested on the STM32 NUCLEO-F767ZI board with the OpenOCD
and the ST-Link providers on Windows host.
Change-Id: I1e21112c9058129d14ce584a804777532933a7d9
Reviewed-by: hjk <hjk@qt.io>
We don't need in this class, because the remote GDB servers are
launches by the RunWorker.
Besides, the BareMetalDevice::canCreateProcess() and the
BareMetalDevice::createProcess() are not even gets called at all.
Tested with the STM32 Nucleo-F767ZI board using the ST-Util GDB provider.
Change-Id: I8d3770ec59738c63aa44dd39d371a1b443a81f9a
Reviewed-by: hjk <hjk@qt.io>
Implement global/local, projection type, and default light controls UI.
Also small tweaks:
- Fixed ortho. camera near clipping
- Grid color darkened a bit
- Selection rect color changed to yellow
Task-number: QDS-1250
Change-Id: I03cf2023ee1b8a6a0768e4dbf7d6fee621a25ce2
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This patch introduces a new state called 'popup' to disable text editing
while the popup is opened and enables text editing whenever the popup is
closed.
Task-number: QDS-1262
Change-Id: I74ad4723d2cfe81447e94c37e9ba1f0913790d97
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Offsetting in scene space resulted in label being inconsistent distance
away from the object, depending on zoom and angle.
Change-Id: Ief555de664c042bb1a5c93af0ee7e5a1c3e7ce0a
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
If eyeball is turned off for object, it shouldn't be pickable in
3D edit view.
Change-Id: Ib9308aaaecc822f448591f249bd96ffb5d0c9c48
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
- Use using instead of typedef
- User member initialization
- Use nullptr
- Do not use else after return
- Delete pointers unconditionally
- Fix some integer conversion warnings
- Use auto for new/casts to avoid type name repetition
- Use = default for trivial destructors
Task-number: QTCREATORBUG-23248
Change-Id: I0a7465d3aa200b5c862bec82636d2d22ddf8297b
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
And do not connect to buildConfigurationChanged. It's not needed,
and listens to the wrong BuildConfiguration after the first change.
Change-Id: I9d5dc8593ed5610aaf64e6717a694710a137b344
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>