怎么让Qt Quick的背景透明啊。。
用qml编写的程序默认的有个白色背景,怎么去掉这个背景让它透明啊。
[解决办法]
已经解决:
viewer.setAttribute(Qt::WA_TranslucentBackground);
viewer.setStyleSheet("background:transparent;");
发布时间: 2012-09-01 09:33:03 作者: rapoo
怎么让Qt Quick的背景透明啊。。
用qml编写的程序默认的有个白色背景,怎么去掉这个背景让它透明啊。
[解决办法]
已经解决:
viewer.setAttribute(Qt::WA_TranslucentBackground);
viewer.setStyleSheet("background:transparent;");