diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2010-02-22 10:32:39 (GMT) |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2010-02-22 10:34:38 (GMT) |
commit | b9db89f7d299305769e207088a00345dbe82cf1d (patch) | |
tree | 6362c1a1e4393b2e2ff765953e97765c6c58467d /src/corelib/global | |
parent | 10bec2ab7be43f4a8507901fc9eeecf0b33af5a1 (diff) | |
download | Qt-b9db89f7d299305769e207088a00345dbe82cf1d.zip Qt-b9db89f7d299305769e207088a00345dbe82cf1d.tar.gz Qt-b9db89f7d299305769e207088a00345dbe82cf1d.tar.bz2 |
Fix build on Mac OS X
Reviewed-by: Olivier
Diffstat (limited to 'src/corelib/global')
-rw-r--r-- | src/corelib/global/qlibraryinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp index a9ea44a..d5041c9 100644 --- a/src/corelib/global/qlibraryinfo.cpp +++ b/src/corelib/global/qlibraryinfo.cpp @@ -439,7 +439,7 @@ QLibraryInfo::location(LibraryLocation loc) QCFType<CFURLRef> urlRef = CFBundleCopyBundleURL(bundleRef); if (urlRef) { QCFString path = CFURLCopyFileSystemPath(urlRef, kCFURLPOSIXPathStyle); - return QDir::cleanPath(path + QLatin1String("/Contents/") + ret); + return QDir::cleanPath(QString(path) + QLatin1String("/Contents/") + ret); } } #endif |