Our great god example of c + + GUI Qt4P153 page consult copying code class Node: public QGraphicsItem {Q_DECLARE_TR_FUNCTIONS (Node)//this macro is to add the tr () function... } I used is v + Qt system.addin compile time not by how? Tip is the lack of a return type
CodePudding user response:
Add a header file QCoreApplication