Ask Your Question

Revision history [back]

By searching on the internet, I solved the problem. It's because the version of my Xcode is newer than the version defined in Qt3.0. So I have to modify the qmake.conf in the dirctory: ../Qt5.5.0/5.5/clang_64/mkspecs/macx-clang . After changed the QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7 to QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.10 My program works well.