开发者

Qt Won't Compile (10.5 Intel Mac)

I am trying to compile the latest version of Qt for the mac (from Gitorius). When I try to compile this (by doing ./configure and then make), I get the following error while running make:

../../include/QtCore/../../src/corelib/kernel/qvarian开发者_Go百科t.h: In function ‘T qvariant_cast(const QVariant&) [with T = QVariant]’:
../../include/QtCore/../../src/corelib/kernel/qvariant.h:592: error: ‘QVariant’ is not a member of ‘QMetaType’
make[2]: *** [.pch/debug-shared/QtCore_debug.gch/objective-c++] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-corelib-make_default-ordered] Error 2

Thanks.


Did you downloaded a stable version? Because you might accidentaly downloaded a beta/unstable version from Gitorious, which might not compile

Also, just download an appropiate stable version tarball from ftp.trolltech.com and compile it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜