StupidBeauty
Read times:529Posted at:Thu May 10 19:27:29 2012
- no title specified

QPixmap: Cannot create a QPixmap when no GUI is being used

碰到这个错误提示,表示妳现在是在X11平台,并且你的程序在没使用QT的GUI模块的情况下使用咯QPixmap。如果实在不想用GUI模块,则可以考虑使用QImage来代替QPixmap,因为在X11平台上,它是存储在客户端的,而不像QPixmap是存储在服务器端的。

参考这里:http://www.thisisqt.com/forum/viewthread.php?tid=267

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4