Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, December 2006
Re: What is Visual Studio 2005 integration?


Message 1 in thread

"Till Oliver Knoll" <oliver.knoll@xxxxxxxxxxx> wrote in message 
news:456EC83D.8070201@xxxxxxxxxxxxxx

> Yes. But you still have to download the integration package, I don't
> believe it is part of the core Qt download (to be honest, I cannot
> remember ;)

It's a separate download.

> The next question you might have: "What's the difference between 'Qt
> AddOn' and 'Qt integration' packages?"
>
> - The "Qt integration" package contains the FULL integration of the
>  Qt tools into Visual Studio - that includes the designer which
>  "blends" into the Visual Studio GUI. Some people like that, some
>  don't (in any case, you can always use the designer as separate
>  product.
>  NOTE: The "Qt integration" is only available for Qt 4!
>
> - The "Qt AddOn" adds the basic tools (moc, uic, Qt *.pro project
>  import) to Visual Studio, excluding the Designer which is started
>  separately when clicking on an *.ui file within Visual Studio.
>  NOTE: The "Qt AddOn" supports BOTH Qt 3 and Qt 4

> But there's one advantage when using the "Qt AddOn": the AddOn lets you
> handle several Qt versions and with a simple mouse click you can choose
> the one with which you like to build! This could also be useful if
> you're only using Qt4, e.g. you could install all Qt 4.1.0, 4.1.2 and
> 4.2.2 and switch between them!

The integration package allows switching between Qt versions
by project or by solution.  Pretty cool actually.

> I guess this option is also available in the "Qt integration" but I
> simply have not found it (I would really be suprised if this feature was
> only available in the "Qt AddOn"!, and since we're still using Qt 3
> code, too, I went for the "Qt AddOn"...

You go to options/Qt to add additional versions of Qt.
Once you add them, you can right click on a solution and
choose "Change Qt Version" or you can select the project,
go to view/ properties from the menu and toggle the Qt
version from there.

I'm using VS2003 but I think it's the same for both
versions.

>> What is the difference between QT for VS2005 and QT source files?
>
> The first is a prebuilt binary (without Qt sources), the later are the
> sources only :)
>
>> Can i receive same configuration as installed using
>> qt-win-eval-4.1.3-vs2005.exe, using source files and QT VS2005
>> integration? How can i do it?
>
> You're mixing up some different fruits here:
>
> Yes, you can get the same results from the "Qt source" distribution like
> the "Qt for Visual Studio 2005" binary distribution - by simply
> compiling it (with the same configuration switches, I assume the default
> ones) ;)

You can run configure and nmake to get the same result
as the downloaded zips.

> The "Qt integration" only deals with the integration of both the source
> and binary distribution of Qt into Visual Studio.
>
>>
>> Can i use another compiler instead of Visual Studio 2005, if i
>> downloaded and installed qt-win-eval-4.1.3-vs2005.exe?
>
> No - that's why there's also a "Qt for Visual Studio 2003" binary
> release. If you want to go for Visual Studio 6 then you need to download
> the "Qt for Visual Studio 6" binary distribution. If you want another
> compiler for which no binary release is available then you need to
> download the "Qt sources" and compile yourself (with the compiler of
> choice).

I think with the commercial windows license you can download
all three. 


--
 [ signature omitted ] 

Message 2 in thread

DH> You go to options/Qt to add additional versions of Qt.
DH> Once you add them, you can right click on a solution and
DH> choose "Change Qt Version" or you can select the project,
DH> go to view/ properties from the menu and toggle the Qt
DH> version from there.

DH> I'm using VS2003 but I think it's the same for both
DH> versions.

AHHHHHHHH.... this was th missing link for me, thanks. I am using
VS2005 with Integration and allways had a hard time installing and
using a new Qt release because I didn't figure that out. Btw. in
VS2005 it is in the context menu of the 'Solution'.

Anyway there should be some documentation about the integration
included in the online help of VS2005 according to the readme, but
stupid me is unable to find that too. It must also be something very
obvious but on a blind spot of me, so any hint's where I should find it?

-- 
 [ signature omitted ]