[英]Qt Won't Compile (10.5 Intel Mac)
我正在尝试为Mac(来自Gitorius)编译最新版本的Qt。 当我尝试对此进行编译(通过执行./configure然后进行make)时,在运行make时出现以下错误:
../../include/QtCore/../../src/corelib/kernel/qvariant.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
谢谢。
您下载了稳定版本吗? 因为您可能会意外地从Gitorious下载了Beta /不稳定版本,但该版本可能无法编译
另外,只需从ftp.trolltech.com下载适当的稳定版tarball并进行编译。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.