Results 1 to 3 of 3

Thread: setSizeConstraint and segmentation fault

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: setSizeConstraint and segmentation fault

    That's because you don't have a main(top level) layout set in your dialog.
    What you have to do is to open the ui file in designer, right click the form and choose a layout for it(whatever you need). Next save the ui, rebuild and it will work.

  2. The following user says thank you to marcel for this useful post:

    lszk (3rd May 2008)

Similar Threads

  1. Replies: 3
    Last Post: 11th October 2007, 23:47

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.