Lazarus

Programming => Widgetset => QT => Topic started by: Ocye on December 13, 2014, 10:26:37 am

Title: OpenGL binding for Qt
Post by: Ocye on December 13, 2014, 10:26:37 am
I just realized that OpenGL works with Qt which is great news for my project. I wonder how far the implementation has been done. Actually, vertex buffer objects are not drawn (I don't get any OpenGL error). Is it a bug or not yet implemented?

Nevertheless, thanks a lot!

PS: It's not working yet on darwin:
Code: [Select]
Compiling package LazOpenGLContext 0.0.1: Exit code 1, Errors: 1, Hints: 1
glqtcontext.pas(196,29) Error: Identifier not found "QX11Info_display"
Title: Re: OpenGL binding for Qt
Post by: Leledumbo on December 14, 2014, 05:10:38 pm
PS: It's not working yet on darwin:
I assume this is due to glqtcontext assumes X11 display which is not darwin's native display. I can't find any replacement for darwin in the respective qt bindings, though.
Title: Re: OpenGL binding for Qt
Post by: Ocye on December 15, 2014, 12:58:44 pm
Whatever the reason is it looks like OpenGL binding for Qt is not finished yet. Any schedule?

Quote from: unit OpenGLContext;
  Author: Mattias Gaertner

  Abstract:
    TOpenGLControl is a LCL control with an opengl context.
    It works under the following platforms:
      - qt with glx     : no (started)
TinyPortal © 2005-2018