OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: tsuribaka on December 05, 2004, 11:02:50 pm

Title: Problem With Qwidget::setsizepolicy
Post by: tsuribaka on December 05, 2004, 11:02:50 pm
Using libqte 2.3.2, Cacko rom on my SL-5500. The toolchain on my PC is  the one from  http://www.nautilus6.org/operation/zaurus.html (http://www.nautilus6.org/operation/zaurus.html)

When (Qt Designer-generated) code in my program calls setSizePolicy for any widget, the program crashes. My program works when I comment out all the calls to the method in my project, but obviously that's not a good solution.

gdb doesn't help much, it just prints this:

Program received signal SIGSEGV, Segmentation fault.
Cannot access memory at address 0x0

Does anybody have a clue what's going on?
Title: Problem With Qwidget::setsizepolicy
Post by: tsuribaka on December 06, 2004, 10:24:33 am
Ok, I got a working version after I copied the qte libraries from the Z to the PC and built against those. Either 2.3.2 and 2.3.7 aren't 100% compatible or something else doesn't match between my own and Cacko's setup...