Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Seems a bug in Qt Documentation
binsqt last edited by
In the example, class Controller:
connect(workerThread, SIGNAL(finished()), worker, SLOT(deleteLater()));
connect(&workerThread, SIGNAL(finished()), worker, SLOT(deleteLater()));
Notice the "&".
[andreyc EDIT] Added @ around code
It should give you compilation error if you copy-paste the code from 4.8 documentation. Future release documentation have fixed this issue
Jeroentjehome last edited by
It might not give compilation errors, but a compilation error that no cast was used from int to pointer use or something like it. But use the 5.3 docs, they are updated!
Hi and welcome to devnet,
Fix underway for Qt 4