Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 4.6.0
-
None
Description
Hi,
following situation to recreate the bug:
I have 2 projects , projA and projB, both with a QML based Ui and c+-backend class(es). In both projects I have c+ based Enumeration that I register in the following way:
qmlRegisterUncreatableType<Modbus>("CppEnums",1,0,"Enums","Enum is not a type");
in projA, at the QML side, I type "Enums." and the autocompleter correctly shows me all valid options.
I now open projB and, at the QML side, type "Enums." and the autocompleter shows the options from projA!
After closing projA, only projB is open, the autocompleter still shows the options from projA, the only solution is to completly close QtCreator and restart it. Than the autocompleter in projB will show the correct options.
When I now open projA the autocompleter will always show the options from projB.
Seems like a first come, first served situation. Not a world breaking bug, but highly irritating.
Greetings.