I think this is a declaration of a function named ok and taking no parameters and returning value of type T.
If you have QWidget not found, check if you are using Qt Gui module. It should be included by default but you may have something like :
in your .pro file. If there is such line, just remove it and qmake and make again.






Reply With Quote
Bookmarks