Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

With Qt 5.2, is it possible to make a shaped window with .qml file?

$
0
0
In Qt 4.8, QWidget with QDeclarativeView can make a shaped window, with the QWidget settings:     setWindowFlags(Qt::FramelessWindowHint);     setStyleSheet("background :transparent;");     setAttribute(Qt::WA_TranslucentBackground, true); In Qt 5.2, QQuickView seems different from QDeclarativeView. I tried the same way as in Qt 4.8 but failed. I found Shaped Clock Example. Is it the only way for Qt 5.2 to make a shaped window? Thanks in advance. Cid

Viewing all articles
Browse latest Browse all 13965

Trending Articles