Unsolved LNK2019 error
-
Well my problem happens when I use emit. I had various threads and in one the emit works perfect but when I use other emit in other thread I had the LNK2019 error.
Thanks -
I guess with "emit" you mean emit signal?
Can you provide the whole error message? -
@jsulm
thread_fabricacuervos.obj:-1: error: LNK2019: símbolo externo "public: void __thiscall thread_FabricaCuervos::crear_crow(int,int,int)" (?crear_crow@thread_FabricaCuervos@@QAEXHHH@Z) sin resolver al que se hace referencia en la función "public: virtual void __thiscall thread_FabricaCuervos::run(void)" (?run@thread_FabricaCuervos@@UAEXXZ)and also this one
debug\CoolFarm.exe:-1: error: LNK1120: 1 externos sin resolver -
Hi,
How did you declare your signal ? Also are you missing the Q_OBJECT macro in your class declaration ?
-
Thanks, that was the error
-
You're welcome !
Since you have it working now, please mark the thread as solved using the "Topic Tool" button so other forum users may know a solution has been found :)
Also, while browsing the forum, consider up-voting answers that helped you. That will make them easier to find for other people :)