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

Qt-interest Archive, March 2002
Realoading modified ui.h file in QT designer


Message 1 in thread

Hi,

suddenly I got the message "file was modified outside qt designer, do you
want to reload it" if I made some changes after I opened it in MSVC. That's
the behavior I LIKE, so one can really do its work inside MSVC and than just
approve the reload in QT designer. BUT  after I rebooted my machine this
behavior is gone !! Is there any switch or any scenario where this does not
work (designer opened before msvc or whatever ?)

Joe


Message 2 in thread

Joe Robe wrote:
> Hi,
> 
> suddenly I got the message "file was modified outside qt designer, do you
> want to reload it" if I made some changes after I opened it in MSVC. That's
> the behavior I LIKE, so one can really do its work inside MSVC and than just
> approve the reload in QT designer. BUT  after I rebooted my machine this
> behavior is gone !! Is there any switch or any scenario where this does not
> work (designer opened before msvc or whatever ?)

Same behaviour here, it worked the first time with my project
but after that never ever again. I did not find anything in the
preferences to change it to the original recognition behaviour
again. I checked both starting QT designer before and directly from
VStudio. I made so many changes to the project (even manually editing
the project file for renaming reasons) that I can't really say what
could be causing this.

Regards,

Reinhard Katzmann


Message 3 in thread

Hi!

> I posted another message regarding strange editor behavior in qt designer.
> Every time I click into the edit (ui.h) file I do not see any cursor, I
> FIRST have to click on  the save icon and then can edit. This is a painin
> the ass, because after EVERY click in a new line etc. the problem starts
> again.

I have no cursor related problems when editing, tried several things,
even moving around with the scroll bar.

I also found out that since I newly added a file the change dialog
warning seems to work again, at least if I have first changed the
extra added file and after that the ui.h file.

> Do you experience the same ?? I have A LOT of coding to do in my custom
> classes, so I liked the approach to just do everything in MSVC and then just
> accept the changed file in qt designer !
> 
> How do you work these things out ??

I use the QT 3.0.2 version, MSVC 6.0, and except designer crashing
sometimes I encountered no further difficulties.

Regards,

Reinhard Katzmann