Unsolved Error in QT 4
-
/home/osboxes/hello/hello.cpp:8: error: expected primary-expression before ')' token
myapp.setActiveWindow(QWidget);
^ -
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...
-
QWidget
is 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.