[Qt-interest] Visual Studio Integration
John McClurkin
jwm at nei.nih.gov
Fri Aug 21 20:18:47 CEST 2009
Brian McKinnon wrote:
> On Fri, Aug 21, 2009 at 1:56 PM, John McClurkin <jwm at nei.nih.gov
> <mailto:jwm at nei.nih.gov>> wrote:
>
> 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!
>
>
> I get:
>
> c:\Program Files\Microsoft Visual Studio 9.0\VC>echo %QTDIR%
> P:\qt\4.5.2
>
> My P drive is on the network. Could that be a problem?
>
> Brian!
I'm not sure. I always install software locally. However, the fact that
Qt is looking in C:\bin suggests that Qt is not using the QTDIR variable.
More information about the Qt-interest-old
mailing list