compiling lazopenGlContext package with QT
Original Reporter info from Mantis: ti_dic
-
Reporter name: Cedric
Original Reporter info from Mantis: ti_dic
- Reporter name: Cedric
Description:
the lazopenglcontext in the trunk not compile with the QT widget set without this patch.
Additional information:
Once the patch has been applied, it is possible to install the lazopenglcontext package in the IDE targetting qt. The OpenGLControl_Demo work in QT with the next patch. (with "OpenGLControl1.Invalidate" the image blinking)
Index: exampleform.pp
===================================================================
--- exampleform.pp (révision 46910)
+++ exampleform.pp (copie de travail)
@@ -402,8 +402,8 @@
procedure TExampleForm.IdleFunc(Sender: TObject; var Done: Boolean);
begin
- OpenGLControl1.Invalidate;
- //OpenGLControl1Paint(Self);
+ //OpenGLControl1.Invalidate;
+ OpenGLControl1Paint(Self);
Done:=false; // tell lcl to handle messages and return immediatly
end;
Mantis conversion info:
- Mantis ID: 27065
- OS: kubuntu trusty
- Platform: linux