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(QStringLiteral("qml/FrameLess/Toolbar.qml")); 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