[Qt-interest] Qt mocks issue multiple definition of

Scott Aron Bloom Scott.Bloom at onshorecs.com
Sun Oct 31 21:02:02 CET 2010


Its not a moc issue..

The way you are running qmake, creates 1 make file, create sub dirs



-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Alex Ivasyuv
Sent: Sunday, October 31, 2010 12:47 PM
To: qt-interest at trolltech.com
Subject: [Qt-interest] Qt mocks issue multiple definition of

Hi,

I found an ?issue? with Qt mocks.
Please checkout this simple code 
http://qttestissue.googlecode.com/svn/trunk/

If you have the same classes names, Qt mocks create the same object 
names for them, and as result fails with the following error: "multiple 
definition of"

How to fix it?

Thanks,

_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list