[Qt-interest] loading ui files in visual studio

Peter qt at bienert-rh.de
Fri Mar 12 08:50:12 CET 2010


Hi, Olli
I have the actual AddIn and qtwrapper does not work. When you have more 
than one QT Version and doublel click an ui. Wrapper starts as much QT 
Versions you have defined....  And this problem is in the bug tracker ! 
I could only work, when every instance of VS has its own definition, 
which program to use, when double clicking on an ui (or translation file 
or what ever). So I had to add Designer.exe in the ui-Definition (right 
click on the ui...) and set a fix path to the designer and set designer 
as "standard". I hope this will be fixed soon.

Regards,
Peter

Am 12.03.2010 08:00, schrieb Oliver Wolff:
> Am 3/11/2010 4:12 PM, schrieb ext peter:
>> 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
>>
>
> Hi,
>
> switching from the integration to the AddIn sometimes is not as smooth
> as desired but besides this everything should work quite similar as in
> the integration.
>
> There were some flaws regarding multi session on windows 2003 server but
> they should be fixed in the latest version of the AddIn (only one
> appwrapper is started, but it handles the startup of Qt applications for
> every user). If it is not fixed for you please reopen the existing bug
> or file a new one in our bugtracker.
>
> Regards
> Olli
>
>> 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
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest



More information about the Qt-interest-old mailing list