OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Problem With Qwidget::setsizepolicy, program crashes when called
tsuribaka
post Dec 5 2004, 08:02 PM
Post #1





Group: Members
Posts: 14
Joined: 15-November 04
Member No.: 5,472



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
Go to the top of the page
 
+Quote Post
tsuribaka
post Dec 6 2004, 07:24 AM
Post #2





Group: Members
Posts: 14
Joined: 15-November 04
Member No.: 5,472



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...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st September 2014 - 02:14 PM