Instruction for installing an environment with Qt and Qt integration with Visual Studio 2008

I want to use Qt lib but I don't know how to install Visual Studio 2008+Qt+Qtintegration. I have read some forums, that step by step tell what to download, where to download from, and then what to do. But that was for old versions of mentiond products.

I ask to Qt developers tell me the way to install these items on Windows. Any forum or site will be fine.

Thanks.

Answers


To get QT working with dev studio you need to install two things.

First, a copy of the QT Visual Studio Libraries. And the QT Visual Studio Addin.

Download the QT sdk, and install it. It usually installs into a folder like

c:\qt\4.6.2

Then, install the visual studio addin. The addin should add (At least) two new things to Visual Sutdio. A new "Qt" project in the Create New Project Wizard, and a Qt menu.

Qt supports building your project against multiple builds of Qt, so the first thing you need to do is go to the Qt menu, and point it to the directory you installed the Qt SDK to. It all went well it should auto populate with c:\qt\4.6.2

Then, use the Wizard to create a new Qt project in Visual Studio.

If you are creating your first Qt project in Visual Studio this way, there is no need to fiddle with .pro files or doing any kind of "stuff" outside Visual Studio to get a project going. The Visual Studio addin sets up the workspace to do all the pre-compiles needed by the Qt build environment.

--

Note: The Qt SDK at this URL

comes with the MinGW runtine for GCC, and Qt Creator embedded. This is no good for Visual Studio. This build installs to a folder like

c:\Qt\2010.2

Need Your Help

Webview keeps losing focus

javascript google-chrome google-chrome-app google-chrome-webview

I have an app that is basically just a wrapper for an internal company website. The idea is to easily load the website in its own window on my Chromebook, that way it won't unload when RAM gets lo...

Test defeasible belief system in Kie Workbench 6.2.0.Final

drools drools-guvnor kie

We are attempting to test the defeasible belief system in the Kie Workbench 6.2.0.Final, and would like to be able to use Test Scenerios feature to test defeasible rules.