Results 1 to 4 of 4

Thread: No text antialiasing with OpenGL graphicsview

  1. #1
    Join Date
    Aug 2006
    Posts
    250
    Thanks
    19
    Thanked 49 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default No text antialiasing with OpenGL graphicsview

    I've got an animated interface using QGraphicsView, and the performance isn't the greatest on my netbook (LG lifebook with Intel® GMA 950 ) so I enabled OpenGL as per the graphicsview docs (OpenGL widget as viewport).

    Now it works much faster, but of course no antialiasing. I enabled sample buffers and now the graphics and boxes are antialiased, but not the text. I can't find any reference to this problem anywhere, so not sure if there's something else I need to do?

    Can it be that for some reason the graphics card isn't supporting antialiased text in OpenGL?

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

    Default Re: No text antialiasing with OpenGL graphicsview

    I think the card has nothing to do with it, all the antialiasing is done within Qt. Did you enable the "high quality antialiasing" flag? Maybe it helps...
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Aug 2006
    Posts
    250
    Thanks
    19
    Thanked 49 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: No text antialiasing with OpenGL graphicsview

    Thanks for the reply.
    I haven't tried that flag, no. Not entirely sure how to enable it, since the text is all QGraphicsSimpleTextItems so I'm not actually painting it myself. Is there any way to set that on the whole scene or something?

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

    Default Re: No text antialiasing with OpenGL graphicsview

    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 10:49

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.