[Qt-interest] loading ui files in visual studio

peter qt at bienert-rh.de
Thu Mar 11 16:12:07 CET 2010


Hello,
I agree to use VS AddIn, but to switch from Integration to Addin is no 
easy step, a lot of things are handled different !

I had to remove my h-Files from the project and add them again, to have 
a working moc, same with qrc and ui files.
Next problem is, when you are not alone on your pc, i.e a terminal 
session on a Win2003 server, and you have open Visual Studio on more 
than one session, the qt wrapper system does not work any longer, when 
i.e. opening a ui-File, and you are the happy person which startet VS 
first, you will get all uis from all terminal sessions in your session, 
the other people get native editing window instead of designer.....

But if you move your ship around the island, you can really work with 
it. But lots of things are now manually, no more double click on a 
signal and cpp and h have it.... So there are lots of things to do for 
the trolls....

Regards,
Peter

Am 10.03.2010 22:07, schrieb David Ching:
> "Duane Hebert" <spoo at flarn.com> wrote in message 
> news:hn8mbd$em5$1 at eple.troll.no...
>> We're using MSVC8 with Qt 4.5.1 commercial.  If we create a ui file 
>> from the standalone designer, add it to an existing project and try 
>> to open it within the VS IDE it won't open.  It seems that the 
>> VSIntegration version of designer doesn't like the <?xml 
>> version="1.0" encoding="UTF-8"?> line.
>>
>> Is there anyway to fix this behavior beside switching to the plugin?
>>
>
> VSIntegration hasn't been worked on since 4.5.3 or 4.5.4 timeframes 
> and is no longer compatible with the .ui files spit out by the latest 
> Designer.  I would immediately uninstall VSIntegration and install the 
> Qt Add-in.  It doesn't edit .ui files inside visual studio anymore (it 
> launches external Designer when you double-click the .ui file), but it 
> works very well.
>
> -- David



More information about the Qt-interest-old mailing list