Re: [Interest] Qt5 +CLR -> linker error LNK2005 workaround

2013-06-21 Thread Franz Hirschbeck
Hello everyone, just wanted to let you know, that we have a small workaround here in the meantime. The problem is that the CLR linker does not detect that these instantiations are identical. To avoid this problem we replaced the "inline" instantiation with an explicit instantiation in exactl

Re: [Interest] Qt5 +CLR -> linker error LNK2005

2013-02-05 Thread Sascha Cunz
Hello Franz, Am Montag, 4. Februar 2013, 10:49:59 schrieb Franz Hirschbeck: > Hello, > > In one of our projects we are using managed c++ together with Qt. After > porting the code to Qt5 the following linker error occurs. This happens > in every combination VS2008/2010 and win32/x64. > > 1>file2

Re: [Interest] Qt5 +CLR -> linker error LNK2005

2013-02-04 Thread Thiago Macieira
On segunda-feira, 4 de fevereiro de 2013 10.49.59, Franz Hirschbeck wrote: > 1>file2.obj : error LNK2005: "public: __cdecl `public: __cdecl > QList::QList(class QList > const &)'::`5'::Cleanup::Cleanup(struct QListData::Data *)" > (??0Cleanup@?4???0?$QList@VQStringQEAA@AEBV1@@Z@QEAA@PEAUData@QL

[Interest] Qt5 +CLR -> linker error LNK2005

2013-02-04 Thread Franz Hirschbeck
Hello, In one of our projects we are using managed c++ together with Qt. After porting the code to Qt5 the following linker error occurs. This happens in every combination VS2008/2010 and win32/x64. 1>file2.obj : error LNK2005: "public: __cdecl `public: __cdecl QList::QList(class QList cons