gaberudy / qt-msvc-installer

Automatically exported from code.google.com/p/qt-msvc-installer
0 stars 0 forks source link

Files created by installer are missing when executing installer on system with vs2010 #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Install qt-win64-opensource-4.7.1-noqt3-vs2008.exe

What is the expected output? What do you see instead?

Files that should be created by installer (INSTALL_DIR/QtVars.bat 
INSTALL_DIR/QtCommandPrompt.bat, INSTALL_DIR/bin/qt.conf) are missing. The line 
QMAKE_INCDIR += "." which according to 
http://code.google.com/p/qt-msvc-installer/wiki/RelocationTricks is being added 
to mkspecs/win32-msvc2008/qmake.conf is not there.

What version of the product are you using? On what operating system?

Vista Home Premium x64 with vs2010 installed and _no_ vs2008 installed.

Original issue reported on code.google.com by p.dobrog...@gmail.com on 16 Jan 2011 at 11:53

GoogleCodeExporter commented 9 years ago
These binaries of Qt are explicitly for VS2008. They would need to be 
recompiled for VS2010 even if the installer didn't beak for VS2010.

It seems that VS2010 is the "new VS2008" in the sense that Qt doesn't provide 
binaries for it but it is supported as a platform.

Unfortunately, I'm not sure this project vehicle to provide VS2010 binaries to 
the community without somebody with the motivation and resources to do so.

Original comment by gaber...@gmail.com on 16 Jan 2011 at 2:17

GoogleCodeExporter commented 9 years ago
I understand libs would need to be recompiled for VS2010 to be usable but why 
does installer break? It doesn't use vs in any point, does it?

Original comment by p.dobrog...@gmail.com on 16 Jan 2011 at 4:24

GoogleCodeExporter commented 9 years ago
It turns out that it does actually. It needs to know the VS path to properly 
build the bat files that launch the command line with the appropriate 
environment variables set (vsvars.bat etc). Also the installer creates 
shortcuts to launch VS 2008 with environment variables set for Qt.

Original comment by gaber...@gmail.com on 8 Feb 2011 at 5:14