Results 1 to 4 of 4

Thread: "can't find linker symbol for virtual table for `QPixmap' value" what does it mean?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows Symbian S60

    Default "can't find linker symbol for virtual table for `QPixmap' value" what does it mean?

    Hi,

    I got a debugging error "can't find linker symbol for virtual table for `QPixmap' value", what does it mean?

    Qt Code:
    1. void GalleryTab::setupPuzzle()
    2. {
    3. ....
    4. puzzleWidget->drawPuzzleWidget(puzzleImage); // puzzleImage is a QPixmap
    5. }
    6.  
    7. void PuzzleWidget::drawPuzzleWidget(const QPixmap aPuzzleImage){
    8.  
    9. clear();
    10. QPoint location = QPoint(0,0);
    11. QRect square = QRect(0,0, m_ImageSize, m_ImageSize);
    12.  
    13. pieceLocations.append(location);
    14. piecePixmaps.append(aPuzzleImage);
    15. pieceRects.append(square);
    16.  
    17. update(square);
    18. }
    To copy to clipboard, switch view to plain text mode 

    What did I do wrong? How do I rewrite drawPuzzleWidget() to display an image "aPuzzleImage"?

    Your help is much appreciated!
    Last edited by high_flyer; 18th February 2011 at 13:01.

Similar Threads

  1. Replies: 4
    Last Post: 5th January 2011, 15:51
  2. Unresolved external symbol "staticMetaObject"
    By sr71 in forum Qt Programming
    Replies: 5
    Last Post: 29th June 2010, 23:26
  3. "Follow symbol under cursor" does not work...?
    By liormessinger in forum Qt Tools
    Replies: 0
    Last Post: 16th September 2009, 17:22
  4. Replies: 3
    Last Post: 17th November 2008, 08:48
  5. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05

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.