[Qt-interest] QWidget::create issue in x11
机械唯物主义 : linjunhalida
linjunhalida at gmail.com
Fri Aug 6 14:59:42 CEST 2010
I want use qt to control some other windows, so I write this code:
#define protected public //just for test
...
WId id = 0x00000001 //some real wid
QWidget w;
w.create(id, false, false);
w.hide();
after I run this code, the window crashes, and I got:
:X Error: BadAccess (attempt to access private resource denied) 10
I'm using ubuntu10.04 with qt4, anyone has sample in QWidget::create?
http://stackoverflow.com/questions/3423013/qwidget-create-issue-in-x11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100806/bb6103ef/attachment.html
More information about the Qt-interest-old
mailing list