[Qt4-preview-feedback] Visual Studio Addin can't find files

Sven Grunewaldt strayer at olle-orks.org
Tue Mar 10 09:34:54 CET 2009


Am 09.03.2009 09:45, schrieb Joerg Bornemann:
> ext Sven Grunewaldt wrote:
>
>> I installed the Qt Visual Studio Addin 1.0.0 beta.
>> First it complained that it could not find any Qt versions. I ignored 
>> this message and went on with installing.
>
> This is safe to ignore. Its just a warning message.
> The commercial binary packages of Qt for Windows / Windows CE register 
> themselves for the add-in / integration. So if you just have unzipped 
> a source package and compiled Qt then there's no entry for your Qt 
> build in the registry.
> Maybe we should just remove this message as it seems to cause some 
> confusion.
>
>> After that I launched VS2008 and added my compiled Qt version unter 
>> Qt -> Configure Qt Versions.
>
> Looks like the add-in can't find qmake. When importing a pro file the 
> add-in uses qmake from the installation directory of the default Qt 
> version you've specified in the settings. So there's either
> 1. no qmake or qmake cannot be started in the bin directory of the 
> installation dir you specified.
> 2. a bug in the add-in beta
>
> Does you installation dir contain spaces or such?
>
>
> Regards,
>
>
Hi,

my installation directory is "E:\Entwicklung\lib\qt-4.5.0-msvc" and the 
bin folder contains qmake. I can use qmake and compile Qt applications 
fine, it's just *.pro opening that doesn't work.
Config of the addin: http://img1.abload.de/img/tmpn2ke.jpg
Moving the qt directory to E:\qt didn't help either.

As a suggestion for the error message: Can't you look for Qt in PATH or 
QTDIR? I always have both variables correctly set for Qt.

Regards,
Sven Grunewaldt



More information about the Qt4-feedback mailing list