Author Topic: Problem With Qwidget::setsizepolicy  (Read 3843 times)

tsuribaka

  • Newbie
  • *
  • Posts: 14
    • View Profile
Problem With Qwidget::setsizepolicy
« 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

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?

tsuribaka

  • Newbie
  • *
  • Posts: 14
    • View Profile
Problem With Qwidget::setsizepolicy
« Reply #1 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...
« Last Edit: December 06, 2004, 10:24:56 am by tsuribaka »