Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, April 2007
Problem with .ui file in Visual Studio 2005


Message 1 in thread

I have two .ui files that no longer show any widgets when I edit them 
inside Visual Studio 2005.   They are simply a blank canvas.

A few months ago, they looked fine and I could edit them.

They still show correctly when I click on the "Preview Form" button in 
the Qt toolbar.  Also, they still run correctly when I run the 
application.  When I use a text editor to look at the .ui file, all the 
widgets are still in the file. 

What's up?!!  I'm baffled.  Nothing has changed in my Qt installation, 
my operating system (that I know of), or Visual Studio installation.

I'm happy to send the .ui file and associated file(s) if anyone wants to 
take a look.

I'm using Qt 4.2.2
Windows XP Professional
Microsoft Visual Studio 2005
Version 8.0.50727.42  (RTM.050727-4200)
Qt Visual Studio Integration   (1.2.1)
Qt Integration for Visual Studio .NET

-- 
 [ signature omitted ] 

Message 2 in thread

On 4/6/07, Mark Thompson <mark@xxxxxxxxxxxx> wrote:
>
> I have two .ui files that no longer show any widgets when I edit them
> inside Visual Studio 2005.   They are simply a blank canvas.
>
> A few months ago, they looked fine and I could edit them.
>
> They still show correctly when I click on the "Preview Form" button in
> the Qt toolbar.  Also, they still run correctly when I run the
> application.  When I use a text editor to look at the .ui file, all the
> widgets are still in the file.
>
> What's up?!!  I'm baffled.  Nothing has changed in my Qt installation,
> my operating system (that I know of), or Visual Studio installation.

Do they display correctly if you open them in Designer directly,
instead of inside Visual Studio?

-- 
 [ signature omitted ] 

Message 3 in thread

Andrew,

Yes, they display perfectly in Designer.
So, it seems that the Visual Studio integration may be the problem?

Mark

Andrew Medico wrote:
> On 4/6/07, Mark Thompson <mark@xxxxxxxxxxxx> wrote:
>>
>> I have two .ui files that no longer show any widgets when I edit them
>> inside Visual Studio 2005.   They are simply a blank canvas.
>>
>> A few months ago, they looked fine and I could edit them.
>>
>> They still show correctly when I click on the "Preview Form" button in
>> the Qt toolbar.  Also, they still run correctly when I run the
>> application.  When I use a text editor to look at the .ui file, all the
>> widgets are still in the file.
>>
>> What's up?!!  I'm baffled.  Nothing has changed in my Qt installation,
>> my operating system (that I know of), or Visual Studio installation.
>
> Do they display correctly if you open them in Designer directly,
> instead of inside Visual Studio?
>

-- 
 [ signature omitted ] 

Message 4 in thread

> I have two .ui files that no longer show any widgets when I edit them
> inside Visual Studio 2005.   They are simply a blank canvas.
> 
> A few months ago, they looked fine and I could edit them.

thats a known bug in the visual studio integration (which should be
fixed for 4.3.0 if i remember correctly, didnt try it yet).

the workaround is to close all other windows before opening your .ui
file in Visual Studio. 

Cheers,
Peter
 

--
 [ signature omitted ] 

Message 5 in thread

Hi Peter,
Thanks for the note.
Yes, indeed, closing all other windows does "fix" the problem.  That is 
good enough for now.... 
I look forward to trying 4.3 and getting the true fix.
Thanks again!
Mark

Peter Prade wrote:
>> I have two .ui files that no longer show any widgets when I edit them
>> inside Visual Studio 2005.   They are simply a blank canvas.
>>
>> A few months ago, they looked fine and I could edit them.
>>     
>
> thats a known bug in the visual studio integration (which should be
> fixed for 4.3.0 if i remember correctly, didnt try it yet).
>
> the workaround is to close all other windows before opening your .ui
> file in Visual Studio. 
>
> Cheers,
> Peter
>  
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
>
>   

-- 
 [ signature omitted ]