PDA

View Full Version : how to integrated qt with dev cpp and vs.net



safknw
9th May 2006, 11:53
I want to use qt desiger inside vs.net and/or Dev C++ on windows (same as we did in kdeveloper on linux.)
I want to use dqt designer in VS.net in place of Winform deigner.

Thanks in advance.

wysota
9th May 2006, 12:08
Which version of Qt? And commercial or free edition?

Kapil
9th May 2006, 13:03
Which version of Qt? And commercial or free edition?

I also wanted to know the same...
I am using Qt 4.1.1 and free edition...

Kapil

safknw
9th May 2006, 13:30
I'm using Qt 4.1.2 free version. VC++ express , Dev C++ 4.9.9.2.

wysota
9th May 2006, 13:42
You can't use Qt4 Free edition with MSVC. You can edit the code using Visual Studio, but you won't be able to compile it using its compiler. As for Dev-C++, you should first look through the threads in this forum and maybe also here: http://qtwin.sourceforge.net/qt3-win32/devcpp.php

Kapil
9th May 2006, 14:16
Hi..

This means to use Qt with MSVC i would have to buy the commercial edition...
Once i had created a ui using Desinger.. Then i extracted the .h for it using uic command.. then i created the files using the MSVC and then included the Qt headers in the MSVC compiler and then made th executable.. it worked for a very small application..
i didnt try it for some major application but i feel it would work then also...

also i downloded the qsmdev.dll or some same name( i dont exactly rem, the name) and was able to call the designer on the MSVC but was not able to use it prop as was giving errors..

Kapil

wysota
9th May 2006, 14:31
Are you sure you used MSVC compiler? because you'd have to have Qt libraries compiled for MSVC, which obviously you don't have :)

safknw
9th May 2006, 14:39
I'm able to create code for form.
Now how to create create project file for dev c++.