Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtQuick2 and setWindowFlags (Qt5.1)
Forum Updated to NodeBB v4.3 + New Features

QtQuick2 and setWindowFlags (Qt5.1)

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hykkel
    wrote on last edited by
    #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();
    

    }@

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hykkel
      wrote on last edited by
      #2

      Found it! It is now called setFlags().

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved