View Issue Details

IDProjectCategoryView StatusLast Update
0036342LazarusLCLpublic2019-11-27 20:47
ReporterChris RordenAssigned ToZeljan Rikalo 
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Platformi7 4790OSUbuntu DebianOS Version19.10
Product Version2.0.7 (SVN)Product Build62227 
Target VersionFixed in Version 
Summary0036342: QT5: OpenGL paintEngine error
DescriptionOpenGL projects built for QT5 generate the error "QWidget::paintEngine: Should no longer be called" with each screen refresh.
Steps To ReproduceThis bug is seen with any OpenGL project, but can be elicited with any of the examples that come with Lazarus
1.) Open a OpenGL project, e.g.
~/lazarus/components/opengl/example/testopenglcontext1.lpr
2.) Set for QT5 widgtset
3.) Compile and run from terminal.
4.) See many, many copies of
  QWidget::paintEngine: Should no longer be called
TagsNo tags attached.
Fixed in Revision
LazTarget
WidgetsetQT5
Attached Files

Activities

Zeljan Rikalo

2019-11-25 15:02

developer   ~0119490

Seem that Qt5 cbindings needs change to fix this. QWidget::paintEngine() should be overrided, so best would be to create new specialized QWidget with overrided virtual QWidget::paintEngine().
Here is nice example: https://zeduckmaster.frama.io/2016/how-to-create-a-custom-rendering-in-a-qt5-widget

Issue History

Date Modified Username Field Change
2019-11-22 22:19 Chris Rorden New Issue
2019-11-24 09:46 Zeljan Rikalo Assigned To => Zeljan Rikalo
2019-11-24 09:46 Zeljan Rikalo Status new => assigned
2019-11-25 15:02 Zeljan Rikalo Note Added: 0119490