... and move to .cpp, and sprinkle some 'final'.
Change-Id: I07054cb226afe30f6e1fd89b0518253c8b2d38d5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Some listeners are only interested in a particular build system
instance, not all of one target.
Change-Id: Id89bd96c1f7f68bac13886bdc31cb899978d76ac
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This saves a roundtrip when reporting bugreports where an unexpected
error shows up.
Change-Id: Id2e7cbd86a456ea794f0791199077f931cab03c5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
If in a reaction to auxiliaryDataChanged() we change AuxiliaryData
this could trigger cascades and to avoid this we assert.
The cascades and assert can be avoided by checking AuxiliaryData
before.
Change-Id: Id9dd4198041889113fb0e50fdfd4785fddf89f02
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
If we encounter a kit with a Qt version, but no toolchain, try to find a
matching toolchain and set it on the kit.
This is helpful if the user forgets to set the toolchain or a toolchain
gets removed.
Fixes: QTCREATORBUG-23564
Change-Id: I2b29ece81502b10d2a64a431a0edbcd43b1ec3a6
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
So far it was only possible to combine TextEditorFactory, BaseTextEditor
and TextEditorWidget directly.
That TextEditorWidget is also directly a QPlainTextEdit made it
impossible to "decorate" the text editor widget with something else
without a lot of effort.
Make it possible to create a text editor factory that returns an
arbitrary widget, as long as it can be "cast" to a TextEditorWidget with
either qobject_cast or Aggregation::query. That way the TextEditorWidget
instance can be attached to the editor widget via Aggregation.
Adapt other code that accesses TextEditorWidget from editors
accordingly. Introduce a common method how to do that.
Change-Id: I72b8721f3a8a8d8281c39af75253e9c80cbe1250
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: David Schulz <david.schulz@qt.io>
The current implementation does not help the user and is not in sync with isEnabled(),
so it is not helpful to have.
Change-Id: Iddde1ac3da24d50e8a16d2bd4c6aa56eef34ef50
Reviewed-by: hjk <hjk@qt.io>
Left over from earlier infrastructure that isn't used elsewhere
in this form anymore.
Change-Id: I785f95d668743ccee858b4d02a2215c895cb55c4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
... to DebuggerPlugin ctor. This fixes a "Variant::load: unknown users
type with name Utils::PerspectiveState" message when the TextEditor
plugin restore the FontSettings.
Change-Id: I8e1ebe562233ff6e9b7bdbfa85680e5acf6c4715
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
If no Qt for Android version is installed don't show the config info
bar.
Fixes: QTCREATORBUG-23580
Change-Id: I880594701cdd6d5c0fc0586b5e49cc6a66efedb7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Tool state of the scene is linked to qml id of the scene root, so that
tool states are preserved through delete and undo, which causes
generation of new internal ids for instances.
Tool state storage doesn't currently survive changing of scene root
qml id, as tracking that isn't trivial. It's not enough to simply track
id change commands because model repurposes existing nodes when major
graph changes occur, causing unexpected id changes e.g. when
delete/undo is done.
Change-Id: I74d11ce47e86ce5d29796399c4a91b65980b1597
Fixes: QDS-1536
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
And make it possible to turn off building the cdbextension library.
So they can be installed and packaged separately
Change-Id: Ic7da1411aa3973604b897e1cbf57ad9c5b0fe460
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
A build step knows where it belongs to.
Change-Id: I990cf1fb7f22b608a2f317a05b05f1219649aa6e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Instead of copying the list and move some items individualy from
one list to the other use Utils::partition.
Fixes: QTCREATORBUG-23281
Change-Id: Iaf9430c041aa916feecf9214303ba30f17290ba8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
- Move some images from qtcreator\images to qtcreatordev\images
- Hide directories from the doc build (these will be added
gradually when we fix the docs for the classes in them)
- Fix broken links
- Add README.md that describes the doc projects in the repo
Fixes: QTCREATORBUG-23544
Change-Id: I4fc29d8fbc8b7a0a0f81fa3261f6412c47b9d84e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Notarization is more picky than the regular code signing.
All code outside of the "usual" binary directories must be signed
separately, in addition to being codesigned with the application
afterwards.
That includes Imports/qtquick2 and Resources/libexec.
We cannot just move these into e.g. MacOS/ or PlugIns/ either, because
these directories may _only_ contain code, no other resources.
Change-Id: Id05b2644e01b61e9c33d86617c6374225b50e7f3
Reviewed-by: Eike Ziller <eike.ziller@qt.io>