Tags2d 4.8.5 advanced c++ class code compiler custom demo dependencies digia download engine event files fix functions game gcc hello world howto keyPressEvent libraries method mingw nokia onkeydown onkeypress onkeyup onmousedown onmouseup override painting prerequisite protected qpainter qt qt creator qwidget required setup source system tutorial windows
Tag Archives: tutorial
For many Qt lovers out there who might want to use third-party EXIF parsing library with their Qt apps, it may prove difficult unless you know what you’re doing. If you’re a hobbyist like me, man, it’s just tough. But … Continue reading
You may notice if you’re still deploying applications using resolutions less than 800x600x72dpi on Windows 10 that the autoscaling for the aspect ratio might be wonky. That’s because all these new fancy operating systems are trying to cater to ultra … Continue reading
http://qt-project.org/doc/qt-4.8/qtwebkit-guide-canvas.html This is the most comprehensive guide to HTML5 canvas I’ve seen so far on the Internet. Even Mozilla doesn’t explain it this well. How ironic that Qt has written up such a proficient guide even though their framework doesn’t … Continue reading
Here are some functioning pure Qt 2D game prototypes I’ve created as a foundation for my 2D game engine SDXM.
By default, Qt will set any QWidget into a QMainWindow unless you set it yourself. This is possibly why you can’t setMouseTracking in your default QWidget. You need to enable setMouseTracking if you want real-time mouse position tracking; it is … Continue reading