Help - Search - Members - Calendar
Full Version: Problem With Qwidget::setsizepolicy
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > Qt/Qtopia
tsuribaka
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? wink.gif
tsuribaka
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...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.