Results 1 to 2 of 2

Thread: error:variable `QPainter painter' has initializer but incomplete type

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2006
    Posts
    849
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    6
    Thanked 163 Times in 151 Posts

    Default Re: error:variable `QPainter painter' has initializer but incomplete type

    add the include for QPainter: #include "qpainter.h" (I think)

  2. The following 2 users say thank you to caduel for this useful post:

    alfaalfa (10th July 2013), TheIndependentAquarius (5th October 2013)

Similar Threads

  1. Problem with Painter in Qt4.4.1
    By merry in forum Qt Programming
    Replies: 1
    Last Post: 1st September 2008, 13:47
  2. Compile 4.4.0
    By LordQt in forum Installation and Deployment
    Replies: 18
    Last Post: 29th May 2008, 13:43

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
  •  
Qt is a trademark of The Qt Company.