Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Error in QT 4
Qt 4.8 prasad last edited by
/home/osboxes/hello/hello.cpp:8: error: expected primary-expression before ')' token
Abrar last edited by
for be more specific if you can show your code that would be good. But i think you have missed
at line 7 at last...
QWidgetis a class name, you can't pass it as a function parameter. You need to pass a variable name there, in this case a pointer to a widget.