I got an error when I include QGraphicsSvgItem in my program:
error: QGraphicsSvgItem: No such file or directory
To copy to clipboard, switch view to plain text mode
I have read Trolltech's Docs and they says that QGraphicsSvgItem class was introduced since Qt 4.2, I have Qt 4.2.3 installed.
My program look like this:
#include<QGraphicsSvgItem>
//
{
public:
};
#endif
#include<QGraphicsSvgItem>
//
class SVGItem : public QGraphicsSvgItem
{
public:
SVGItem(const QString & fileName, QGraphicsItem * parent = 0);
};
#endif
To copy to clipboard, switch view to plain text mode
Bookmarks