1

我尝试使用qt-opensource-mac-x64-clang-5.4.0-beta.dmgwith 构建一个极简主义框架:

./configure -silent -nomake examples -nomake tests  -platform macx-clang 

但构建过程惨遭失败:

../../../src/3rdparty/chromium/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm:891:26: error: cannot initialize a parameter of type 'id<NSFileManagerDelegate>' with an rvalue of type 'PtrType' (aka 'ChromiumWebCoreObjCWebScrollbarPainterDelegate *')
    [painter setDelegate:m_verticalScrollbarPainterDelegate.get()];

git 中的最新来源也给出了这个错误,即使我用-skip qtwebkit -skip qtwebkit-examples. 任何想法如何让它工作?

4

2 回答 2

1

这是来自 QtWebEngine 所以试试

-skip qtwebengine
于 2014-10-27T14:02:02.693 回答
0

如果您没有具体要求,最好让homebrew处理细节。我最近编译了 pyqt,它也需要 qt,并且在 OSX 10.10 上运行良好:

brew install qt

于 2014-10-27T14:11:54.890 回答