Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Prepending an ampersand in code wrapping incorrectly appends a semicolon.
In "this post":http://developer.qt.nokia.com/forums/viewthread/7888/ I noticed that when I added
connect(&tcpSocket;, ...) // Typed no semicolon after tcpSocket, but one appears.
the resulting text has a semicolon appended. If you then go to edit the post, the semicolon has appeared there, too.
Hey, it happened here too! :-)
I opened QTWEBSITE-264 on JIRA, as well.
goetz last edited by
For the time being you can use
in your code, so it then looks like this:
Ah, thanks. Good to know!
lgeyer last edited by
// translated to
QFile xmlFile("table.xml" & #41;; // without the blank between the ampersand and the hash
Looks like something is broken with character replacement.