[Qt-interest] contents of qtvars.bat

Thiago Macieira thiago.macieira at trolltech.com
Fri Mar 13 14:16:41 CET 2009


John McClurkin wrote:
>I just downloaded qt-sdk-win-opensource-2009.01.1.exe. After expanding
>it, it created a distribution in c:\Qt\2009.01. When I tried to run
>configure to build static libraries I got an error saying it couldn't
>locate the mkspec for win32-g++ under
>C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_cre
>ate_more\Troll\4.5.0\qt/mkspecs?! After searching I found a file called
> qtvars.bat in C:\Qt\2009.01\qt\bin that set this environment variable.
> I assume that configure must have called this bat file. Why is this bat
> file setting these variables?

Because the SDK was already pre-compiled and we did not think people would 
recompile it. The long path you see is meant to be replaced by the 
installer when installing the Qt libraries, so that they work out-of-the-
box.

I recommend you download the sources if you want to compile Qt.
-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
      Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090313/eaa9ece4/attachment.bin 


More information about the Qt-interest-old mailing list