
Categories (Bottom-up)
Recent Unanswered Threads
Recent Forum PostsThe code that was posted works correctly (I just checked it) so I'm assuming it has been overly simplified :)
wysota Today, 21:19
Try implementing MainWindow showEvent() and moving the code to create and start the QTimer there. Because you start the QTimer in the MainWindow constructor, the event loop is not yet running, and...
d_stranz Today, 20:44
The code looks okay. Does this simplified version also not work for you?
wysota Today, 08:40
Hi everyone,
I’m having trouble with a `QTimer` that doesn’t seem to trigger its slot. The timer starts without errors, but the timeout function is never called.
Here is a simplified version of...
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at The Qt Company.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.

Phantom white box whilst using Application Window and Windows 11 Mica background on
15th December 2025 19:39 by Allstar12345