C++ Qt 27 - QTimer
Uploader Comments (VoidRealms)
All Comments (10)
-
Hi Brian!
Your tutorial is great!
I've a problem with Qtimer, when I put Q_OBJECT in the class i receive this error: "undefined reference to `vtable for Mytimer'"
How can I resolve?
-
A little annotation, if you include a library, it will include everything that is included in that library, so it's not necessary to include QtCore twice. Good videos!
-
@szisziszilvi you can remove the one in cpp
it is not a problem
the compiler will include it one time
-
@J3L1P3 run qmake
-
Hi, I would like to ask something you have done insome previous videos also. I would like to know why it is necessarry to include QtCore twice (once in the header and once in the cpp also)?
-
is it possible to use QTimer in MFC?
-
Thanks, but is there a way to start the timer by a button for example?
-
thank you very much
I'm programming in mac and i don't understand why I can't create the Q_OBJECT macro :( any help?
J3L1P3 9 months ago
@J3L1P3 hmmm make sure Qt is installed?
VoidRealms 9 months ago