[Paraview] Migrating a plugin from QT 4.3.4 to QT 4.4.2 - Problems

Rafael March rafaelmarch3 at yahoo.com
Thu Dec 4 11:00:26 EST 2008


Hi all,

I've programmed a plugin in QT 4.3.4, and I'm interested in migrating it to the 4.4.2 version. The reason is that I just can't add it scroll behaviour, and in the newer version I can add a QScrollArea through QT Designer.

So, I've compiled ParaView 3.4 (Production Version) pointing to QT 4.2 and, despite the "COMPATIBILITY NOT OFFICIALLY ASSURED"-like messages, I was able to complete the building process, and got a working version of ParaView 3.4 with QT 4.4.2.

Now, I want to get my plugin to work with the new QT version. I've "cmaked" it pointing to QT 4.4.2, and when I try to compile it, I'm getting messages like:

Error    1    error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall QBasicAtomicInt::ref(void)" (__imp_?ref at QBasicAtomicInt@@QAE_NXZ) referenced in function "public: __thiscall QList<class QObject *>::QList<class QObject *>(void)" (??0?$QList at PAVQObject@@@@QAE at XZ)    EdgeCFDPluginPluginImplementation.obj    

Error    2    error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall QBasicAtomicInt::deref(void)" (__imp_?deref at QBasicAtomicInt@@QAE_NXZ) referenced in function "public: __thiscall QList<class QObject *>::~QList<class QObject *>(void)" (??1?$QList at PAVQObject@@@@QAE at XZ)    EdgeCFDPluginPluginImplementation.obj    

Error    3    error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall QBasicAtomicInt::operator!=(int)const " (__imp_??9QBasicAtomicInt@@QBE_NH at Z) referenced in function "public: void __thiscall QList<class QObject *>::detach(void)" (?detach@?$QList at PAVQObject@@@@QAEXXZ)    EdgeCFDPluginPluginImplementation.obj    

Error    4    error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall QBasicAtomicInt::operator==(int)const " (__imp_??8QBasicAtomicInt@@QBE_NH at Z) referenced in function "private: void __thiscall QList<class QObject *>::free(struct QListData::Data *)" (?free@?$QList at PAVQObject@@@@AAEXPAUData at QListData@@@Z)    EdgeCFDPluginPluginImplementation.obj    

All messages with the "QBasicAtomicInt" stuff ! 

Does anybody know how can I solve this problem ?

Thanks all,
Rafael March.





      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081204/2832f34d/attachment.htm>


More information about the ParaView mailing list