forked from qt-creator/qt-creator
Fix $$OUT_PWD not beeing set for finding the target/destdir
Qt Creator wouldn't find the correct target if shadow building a project that uses $$OUT_PWD, like for example itemviews-ng. We didn't set the necessary variable on the ProFileReader *, simplified the code to always use a ProFileReader created for the exact profilenode.
This commit is contained in:
@@ -123,6 +123,11 @@ public:
|
||||
bool renameFile(const FileType fileType,
|
||||
const QString &filePath, const QString &newFilePath);
|
||||
|
||||
Qt4PriFileNode *findProFileFor(const QString &string);
|
||||
|
||||
//internal
|
||||
ProFileReader *createProFileReader() const;
|
||||
|
||||
protected:
|
||||
void clear();
|
||||
static QStringList varNames(FileType type);
|
||||
@@ -142,7 +147,6 @@ protected:
|
||||
ChangeType change);
|
||||
|
||||
QString buildDir() const;
|
||||
ProFileReader *createProFileReader() const;
|
||||
|
||||
private slots:
|
||||
void scheduleUpdate();
|
||||
@@ -198,8 +202,6 @@ private:
|
||||
QStringList subDirsPaths(ProFileReader *reader) const;
|
||||
QStringList qBuildSubDirsPaths(const QString &scanDir) const;
|
||||
|
||||
|
||||
|
||||
void invalidate();
|
||||
|
||||
Qt4ProjectType m_projectType;
|
||||
|
||||
Reference in New Issue
Block a user