[Qt-interest] Qt mocks issue multiple definition of

Scott Aron Bloom Scott.Bloom at onshorecs.com
Sun Oct 31 22:24:03 CET 2010


 

 

From: Alex Ivasyuv [mailto:industral at gmail.com] 
Sent: Sunday, October 31, 2010 2:16 PM
To: Scott Aron Bloom
Cc: qt-interest at trolltech.com
Subject: Re: [Qt-interest] Qt mocks issue multiple definition of

 

On 10/31/2010 11:08 PM, Scott Aron Bloom wrote: 

Surprised...

 

However, I will say this.. you are asking qmake to have multiple files
target the same object file...


Are they the same if they're in different namespaces?



 

Absolutely...       

 

The object file is based on the cpp file name, NOT the contents of the
file.. You could have 10 classes of different namespaces defined in the
.cpp file, and they all go to the same .o file.

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101031/20757a9f/attachment.html 


More information about the Qt-interest-old mailing list