PDA

View Full Version : Can't drop a widget in designer - solution



heathbar82
22nd November 2006, 09:16
Problem:
I had a problem with designer in qt 4.2.1. I could drag a widget from the toolbox but it would disappear when dropped on a form. I also had this error in the console:
Xlib: extension "SHAPE" missing on display

Solution:
I added the following line to the modules section of my xorg.conf:
Load "extmod"

This loads a bunch of basic extensions including the shape extension. Now I can drag and drop properly in designer.

Hope this helps anyone who was having this same problem.

e8johan
22nd November 2006, 10:59
Thanks for sharing this. Perhaps you could add this tip to the wiki.

SpamHater
24th July 2012, 16:47
Problem:
I had a problem with designer in qt 4.2.1. I could drag a widget from the toolbox but it would disappear when dropped on a form. I also had this error in the console:
Xlib: extension "SHAPE" missing on display

Solution:
I added the following line to the modules section of my xorg.conf:
Load "extmod"

This loads a bunch of basic extensions including the shape extension. Now I can drag and drop properly in designer.

Hope this helps anyone who was having this same problem.

While I realize this is an ancient thread, I'ma reply to this anyhow. I recently had this same exact problem (unable to drag and drop in designer) on the latest Kubuntu 12.04 and this solved it! Anyone else having this problem, check your xorg.conf and ensure that you have a "Modules" section, and that it contains the Load "extmod" line mentioned in the above post.