Styling/transparency on a QQuickView



  • Hello,

    I am trying to build a Heads Up Display for my Qt C++ app. Currently the HUD is a QQuickView, I cannot figure out how to style this or make it transparent or have no title bar. I would like to make it transparent because I want the QML file I'm trying to load to be translucent. I don't believe I can make my QML translucent until I make the underlying window (QQuickView) transparent. How can I make the QQuickView transparent? Should I even be using QQuickView for this?

    Thanks!


  • Moderators

    @
    view,setFlags(Qt::FramelessWindowHint);
    view.setColor(QColor(0, 0, 0, 0));
    @


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.