We use the @ for property names in annotations, but
this is no correct QML.
So we replace @ by __AT__
Change-Id: I9437f3b7b1e0489619bc89a20452cc2586be8f12
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
The QML code for the annotations can be syntactically incorrect.
We have to check this case.
Change-Id: I5428b7963e905c65d65d8524316b2f81c952cb40
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
The destruction of a project can still trigger file list changes, so
just check if the project is actually still registered before updating
anything.
Task-number: QTCREATORBUG-20314
Change-Id: I0d634ca8986d1f09e84c310ae732c0bcdc675534
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
no need to keep an extra list since we have access to
m_designerActionManager
Change-Id: I20e449beb24ab194a59b46dc4c677cd1e8152cca
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This allows for use of the new SettingsAccessor infrastructure for
upgrading, backups, etc.
Task-number: QTCREATORBUG-20148
Change-Id: I5419c86c0fd576a59ec91c212097c8f987e01da2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The line edit for the gdb server executable has a
placeholder text that is not readable due to the length
of the text. Add a tooltip that duplicates this text,
but is able to display it completely.
Change-Id: I1c15416f3b31420967825f1b99582021938d3628
Reviewed-by: hjk <hjk@qt.io>
Kits without a toolchain set up for a language are fine. Continue
to warn about kits where the toolchain is set, but the relevant
toolchain can not be found.
Change-Id: I7c62f61264723f9851968aebba2c9307640d683b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Report project-specific warnings about the kit used in Project Mode.
E.g. a python project should not complain about missing toolchains,
while a qmake project should.
Change-Id: I5ce6742683cdeffc7ff3f1a3e8f0b89aee9aa0b4
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Some compilers cannot discern the two replayEvents methods.
Change-Id: Ide4a893ff3976cb081fbbceefacafb6226f0a73f
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This way we can use the trace file loading and saving mechanism for
other profilers.
Change-Id: I98ec1cdde6f7abcea152cabf72e64d4e696dfa59
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Not having a compiler defined in a kit is fine for e.g. Python
projects or QML projects. So only warn in that case.
Change-Id: Ic2bc30f8b70c804780b65e11915d1f231011a55c
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
A header only file should not use any export macro.
Change-Id: Ia081b9227041cd59de7c0c5c656ad3fc57ac04cc
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
If you try to search while indexing, in the best case you'd get
incomplete results (though with a warning that that is the case), and in
the worst case it crashes because of QTBUG-66816. So just disable the
search widget with info and progress indicator in that case.
Task-number: QTCREATORBUG-20295
Change-Id: Ibec602b1bc0e98f6fef029c6f10c0cdc5197294c
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
It's been like that for a long time, but the behavior was inadvertantly
changed in a recent refactoring.
Change-Id: I2f301c995c1f9bb235718e02326c4c64dea91694
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
The way the notes model works requires every timeline model to have a
different ID. Conversely no other kind of model actually needs an ID.
Therefore it makes sense to have the TimelineModelAggregator manage the
IDs as every timeline model will sooner or later be associated with an
aggregator.
Change-Id: Ib8b2c88ed883351d4e3e156dd13e1dd113c21808
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>