I have test your example using Qt5 on Ubuntu, and I have no issue to compile and run such a implementation.
viewer.setStyleSheet("background:transparent");
viewer.setAttribute(Qt::WA_TranslucentBackground);
are working fine for me.
↧








