使用QQuickWidget,设置如下:
quick_widget->setAttribute(Qt::WA_AlwaysStackOnTop);
quick_widget->setClearColor(QColor(Qt::transparent));
使用QQuickWidget,设置如下:
quick_widget->setAttribute(Qt::WA_AlwaysStackOnTop);
quick_widget->setClearColor(QColor(Qt::transparent));