make relative paths in qt.conf work inside qmake
Task-number: QTBUG-11602 Reviewed-by: joerg (cherry picked from commit e6bb6ba76942d98e4b50a7fd32bf44e211f2fa5e)
This commit is contained in:
parent
119da2c8d4
commit
86a6ffbc3e
@ -453,7 +453,7 @@ QLibraryInfo::location(LibraryLocation loc)
|
||||
if (loc == PrefixPath) {
|
||||
// we make the prefix path absolute to the executable's directory
|
||||
#ifdef BOOTSTRAPPING
|
||||
return QFileInfo(qmake_libraryInfoFile()).absolutePath();
|
||||
return QDir(QFileInfo(qmake_libraryInfoFile()).absolutePath()).absoluteFilePath(ret);
|
||||
#else
|
||||
if (QCoreApplication::instance()) {
|
||||
#ifdef Q_OS_MAC
|
||||
|
Loading…
Reference in New Issue
Block a user