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. <SOLVED>Application with flag "Qt::FramelessWindowHint" did not display in application list in task manager
QtWS25 Last Chance

<SOLVED>Application with flag "Qt::FramelessWindowHint" did not display in application list in task manager

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 2.9k Views
  • 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.
  • L Offline
    L Offline
    Landy
    wrote on last edited by
    #1

    Hi guys,

    i created an app with a mainwindow in Win7, and i set the window flag to "Qt::FramelessWindowHint".
    after that ,i can't find my app in application list in task manager.
    i wanna use flag "Qt::FramelessWindowHint", and at the same time, i want to display my app in app list of task manager.
    i tried some solutions, but they didn't work.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AcerExtensa
      wrote on last edited by
      #2

      Which solutions did you tried?
      Have you tried to create hidden MainWindow and then create your Window with FramelessWindowHint?

      God is Real unless explicitly declared as Integer.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        Landy
        wrote on last edited by
        #3

        Hi,

        what's your meaning of "hidden MainWindow" ?

        [quote author="AcerExtensa" date="1348126524"]Which solutions did you tried?
        Have you tried to create hidden MainWindow and then create your Window with FramelessWindowHint?[/quote]

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AcerExtensa
          wrote on last edited by
          #4

          @int main(..)
          {
          QApplication app(...);
          QMainWindow w;
          w.setWindowTitle(...);
          w.setVisible(false);

          MyWidget widget();
          widget.show();

          return app.exec();
          }@

          God is Real unless explicitly declared as Integer.

          1 Reply Last reply
          0
          • L Offline
            L Offline
            Landy
            wrote on last edited by
            #5

            hi acer,

            i solved this problem.
            the reason is that, i forgot to set window title.
            thank u very much.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              AcerExtensa
              wrote on last edited by
              #6

              Glad i could help you. Please add "[SOLVED]" prefix, left to the topic subject. Thanks!

              God is Real unless explicitly declared as Integer.

              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