here it is the compiler output, i dont understand the error message...
and if i remove the Q_OBJECT macro it builds correctly, but signals doesnt work
here it is the compiler output, i dont understand the error message...
and if i remove the Q_OBJECT macro it builds correctly, but signals doesnt work
Yes, that error message means a missing moc, see my post above.
Q_OBJECT is required for signals to function.
Did you run qmake?
hello, thanks for replying, i dont know so much about qmake command, but i right clicked on project name and picked run qmake, and it just told me that process exited normally, i rebuilded the project and i got the same error
any suggestion please?
You could post your complete output log so we can see if the moc files are being compiled and linked.
Or you could post your code in an archived format and we can see if we can replicate the problem.
well, thanks everyone for replying... i don't know what happened, but i just copied the .h and .cpp files, then i added them to a new project and it builds correctly and signals work ok, i don't know why and how but i works hahahaah
thanks anyway
Bookmarks