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?