This removes the need for a delayed call of
WebAssemblySettings::updateStatus(), and a possible visual glitch where
too many widgets are visible for a split sencond.
Change-Id: I2b4b39f6576d16d4fde6b3e3df1ce09e6805086d
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Inline variables have weak linking. So the linker will reduce them to
one instantiation.
Change-Id: I8aa02aa1181a59faf955f31d2683a76e8aef2df6
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
So people can at least add a custom build step
Change-Id: I78f3601233c776501bdc73fb7d67cbfeb886ced2
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
If someone wants to switch to a language because it is their native one,
it makes most sense to show the option in their language.
Nevertheless the english name is useful too, so keep it.
Change-Id: I3afb81202e6799525c1c9c503ac3a97c608c3c8a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Avoid sharing the workers with the engine creating the
snapshot to avoid closing both when stopping the debugger
engine for the snapshot.
Correctly detach at finish to avoid having a runcontrol
appearing still running.
Fixes: QTCREATORBUG-31220
Change-Id: Iccb54b0fc2d7f5bf54b42a116e56c1a840b1f46e
Reviewed-by: hjk <hjk@qt.io>
NDKs usually ship the python libraries required by the NDKs LLDB.
However, these libraries reside in a different location.
DebuggerItem::addAndroidLldbPythonEnv takes care of finding that
location.
This change re-adds the recently remopved
DebuggerItem::addAndroidLldbPythonEnv call, so that LLDB can again be
detected.
Amends: b56a447a83
Fixes: QTCREATORBUG-31279
Change-Id: I78cb7dfd1abd96f7bc52e4adff9dddd054f8ac0b
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
If a plugin was selected in the ExtensionManager, and meanwhile, the
"load" status of that plugin was changed via the plugin dialog, the
change was not reflected in the ExtensionManager.
This change connects the "Load on Start" checkbox in the
ExtensionManager with the PluginManager's "changed" signal to keep the
state in sync.
Fixes: QTCREATORBUG-31177
Change-Id: I6946e23e8491e9c896026b55315acf76bb50cb92
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
The ClangFormat plugin uses the LLVM API explicitly, so explicitly link
with the LLVM library when available, using its cmake target. This way
the linking is done no matter whether the target for the clang format
library declares LLVM as its public dependency.
Change-Id: I997c720935750fd01229d4d4c20c1bdcadca9ac7
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Add actions to get the full file blame at the current lines
revsion respective its parent revision and to show the whole
file at the lines revision.
Change-Id: I2c6a1e98967cd40d658afe6bfedf0a0d9e988186
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Context help is only triggered for the first widget in the focus widget's
parent hierarchy that has an IContext registered.
This change amends 411100b037 which
removed the TextEditorActionHandler by registering an editor-specific
IContext for the individual TextEditorWidgets.
The code editor in QmlDesigner registered an IContext for a widget that
_contains_ the actual editor widget and handled context help there. Now
the editor widget has an IContext, which means that the IContext that
QmlDesigner registered was never asked.
Directly register the QmlDesigner IContext for the text editor widget
itself, so it takes part in context help resolution.
Fixes: QDS-13248
Change-Id: Ib49129d9de20bdfa022a8e75ba454c7674040699
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Also, change from .toString() to .path() which is the right thing
to uses in this context.
Change-Id: Ic1fe001267a729e9f68a313bea476eb17b718ba3
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Since no object was moved to the started IndexerThread thread,
all signals scheduled to this object were dispatched
in main thread. So, the thread was started, but no code
was ever executed in there.
Remove the IndexerThread class and do some cleanup by the way.
Change-Id: I9ae185b8e0c38557e5b0ba3dd87f3c70141227d3
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Limit code repetition by introducing convenient class template.
Change-Id: I90b45a305c5a6f28bf75a602c14ff055928cda48
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
When some code adds or removes a bunch of toolchains at once, that
should be made explicit and also be reflected by the respective signal
emissions.
Fix some leaks and typos along the way.
Change-Id: I4a1f12a2378316c5faf70e85a88adc467f076caf
Reviewed-by: hjk <hjk@qt.io>
Q_WEAK_OVERLOAD
QT_DEPRECATED_VERSION_X_6_4("Use the 'qsizetype *suffixIndex' overload.")
[[nodiscard]] static QVersionNumber fromString(QAnyStringView string, int *suffixIndex)
We are now well-prepared to handle Qt version strings with more than
two billion characters before the suffix.
Change-Id: I2aed2c3b8650ff6fba68a174b13d826dc9ab446e
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
The original "sendMessage" function sends a message to each client.
To send a message to a specific Language client the sendMessageForDocument
and sendMessageForDocumentWithId functions are added.
As a fix the way that settings are copied into the Lua wrapper and the id used
to find clients was changed.
Change-Id: I577ee1f9da983c80e4ef00b8e86ccb2bfe369314
Reviewed-by: hjk <hjk@qt.io>
In case of error, post the output of the simctl command in compile
output and issues pane.
Fixes: QTCREATORBUG-25833
Change-Id: I62a0f7b10b5188a7c8b4e1db543b66d0661d4e6a
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>