[Qt-interest] Compiling itemviews-ng

Thiago Macieira thiago at kde.org
Tue Jan 5 17:18:09 CET 2010


Em Terça-feira 05 Janeiro 2010, às 17:03:37, Luke Roth escreveu:
> I don't know if this is the best place to post this, but is anyone
> experimenting with itemviews-ng?  I just downloaded the source from
> Gitorious and tried to compile it, but I got the following error
> message:
> 
> link /LIBPATH:"d:\devel2\qt\4.6.0\lib" /NOLOGO /DEBUG
> /SUBSYSTEM:CONSOLE /MANIFEST /MANIFESTFILE:"debug\qlistmod
> eladaptor.intermediate.manifest" /OUT:debug\qlistmodeladaptor.exe
> @C:\Users\luke\AppData\Local\Temp\nm2434.tmp
> tst_qlistmodeladaptor.obj : error LNK2001: unresolved external symbol
> "public: static struct QMetaObject const QtDataRol
> es::staticMetaObject" (?staticMetaObject at QtDataRoles@@2UQMetaObject@@B)
> tst_qlistmodeladaptor.obj : error LNK2001: unresolved external symbol
> "public: virtual struct QMetaObject const * __this
> call QtDataRoles::metaObject(void)const "
> (?metaObject at QtDataRoles@@UBEPBUQMetaObject@@XZ)
> tst_qlistmodeladaptor.obj : error LNK2001: unresolved external symbol
> "public: virtual void * __thiscall QtDataRoles::qt
> _metacast(char const *)" (?qt_metacast at QtDataRoles@@UAEPAXPBD at Z)
> tst_qlistmodeladaptor.obj : error LNK2001: unresolved external symbol
> "public: virtual int __thiscall QtDataRoles::qt_me
> tacall(enum QMetaObject::Call,int,void * *)"
> (?qt_metacall at QtDataRoles@@UAEHW4Call at QMetaObject@@HPAPAX at Z)
> debug\qlistmodeladaptor.exe : fatal error LNK1120: 4 unresolved externals
> 
> Any ideas what I might be doing wrong?  I'm compiling with VS2008, and
> I had no problem compiling mainline Qt4.6.

You're not doing anything wrong.

The code doesn't compile on Windows. None of the ItemViews-NG developers are 
working on Windows.

You can submit a fix via the Qt contribution model, in the Gitorious interface.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100105/f496a9fb/attachment.bin 


More information about the Qt-interest-old mailing list