Skip to content

Eastfist's C++ Tutorials For Windows

Eastfist provides his own basic C++ tutorials for Windows using Qt 4.8.5 and 4.8.7

Tag: help

Posted on August 28, 2013August 26, 2017

Solution: Qt setMouseTracking Doesn’t Work

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 disabled by default. This is how I got it to work: Continue reading “Solution: Qt setMouseTracking Doesn’t Work”

Archives

Categories

  • Qt
  • SDXM
  • Uncategorized

Tags

2d 3D 4.8 4.8.5 4.8.7 access antialiasing api blurry broken by ref c++ code compatibility custom demo direct disable engine faster fix font game graphics howto member mingw no directx no opengl object optimization pointer qpainter qt read sdxg sdxm square brackets support technique tutorial windows windows 7 windows 10 write
Proudly powered by WordPress