Results 1 to 3 of 3

Thread: QTransform method is private within this context error

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2010
    Posts
    25
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Question QTransform method is private within this context error

    Hello,

    I have
    Qt Code:
    1. phone = new QGraphicsPixmapItem(QPixmap(":/icons/Telefonhoerer.png"));
    2. perspectiveMatrix->reset();
    3. perspectiveMatrix->scale(0,45);
    4. 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?
    Last edited by planetLars; 14th February 2012 at 14:39. Reason: added question about best place for such questions

Similar Threads

  1. Replies: 3
    Last Post: 17th September 2011, 13:04
  2. Replies: 1
    Last Post: 5th February 2011, 21:14
  3. Replies: 4
    Last Post: 4th January 2011, 12:07
  4. Replies: 2
    Last Post: 20th May 2006, 12:45
  5. Replies: 2
    Last Post: 4th May 2006, 19:17

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.