[Qgis-developer] PSA: converting "strings" to QStringLiterals

Matthias Kuhn matthias at opengis.ch
Thu Mar 9 09:19:42 PST 2017


I just found a neat shortcut in QtCreator.
Just click on any string and under the refactor menu you get a "Enclose
in QStringLiteral(...)". This gets even more handy by using the
Alt+Enter key combination and makes QStringLiteral-izing things much
more straight forward.

Matthias


More information about the Qgis-developer mailing list