Ticket #14602: qlibrary_unix.cpp.diff
File qlibrary_unix.cpp.diff, 790 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 17 years ago) |
---|
-
src/corelib/plugin/qlibrary_unix.cpp
old new 43 43 44 44 #ifndef QT_NO_LIBRARY 45 45 46 #ifdef Q_ OS_MAC46 #ifdef Q_WS_MAC 47 47 # include <private/qcore_mac_p.h> 48 48 #endif 49 49 … … 190 190 pHnd = dlopen(QFile::encodeName(attempt), dlFlags); 191 191 } 192 192 } 193 #ifdef Q_ OS_MAC193 #ifdef Q_WS_MAC 194 194 if (!pHnd) { 195 195 if (CFBundleRef bundle = CFBundleGetBundleWithIdentifier(QCFString(fileName))) { 196 196 QCFType<CFURLRef> url = CFBundleCopyExecutableURL(bundle); … … 220 220 return true; 221 221 } 222 222 223 #ifdef Q_ OS_MAC223 #ifdef Q_WS_MAC 224 224 Q_CORE_EXPORT void *qt_mac_resolve_sys(void *handle, const char *symbol) 225 225 { 226 226 return dlsym(handle, symbol);