summaryrefslogtreecommitdiffstats
path: root/qmake/generators/win32/msvc_vcproj.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-01-02 13:51:19 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-01-07 07:16:59 +0100
commit9d7ed92f6e63cd2d1a1388874e54b37b5cfd01b7 (patch)
treec9c298693b83e124b1c0614ba182f880cba40ae6 /qmake/generators/win32/msvc_vcproj.h
parent1535fc9fb9ddbfce1680979c0634b4fdf8d75fca (diff)
Fix dependency resolution for extra compilers in VS projects
De-duplicate the code that calls the extra compiler's depend_command by using the central function callExtraCompilerDependCommand. This one actually tries to resolve dependencies unlike the removed code that blindly resolved relative paths to the build directory. This fixes dependencies reported by uic which need to be resolved against what is in DEPENDPATH. Fixes: QTBUG-80579 Change-Id: If482e50ff3eff716fefffee82004acc076b3a547 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'qmake/generators/win32/msvc_vcproj.h')
-rw-r--r--qmake/generators/win32/msvc_vcproj.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmake/generators/win32/msvc_vcproj.h b/qmake/generators/win32/msvc_vcproj.h
index 8f38252274..c565b709d2 100644
--- a/qmake/generators/win32/msvc_vcproj.h
+++ b/qmake/generators/win32/msvc_vcproj.h
@@ -69,6 +69,8 @@ public:
bool pchIsCFile = false;
VCProjectWriter *projectWriter;
+ using Win32MakefileGenerator::callExtraCompilerDependCommand;
+
protected:
virtual VCProjectWriter *createProjectWriter();
bool doDepends() const override { return false; } // Never necessary