forked from qt-creator/qt-creator
Add LIBS-paths to PATH before running on windows.
On windows when linking to a library via -L/some/path, the library is found in /some/path while linking. But running that app fails, since it can't find the library. We now adjust PATH to include all paths from LIBS and thus the library is found.
This commit is contained in:
@@ -91,7 +91,8 @@ enum Qt4Variable {
|
||||
UiDirVar,
|
||||
MocDirVar,
|
||||
PkgConfigVar,
|
||||
PrecompiledHeaderVar
|
||||
PrecompiledHeaderVar,
|
||||
LibDirectoriesVar
|
||||
};
|
||||
|
||||
class Qt4PriFileNode;
|
||||
@@ -277,6 +278,7 @@ private:
|
||||
QStringList uiDirPaths(ProFileReader *reader) const;
|
||||
QStringList mocDirPaths(ProFileReader *reader) const;
|
||||
QStringList includePaths(ProFileReader *reader) const;
|
||||
QStringList libDirectories(ProFileReader *reader) const;
|
||||
QStringList subDirsPaths(ProFileReader *reader) const;
|
||||
TargetInformation targetInformation(ProFileReader *reader) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user