Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

[SOLVED] Qt from Git doesn't get build on OS X

$
0
0
Hey, I am trying to build `qtbase` from Git and `make` finishes with: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -Wl,-dead_strip -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -stdlib=libc++ -mmacosx-version-min=10.7 -o ../../../bin/rcc .obj/rcc.o .obj/main.o   -L/Users/tucnak/Development/qtbase/build/lib -lQt5Bootstrap Undefined symbols for architecture x86_64:   "_OBJC_CLASS_$_NSString", referenced from:       objc-class-ref in libQt5Bootstrap.a(qstring_mac.o)   "_FSFindFolder", referenced from:       macLocation(QStandardPaths::StandardLocation, short) in libQt5Bootstrap.a(qstandardpaths_mac.o)   "_FSRefMakePath", referenced from:       macLocation(QStandardPaths::StandardLocation, short) in libQt5Bootstrap.a(qstandardpaths_mac.o)   "_FSGetCatalogInfo", referenced from:       QFileSystemEngine::fillMetaData(QFileSystemEntry const&, QFileSystemMetaData&, QFlags<QFileSystemMetaData::MetaDataFlag>) in libQt5Bootstrap.a(qfilesystemengine_unix.o)   "_FSPathMakeRefWithOptions", referenced from:       QFileSystemEngine::fillMetaData(QFileSystemEntry const&, QFileSystemMetaData&, QFlags<QFileSystemMetaData::MetaDataFlag>) in libQt5Bootstrap.a(qfilesystemengine_unix.o)   "_CFBundleCopyResourcesDirectoryURL", referenced from:       QStandardPaths::standardLocations(QStandardPaths::StandardLocation) in ...   "_CFURLCreateFromFSRef", referenced from:       QFileSystemEngine::canonicalName(QFileSystemEntry const&, QFileSystemMetaData&) in libQt5Bootstrap.a(qfilesystemengine_unix.o)   "_CFBundleCreate", referenced from:       QFileSystemEngine::fillMetaData(QFileSystemEntry const&, QFileSystemMetaData&, QFlags<QFileSystemMetaData::MetaDataFlag>) in libQt5Bootstrap.a(qfilesystemengine_unix.o)   "_CFStringGetTypeID", referenced from:       QFileSystemEngine::bundleName(QFileSystemEntry const&) in libQt5Bootstrap.a(qfilesystemengine_unix.o)   "___CFConstantStringClassReference", referenced from:       CFString in libQt5Bootstrap.a(qcoreapplication.o)       CFString in libQt5Bootstrap.a(qcore_mac_objc.o)       CFString in libQt5Bootstrap.a(qcore_mac_objc.o)   "_CFBundleGetValueForInfoDictionaryKey", referenced from:       QCoreApplicationPrivate::appName() const in libQt5Bootstrap.a(qcoreapplication.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [../../../bin/moc] Error 1 make[1]: *** [sub-moc-install_subtargets] Error 2 make: *** [sub-src-install_subtargets] Error 2 Any ideas on how to fix it? Thanks!

Viewing all articles
Browse latest Browse all 2113

Trending Articles