We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-08-06 10:10:58 +0200

SDK Qt Creator autocomplete removes const from SIGNAL and SLOT signatures

When you use autocomplete to write connect() statements, autocompleted SIGNAL() and SLOT() signatures have 'const' removed. i.e signal of definition void foo(const QString &); gets autocompleted as SIGNAL(foo(QString&)).

This causes difficult to comprehend no such signal and no such slot errors on runtime.

SDK Qt Creator autocomplete removes const from SIGNAL and SLOT signatures

When you use autocomplete to write connect() statements, autocompleted SIGNAL() and SLOT() signatures have 'const' removed. i.e signal of definition void foo(const QString &); gets autocompleted as SIGNAL(foo(QString&)).

This causes difficult to comprehend no such signal and no such slot errors on runtime.