Results 1 to 3 of 3

Thread: arm + drawing

  1. #1
    Join Date
    Jul 2011
    Posts
    12
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default arm + drawing

    Hi,
    I am plotting a graph by painting outside paintevent which runs correctly in my linux desktop.And same application when i ran in IMX environment(for which qt is ported),i am getting error message as
    painter engine not active.
    Do i need to include any library to solve it..?

  2. #2
    Join Date
    Nov 2011
    Posts
    1
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: arm + drawing

    Please excuse my english...

    If you are painting outside the paintEvent it will not work on embedded devices, unless you use X11.

    You have to paint everything in the paint event or paint every where to a QPixmap and in the paint event paint the QPixmap.

  3. #3
    Join Date
    Feb 2007
    Posts
    73
    Thanks
    11
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: arm + drawing

    As far as I know, even under X11, you still need to do the painting inside the paintEvent or it doesn't work.

Similar Threads

  1. Drawing in QML
    By JeffC in forum Newbie
    Replies: 10
    Last Post: 10th June 2011, 18:25
  2. Qt Drawing
    By Talguy in forum Newbie
    Replies: 4
    Last Post: 12th January 2011, 04:14
  3. Help drawing a gui
    By franco.amato in forum Qt Programming
    Replies: 16
    Last Post: 7th October 2010, 11:26
  4. 2D drawing
    By WXNSNW in forum Qt Programming
    Replies: 3
    Last Post: 5th October 2010, 23:01
  5. Drawing using QT
    By Kapil in forum Newbie
    Replies: 1
    Last Post: 17th March 2006, 04:23

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.