[Qt-interest] Visual Studio Integration
John McClurkin
jwm at nei.nih.gov
Fri Aug 21 18:56:19 CEST 2009
Brian McKinnon wrote:
> Hey Everyone,
>
> I've been trying out the visual studio integration 1.0.2 and I'm having
> a bit of trouble. I've built the qt 4.5.2 libraries using visual studio
> 2008 professional edition and I can run qmake from the command prompt.
> When I create a new project, I get the qt4 project wizard, but when I
> click finish I get:
>
> The following error occured:
> Can't find \bin\qmake.exe
> (at Trolltech.Qt4VS2008.QtProjectLib.VersionInformation.is64Bit()...
>
> It appears to only check for qmake in C:\bin. If I put qmake in that
> directory then the project is created successfully. Process monitor
> shows that C:\bin is the only location that is searched while looking
> for qmake. I have set QTDIR and PATH QTDIR\bin, as well as defined the
> install path in the visual studio qt options.
>
> Is there any other option or environment variable I can set to point
> towards qmake, or do I need to install qt to C:\bin for the visual
> studio integration to work? Is there any more comprehensive
> documentation about the visual studio integration?
>
> Thanks,
> Brian!
From the Visual Studio command prompt type the command
echo %QTDIR%
This will tell you what the environment variable QTDIR is when you are
running Visual Studio.
More information about the Qt-interest-old
mailing list