Hello Mr Coffee, It seems this bug was introduced while fixing another bug in uic for release 4.5.1. I have an initial fix for it and will push it to our repository. It should show up in the snapshots shortly after.
Thanks for your bug report! Cheers, João Mr Coffee wrote: > Hi, > > the uic from latest qt-snapshot-200904020 (Qt-4.5) segfaults on some > ui-files (possibly the problem has already been present with earlier > snapshots): > > $ /usr/local/Trolltech/Qt-4.5.1/bin/uic widgets/generic/logview.ui -o > tmp/ui_logview.h > Segmentation fault > > This is a very simple ui-file which I will enclose below. It has been > built with Qt-4.5.0 Designer. Opening the ui with Qt-4.5.1 and re-saving > does not help. > > The system has been compiled for Mac with the following config: > ./configure -cocoa -platform macx-g++ -arch x86_64 -no-sql-ibase > -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 > -qt-sql-sqlite -no-qt3support -nomake examples -nomake demos -nomake > docs -release > > Same problem if gcc 4..2 is used instead. > > Thank you for your help! > > Greetings, > Achim > > logview.ui: > -------------- > <?xml version="1.0" encoding="UTF-8"?> > <ui version="4.0"> > <class>logViewDialog</class> > <widget class="QDialog" name="logViewDialog"> > <property name="geometry"> > <rect> > <x>0</x> > <y>0</y> > <width>660</width> > <height>494</height> > </rect> > </property> > <property name="windowTitle"> > <string>Log</string> > </property> > <property name="windowIcon"> > <iconset> > <normalon>logo/logo.png</normalon> > </iconset> > </property> > <layout class="QGridLayout" name="gridLayout"> > <item row="0" column="0"> > <layout class="QHBoxLayout" name="horizontalLayout"> > <item> > <widget class="QTextEdit" name="textArea"> > <property name="font"> > <font> > <family>Courier</family> > <pointsize>10</pointsize> > </font> > </property> > <property name="readOnly"> > <bool>true</bool> > </property> > <property name="acceptRichText"> > <bool>false</bool> > </property> > </widget> > </item> > </layout> > </item> > <item row="1" column="0"> > <widget class="QCheckBox" name="autoscroll"> > <property name="text"> > <string>autoscroll</string> > </property> > <property name="checked"> > <bool>true</bool> > </property> > </widget> > </item> > </layout> > </widget> > <resources/> > <connections/> > </ui> > > _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
