QtQuick2 and setWindowFlags (Qt5.1)



  • Hi.

    I'm trying to find the setWindowFlags() function for a new QtQuick application. Any one know where to find it? all I can find is using QDeclarativeView, but I would like to use the new QtQuick2ApplicationViewer generated when you make a new project.

    @#include <QtGui/QGuiApplication>
    #include "qtquick2applicationviewer.h"

    int main(int argc, char *argv[])
    {
    QGuiApplication app(argc, argv);

    QtQuick2ApplicationViewer viewer;
    viewer.??? (would like to use setWindowFlags() here!)
    viewer.setMainQmlFile&#40;QStringLiteral("qml/FrameLess/Toolbar.qml"&#41;);
    
    viewer.showExpanded();
    
    return app.exec();
    

    }@



  • Found it! It is now called setFlags().

    Found it in this thread: "viewthread/23995":http://qt-project.org/forums/viewthread/23995


Log in to reply
 

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