[Qt-creator] Compiling on Windows

Robert Hairgrove evorgriahr at hispeed.ch
Mon Jan 19 12:51:08 CET 2009


Kobus Botha wrote:
> Well, you don't generally add the path to the compiler if you install an 
> IDE that makes use of a specific compiler and even installs it. I 
> understand that if you want to use a different compiler you would have 
> to make sure that the IDE is able to find it. But to my knowledge 
> mingw32-make.exe isn't a compiler and it was installed by Qt Creator in 
> a directory under the QtCreator dir. So presumably it should be able to 
> find it. I understand that if I specified somewhere that acme-make.exe 
> should be used I would have to make sure it was able to find it.

Right, it's not the compiler. The installation routine for other 
compilers/IDE's usually does add such paths to the PATH environment 
variable automatically, or else the installation instructions will state 
that this must be done by the user.

So you are correct -- if it was installed by Qt Creator, then the 
installation routine should have taken care of it. What I meant was, it 
is "standard procedure" to (somehow) add paths such as this to the PATH 
environment variable in order to execute tools from any directory on the 
command line. But it's not necessarily standard procedure to have to do 
this manually, although I seem to recall that at least the Borland free 
command-line tools required the user to do it. And the MSVC Toolkit has 
a batch file which sets up the environment.



More information about the Qt-creator-old mailing list