PDA

View Full Version : Qt 4.4 support issues


cvilas
02-26-2009, 09:34 AM
Hello everyone,

I am currently evaluating the Mercury Open Inventor as a potential replacement for Coin implementation. We have also standardized on Qt from Trolltech for our UI development.

I am trying to compile the QtHelloCone example in $(OIVHOME)\src\Inventor\examples\Qt\QtHelloCone. The linker asks for qt-mt336.lib which is nowhere to be found in my Qt installation. On removing this library from the dependancy line (and adding QtCored4.lib), I get the following linker errors. Are we supposed to 'moc' all the headers in $(OIVHOME)\include\Inventor\Qt ourselves? Any suggestions for a clean solution? Thanks.

1>QtHelloCone.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
1>QtHelloCone.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall SoQtRenderArea::metaObject(void)const " (?metaObject@SoQtRenderArea@@UBEPBUQMetaObject@@XZ )

1>QtHelloCone.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall SoQtRenderArea::qt_metacast(char const *)" (?qt_metacast@SoQtRenderArea@@UAEPAXPBD@Z)

1>QtHelloCone.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall SoQtRenderArea::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@SoQtRenderArea@@UAEHW4Call@QMetaObje ct@@HPAPAX@Z)

cvilas
02-26-2009, 09:48 AM
Never mind. Had to run InvQtxxxBuilder.exe in $(OIVHOME) to solve the problem, exactly as specified in the online manual ;)