We in principle support a map of locale->string for keys starting with
"tr" like "trDisplayName". This didn't work everywhere.
We may not cast the value for these keys to QString before passing it to
`localizedString`, since that would result in an empty string if the
value is such a map.
Also fix the documentation since we remove all parts from '_' (to also
get rid of encoding parts).
Fixes: QTCREATORBUG-23575
Change-Id: I2be795053e645c8bf81417d0db69cd7e63eff022
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Hide some recipes in cpp, as they are used only locally.
Change-Id: I8d6855c93e4a1264b217b9fb55219ab4f5cf56f1
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Refactor the case when running without deployment.
Reuse existing avd recipes and run a task tree instead.
Change-Id: If0b12d2779e64e218c8da6cd07c355d85afd2ec2
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
They got replaced by the corresponding recipes.
Change-Id: I1b42a9fb230869fde3daf03feb33ca2d1e89bb01
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
The QVariant values of Store map are apparently of QStringList
type, not QString.
This fixes the following asserts triggered on every startup:
"sd.first().typeId() == QMetaType::QString".
Change-Id: I84eb6a942503632d047939b138727c75e9e7037e
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Was only used to trigger IEditor::changed(). Do that directly instead.
Change-Id: I6cc659ac9be9496dbf8b463660754dd8779db94c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This was the preferred way for a while, but has been superseded by
creating the steps by ID.
Not exposing the factory classes in a header prevents following
the old approach in downstream plugins.
Change-Id: Iaa89458a87602006f1a05fa142a34cc1f9d63c64
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Alias properties are quite often broken. So we have to handle that
broken aliases.
Task-number: QDS-12761
Change-Id: Id9b53b98080733e5939de6b3761c923fa35e1dcf
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
The enabledChanged() signal is already a member of BaseAspect,
so no need to repeat this signal in subclasses.
Found by Axivion plugin.
Change-Id: Ifc12dc97e134ff1f873df2e5fa5830be55777b81
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Instead to trust programmers to add the entries sorted, we us an
constexpr to sort them.
Change-Id: I9129d3771d0451def726b230f8cd58e556c6b4be
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Since there may be many editors editing a single TextDocument
it is more useful to start at the TextEditor level.
Change-Id: Ic1c4ea76f22ab0d0741edd6f6ecc24d6befa17e6
Reviewed-by: hjk <hjk@qt.io>
This was used for qmake and cmake up to Creator 4.11 (Dec 2019).
Projects created or touched afterwards are unharmed.
Projects created before that and not touched since then will lose
runconfigurations.
Change-Id: I745aa3641749462a0420df6f658055a78fd52c8e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reuse existing avd recipes and run a task tree instead.
Change-Id: Ieaeb84eee299d7f75101a3076027d4185533b897
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Merge RegisterDelegate with PeripheralRegisterDelegate
and use it in RegisterHandler and PeripheralRegisterHandler.
Change-Id: I55088bafa5701ef828095c9889d333d282848ab4
Reviewed-by: hjk <hjk@qt.io>
... when it is created, but don't force widget creation to be
able to attach the context.
Change-Id: I62a7610241e68d658f2b31fb98666d94fe6061d7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Call setSearchRole(...) to create a suitable find aggregate.
Use it in a few places.
Change-Id: Iaa663d13bbc7776019e7b18ea720cc2411e0b691
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Amends baf20b8491
which removed the inheritance from the contextHelp method.
CMakeEditor now registers a context help function, which called
BaseTextEditor::contextHelp if no documentation was found, which was
correct when contextHelp was still virtual. Now
BaseTextEditor::contextHelp is the same as IContext::contextHelp which
calls the function that CMakeEditor registered again, leading to endless
recursion.
Change-Id: I912f69e0d0d3285c9fa77194f84b0819085c99b7
Reviewed-by: hjk <hjk@qt.io>
Reuse existing avd recipes and run a task tree instead.
Change-Id: I515e15aac8e047b6da72d7604a033824e1b99107
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
The AndroidRunnerWorker lives in a separate thread created
by AndroidRunner. Thus, we can't delete it directly from
the AndroidRunner's d'tor. Instead, we connect to QThread's
finished() signal and delete the worker later.
Make m_pidRunner a child of AndroidRunnerWorker so that
it's moved together with its parent to the other thread.
Change-Id: I5c3723315ee5183fa8451f0706311b14f173dca1
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Currently the installation always fails with the following
message on std err:
No argument expected after "-r ".
Removing the space after the -r arg seems to fix the issue
and process finishes with success.
Change-Id: I035442da0168580939f9b851554e8ec96713f99e
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>