[Qt-creator] Problem with QTreeWidget

Denis Kormalev kormalev.denis at gmail.com
Mon Jan 12 17:04:44 CET 2009


I've made some experiments and discover that when I create such form 
with Qt Designer than all is ok. But when I create such form with Qt 
Creator embedded designer than uic crashes. Also I compared two forms 
that are created with Designer and Qt Creator and found that Qt Creator 
doesn't write coulmn info to .ui file. Example:

Designer .ui:
   <widget class="QTreeWidget" name="treeWidget" >
    <property name="geometry" >
     <rect>
      <x>147</x>
      <y>140</y>
      <width>256</width>
      <height>192</height>
     </rect>
    </property>
    <column>
     <property name="text" >
      <string>1</string>
     </property>
    </column>
   </widget>

Qt Creator .ui:
   <widget class="QTreeWidget" name="treeWidget">
    <property name="geometry">
     <rect>
      <x>140</x>
      <y>80</y>
      <width>256</width>
      <height>192</height>
     </rect>
    </property>
    <column/>
   </widget>

I think that problem is in this place.

With best regards, Denis.

Thorbjørn Lindeijer wrote:
> Hello Kormalev,
>
> This information is very useful, but unfortunately you're sending it to 
> the wrong mailing list. Since this is an issue with Qt rather than Qt 
> Creator, please send your report to Qt support.
>
> Please do include a minimal ui file that has the issue, your platform 
> spec, the Qt version for uic and the backtrace. You can give this form a 
> try:
>
> http://qtsoftware.com/bugreport-form
>
> Regards,
> Bjørn
>
>   



More information about the Qt-creator-old mailing list