Results 1 to 4 of 4

Thread: bitBlt

  1. #1
    Join Date
    Oct 2007
    Posts
    13
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default bitBlt

    Hi,

    In the code that I am porting qt3->qt4 there are biBlt invocations in paintEvent.

    I cannot find that function in the qt4 docs. Is it not meant to be used?

    Hugo

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: bitBlt

    use QPainter::drawPixmap instead. bitblt has been removed in Qt4

  3. #3
    Join Date
    Oct 2007
    Posts
    13
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: bitBlt

    Thanks Marcel. So the reason it still works is because of Q3Painter?

  4. #4
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: bitBlt

    Yes, that is right. You should replace Q3* classes with Qt 4 equivalents.

Similar Threads

  1. why bitBlt() deleted in Qt4
    By iGoo in forum Qt Programming
    Replies: 1
    Last Post: 27th June 2006, 09:59
  2. in porting Qt3 to Qt4, problem with bitBlt
    By impeteperry in forum Qt Programming
    Replies: 15
    Last Post: 24th June 2006, 02:49
  3. Problem with bitBlt
    By yellowmat in forum Newbie
    Replies: 1
    Last Post: 5th April 2006, 14:08

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.