[SailfishDevel] Qt Creator Code AutoCompletion in QML for C++ declarative plugins
Sven Putze
sailfish.os at hardcodes.de
Sun Jan 26 18:42:34 UTC 2014
Hi,
try to build/run qmake from the menu and if that does not help, throw away the Makefile. The property binding depends on the Qt meta system, bound to the Q_OBJECT macro. Often recompiling does not start the needed steps to recreate the moc files and things get strange.
BR.
Sven
>
> The trouble is, I often refactor the C++ code as I add complexity e.g. renaming properties and methods as better names occur to me, or reflect a change in purpose.
>
> The trouble is, back on the QML side, QtCreator code-completion still suggests the original names long after these have been renamed or eliminated.
>
> Is there any way to "flush" / update the code completion so it reflects the current state of affairs? Cleaning does not help, nor does "Reset Code Model".
>
More information about the Devel
mailing list