maskwidget.cpp:227: 错误: invalid use of incomplete type ‘const struct QX11Info’
/usr/local/Trolltech/Qt-static-4.4.3/include/QtGui/qpixmap.h:57: 错误: forward declaration of ‘const struct QX11Info’
下面是发生错误的行:
Display *thiDisplay = qApp->desktop()->x11Info().display() ;