PDA

View Full Version : Using QT in Visual Studio 2005



mittalpa
1st July 2008, 17:18
Hi

I am new to QT. Mostly worked with .Net applications so far. And used to Visual Studio environment.

1. I am interested in learning how to use QT in Visual Studio 2005/2008. Which QT version should I integrate with Visual Studio to start?
2. If I write a program using QT, how can I make sure that it runs on Windows/Linux/Macintosh/Mobile operating systems?

Please advice. Thanks

Pankaj

Brandybuck
1st July 2008, 18:19
The latest version of Qt is 4.4.0. If you get the commercial version, then it integrates very well with Visual Studio 2005/2008. If you use the open source version, then you will have to build Qt yourself (not too difficult), and the integration is less. If you are not using the commercial version, then you can still use QDevelop or Eclipse as on IDE.

To make sure Qt builds on all platforms, use Qt's classes whenever possible, even for low level stuff like files and sockets. Use qmake project files (in Visual Studio integration, you can import/export .pro files).