[Qt-creator] [Qt-Creator][BUG]Segmentation fault in new QTreeWidget
ypmartin
ypmartin at uci.cu
Mon Nov 24 19:49:14 CET 2008
When I create a new QTreeWidget component in designer embebed on
Qt-Creator and compile the project i got this:
#######################
....
/usr/bin/uic-qt4 mainwindow.ui -o ui_mainwindow.h
make[1]: *** [ui_mainwindow.h] Segmentation fault
make[1]: *** Deleting file `ui_mainwindow.h'
.....
########################
if I edit the .iu file with qtdesigner and create the QTreeWidget with
it or remove the default column on the QTreeWidget the segmentation
fault disappears.
The problem is when Qt-Creator make the .ui file, and we get this:
##############################
...
<widget class="QTreeWidget" name="treeWidget_2">
<property name="geometry">
<rect>
<x>30</x>
<y>90</y>
<width>256</width>
<height>192</height>
</rect>
</property>
<column/>
</widget>
...
##############################
instead of:
##############################
...
<widget class="QTreeWidget" name="treeWidget_2">
<property name="geometry">
<rect>
<x>30</x>
<y>90</y>
<width>256</width>
<height>192</height>
</rect>
</property>
<column>
<property name="text">
<string>1</string>
</property>
</column>
</widget>
...
#############################
using QT-Creator 0.9 (build 320690)
Regards
Yonnys P. Martin Olivera
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20081124/af1a72db/attachment.html
More information about the Qt-creator-old
mailing list