undercover
15th February 2009, 19:15
Hello guys,
I programmed a little tool to compare somthings... It worked first time clearly, now i get the following error message if i want to make a release:
1>------ Build started: Project: Tool, Configuration: Release Win32 ------
1>Linking...
1>tool.obj : error LNK2019: unresolved external symbol "public: static struct QMetaObject const Tool::staticMetaObject" (?staticMetaObject@Tool@@2UQMetaObject@@B) referenced in function "public: static class QString __cdecl Tool::tr(char const *,char const *)" (?tr@Tool@@SA?AVQString@@PBD0@Z)
1>tool.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall Tool::metaObject(void)const " (?metaObject@Tool@@UBEPBUQMetaObject@@XZ)
1>tool.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall Tool::qt_metacast(char const *)" (?qt_metacast@Tool@@UAEPAXPBD@Z)
1>tool.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall Tool::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@Tool@@UAEHW4Call@QMetaObject@@HPAPAX @Z)
1>C:\Users\Emin\Documents\Visual Studio 2005\Projects\Tool\Release\Tool.exe : fatal error LNK1120: 4 unresolved externals
Could anyone help me ? Cause, I have no idea, how i handle this error....
thanks!!!!!!!!
I programmed a little tool to compare somthings... It worked first time clearly, now i get the following error message if i want to make a release:
1>------ Build started: Project: Tool, Configuration: Release Win32 ------
1>Linking...
1>tool.obj : error LNK2019: unresolved external symbol "public: static struct QMetaObject const Tool::staticMetaObject" (?staticMetaObject@Tool@@2UQMetaObject@@B) referenced in function "public: static class QString __cdecl Tool::tr(char const *,char const *)" (?tr@Tool@@SA?AVQString@@PBD0@Z)
1>tool.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall Tool::metaObject(void)const " (?metaObject@Tool@@UBEPBUQMetaObject@@XZ)
1>tool.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall Tool::qt_metacast(char const *)" (?qt_metacast@Tool@@UAEPAXPBD@Z)
1>tool.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall Tool::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@Tool@@UAEHW4Call@QMetaObject@@HPAPAX @Z)
1>C:\Users\Emin\Documents\Visual Studio 2005\Projects\Tool\Release\Tool.exe : fatal error LNK1120: 4 unresolved externals
Could anyone help me ? Cause, I have no idea, how i handle this error....
thanks!!!!!!!!