Results 1 to 7 of 7

Thread: Take QtTestLib into use in a Qt project

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Jun 2012
    Posts
    63
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    5

    Default Re: Take QtTestLib into use in a Qt project

    Really having a problem here...

    I'm still having a problem setting up a project with qttestlib. I get unresolved external symbols:

    Qt Code:
    1. myclass.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall MyClass::metaObject(void)const " (?metaObject@MyClass@@UBEPBUQMetaObject@@XZ)
    2.  
    3. myclass.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall MyClass::qt_metacast(char const *)" (?qt_metacast@MyClass@@UAEPAXPBD@Z)
    4.  
    5. myclass.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall MyClass::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@MyClass@@UAEHW4Call@QMetaObject@@HPAPAX@Z)
    6. debug\tst_testtest.exe : fatal error LNK1120: 3 unresolved externals
    To copy to clipboard, switch view to plain text mode 

    Here's my current project zipped.

    http://phenoboy.kapsi.fi/App.zip


    Thanks!
    Last edited by phenoboy; 13th September 2013 at 10:34.

Similar Threads

  1. Replies: 4
    Last Post: 20th January 2013, 11:01
  2. haw to ues project ( skin ) with anther project
    By Master Loda in forum Qt Programming
    Replies: 4
    Last Post: 22nd July 2011, 08:58
  3. Qt project management - bigger project
    By Peppy in forum Qt Programming
    Replies: 11
    Last Post: 24th December 2010, 13:50
  4. Replies: 1
    Last Post: 3rd December 2009, 23:34
  5. Cruise Control and QtTestLib?
    By gfunk in forum Qt Programming
    Replies: 1
    Last Post: 15th November 2007, 19:16

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.