diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2011-02-14 16:23:50 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2011-03-15 14:56:07 (GMT) |
commit | 5ccd3443fb4604d67a8f65588cc2e3b61c9e1b5c (patch) | |
tree | f27232d45cee0098474f092f635541b48e4430f8 /qmake/generators/win32 | |
parent | 613d24096e78f8ef161ee0c63f7fda034534f3cd (diff) | |
download | Qt-5ccd3443fb4604d67a8f65588cc2e3b61c9e1b5c.zip Qt-5ccd3443fb4604d67a8f65588cc2e3b61c9e1b5c.tar.gz Qt-5ccd3443fb4604d67a8f65588cc2e3b61c9e1b5c.tar.bz2 |
qmake: fix the language settings generated Windows resource files
On Windows > XP the version information of for example the Qt DLLs are
not visible in the Windows explorer. That's due to missing language
information in the version resource.
Task-number: QT-4054
Task-number: QTBUG-12249
Reviewed-by: Marius Storm-Olsen
Diffstat (limited to 'qmake/generators/win32')
-rw-r--r-- | qmake/generators/win32/winmakefile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qmake/generators/win32/winmakefile.cpp b/qmake/generators/win32/winmakefile.cpp index c85533b..ef234ec 100644 --- a/qmake/generators/win32/winmakefile.cpp +++ b/qmake/generators/win32/winmakefile.cpp @@ -456,6 +456,10 @@ void Win32MakefileGenerator::processRcFileVar() ts << "\t\t\t\tVALUE \"ProductName\", \"" << productName << "\\0\"" << endl; ts << "\t\t\tEND" << endl; ts << "\t\tEND" << endl; + ts << "\t\tBLOCK \"VarFileInfo\"" << endl; + ts << "\t\tBEGIN" << endl; + ts << "\t\t\tVALUE \"Translation\", 0x409, 1200" << endl; + ts << "\t\tEND" << endl; ts << "\tEND" << endl; ts << "/* End of Version info */" << endl; ts << endl; |