[Qt-creator] MS Visual Studio compiler with Qtcreator

Andre Poenitz andre.poenitz at mathematik.tu-chemnitz.de
Sun Jan 25 12:26:43 CET 2009


On Sun, Jan 25, 2009 at 01:16:01PM +0200, Stan Holmes wrote:
> Marek Jasovsky wrote:
> > Hi
> >
> > you have to do it manually... when you create makefile with qmake, you 
> > give there -spec win32-msvc2008 parameter and makefile will be 
> > modified so that code will be compiled using this compiler, but you 
> > have to have whole Qt compiled using msvc compiler. (so also path 
> > settings have to contain paths to exe and include files... for this 
> > you can use bat file provided with visual studio (command prompt) and 
> > update PATH to contain also path to Qt binaries...
> > [...]
> >   
> Hi
>  Would this be the same if I wanted to use PGI compiler

Similar at least. First step would be creating a mkspec for your 
compiler, possibly starting by copying a similar one in $QTDIR/mkspecs/

Andre'



More information about the Qt-creator-old mailing list