Hello,
I have
perspectiveMatrix->reset();
perspectiveMatrix->scale(0,45);
phone->setTransform(perspectiveMatrix);
phone = new QGraphicsPixmapItem(QPixmap(":/icons/Telefonhoerer.png"));
perspectiveMatrix->reset();
perspectiveMatrix->scale(0,45);
phone->setTransform(perspectiveMatrix);
To copy to clipboard, switch view to plain text mode
I get an error for line 4:
'QTransform::QTransform(bool)' is private within this context
Reading other discussions about this problem I figured the error is referring to the copy constructor of QTransform being used.
I use Nokia SDK 1.2 on Mac OS X Lion.
Is this probably an error in Qt itself or what's a solution?
The variables are pointers of their used type (i.e.. phone is a QGraphicsPixmapItem pointer).
There being more than one Qt resource on the web, what's the best place to ask such questions? Is the developer.nokia.com Forum now recommended?
Bookmarks