[Qt-creator] Patch for ".ui file not marked modified" bug
Greg Santucci
thecodewitch at yahoo.com
Wed Mar 11 05:33:13 CET 2009
There is a small bug in the both the integrated Qt Designer and the
standalone Qt Designer where if you modify an existing connection by
double clicking it (bringing up the "Configure Connection" dialog), the
.ui file is not marked as changed. (However, performing the same edit in
the Signal/Slots editing pane marks the .ui file as modified, and is also
undoable).
I've fixed the bug on my end and I am providing a small patch. It was a
very simple fix - the Qt Designer code is clean and beautifully written,
and a fix was very easy to figure out and put in. The patch makes edits
done in the "Configure Connection" dialog undoable.
To apply the patch, the current directory must be C:\Qt\2009.01\qt\tools
\designer\src. Once applied, run qmake, make, and make release. Once the
build is finished, there will be fresh QtDesigner4.dll, QtDesignerd4.dll,
QtDesignerComponents4.dll and QtDesignerComponentsd4.dll files in the
C:\Qt\2009.01\qt\bin directory. The Qt Designer standalone app will
feature the fix, however, to fix the integrated designer in Qt Creator,
you must first build your own Qt Creator from source, and completely
replace the old one, as it appears to have been built with Visual Studio,
making the DLLs incompatible. Once you've built your own Qt Creator, you
can simply copy all the DLLs in C:\Qt\2009.01\qt\bin to C:\Qt\2009.01\bin,
and you'll have a freshly patched Qt Creator to play with.
Greg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: designer.patch
Type: application/octet-stream
Size: 4486 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090310/69b1183b/attachment.obj
More information about the Qt-creator-old
mailing list