Qt is a cross-platform application development framework widely used for the development of GUI programs.

learn more… | top users | synonyms

1
vote
1answer
23 views

How to enable depth test with QOpenGLWidget? It renders black screen

Currently I am writing a small application with Qt and OpenGl and I choosed QOpenGLWidget for rendering graphics. That's how I declared my widget: class GLWidget : public QOpenGLWidget, protected ...
1
vote
0answers
222 views

Box2D Qt wrong collisions

I am working on a simple Box2D game (with Qt), but my objects don't collide correctly: As you can see on the picture, objects try to go through each other and slide over. My b2World: b2Vec2 ...
1
vote
0answers
356 views

How to make an oscillation move on opengl qt

I'm trying to make a character make an oscillation move. That is, the character will start by rotating to a certain angle, say 60 degrees, and then slowly come back to an upright position then rotate ...
0
votes
0answers
22 views

Qt 5 - QOpenGLWidget not updating the screen

I'm creating a level editor for my game using Qt for gui and i'm in really early stages. Right now i'm trying to dynamically add objects ( entities ) on screen when i click a button. So far the ...
0
votes
0answers
12 views

Config SFML in QTCreator with file.pro

I know that are a method with cmake , but i wouldlike config my project in Qtcreator usinig qmake and my doubt is what my file .pro must have for work it ?. I will run in windows , maybe later linux . ...
0
votes
0answers
84 views

Adapting qml-box2d to work with QGraphicsScene: transform origin is incorrect

I'm taking the convenient QObject wrappers from the Box2D QML Plugin and using them with a QGraphicsScene-based game. My motivation is to save time writing them myself, as I need to expose stuff to ...