juzzlin / DustRacing2D

Dust Racing 2D is a traditional top-down car racing game including a level editor.
http://juzzlin.github.io/DustRacing2D/index.html
GNU General Public License v3.0
301 stars 67 forks source link

OpenGL disabled build fixes proposal. #112

Closed devnexen closed 3 years ago

devnexen commented 3 years ago

SQL requests parameters binding accept qvariant and children only.

juzzlin commented 3 years ago

Looks ok, but what's the story behind this? How is OpenGL related?

devnexen commented 3 years ago

No real idea but this is when I disabled the gl functions the build issues occured.

juzzlin commented 3 years ago

No real idea but this is when I disabled the gl functions the build issues occured.

Ok, I was able to reproduce that. Let me check..

juzzlin commented 3 years ago

To me it seemed like #include <QVariant> was missing from database.cpp and it probably was implicitly pulled by QOpenGLFunctions. I fixed this in 8af0bfe0c5598f0a7aeda256e5de97b192362cde. Please check if this fixes the issue also for you :)

devnexen commented 3 years ago

it does, thx