Disabled splitter in qt designer

Mujo Osmanovic picture Mujo Osmanovic · May 8, 2012 · Viewed 8.5k times · Source

I'm using qt 4.8.0 on windows 7. When I open qt designer and create widget in it, I cannot set 'Lay Out in a vertical/horizontal in Splitter'. Also there is no Splitter in a Layouts widget box. All other layouts are working well.

Have anyone run into same or similar problem?

Answer

Chris picture Chris · May 8, 2012

You need to select two or more widgets and then use the layout -> vertical/horizontal splitter option. This will give designer enough context to be able to perform the operation.

Also note that the selected widgets cannot be part of a layout already. If they are, you need to break the layout first (layout->Break Layout in context menu).