Results 1 to 6 of 6

Thread: Q3Canvas on qt4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Q3Canvas on qt4

    Why dont you first include the other required header files also and then try ?

    I think the other files are

    Q3CanvasView
    Q3CanvasLine
    QColor
    QPen
    Last edited by munna; 12th June 2006 at 14:15. Reason: spelling mistake

  2. #2
    Join Date
    Jun 2006
    Posts
    11
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Q3Canvas on qt4

    Quote Originally Posted by munna
    Why dont you first include the other required header files also and then try ?

    I think the other files are

    Q3CanvasView
    Q3CanvasLine
    QColor
    QPen
    sorry i have include the file , but it has the same error

  3. #3
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Q3Canvas on qt4

    As jpn said

    add - QT += qt3support in your .pro file and then make.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Q3Canvas on qt4

    Or download the port of QCanvas to Qt4 which is available on Trolltech's ftp site.

Similar Threads

  1. Strange error while using Q3Canvas
    By Kapil in forum Newbie
    Replies: 13
    Last Post: 15th June 2006, 19:36
  2. Facing problem with Q3Canvas
    By jnana in forum Qt Programming
    Replies: 3
    Last Post: 6th May 2006, 07:00
  3. Error in Q3Canvas Code...
    By Kapil in forum Newbie
    Replies: 10
    Last Post: 27th March 2006, 05:15
  4. About Q3Canvas
    By jnana in forum Qt Programming
    Replies: 2
    Last Post: 6th March 2006, 12: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.