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. QDialog can't show after setting 'setWindowFlags(Qt::CustomizeWindowHint | Qt::Dialog)'
Forum Updated to NodeBB v4.3 + New Features

QDialog can't show after setting 'setWindowFlags(Qt::CustomizeWindowHint | Qt::Dialog)'

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 248 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.
  • C Offline
    C Offline
    chris_rookie
    wrote on 4 Dec 2019, 09:02 last edited by
    #1

    like the title

    J 1 Reply Last reply 4 Dec 2019, 09:03
    0
    • C chris_rookie
      4 Dec 2019, 09:02

      like the title

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 4 Dec 2019, 09:03 last edited by
      #2

      @chris_rookie You're deleting all other flags except these two.

      setWindowFlags(windowFlags() | Qt::CustomizeWindowHint | Qt::Dialog)
      

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 1 Reply Last reply 4 Dec 2019, 09:17
      3
      • J jsulm
        4 Dec 2019, 09:03

        @chris_rookie You're deleting all other flags except these two.

        setWindowFlags(windowFlags() | Qt::CustomizeWindowHint | Qt::Dialog)
        
        C Offline
        C Offline
        chris_rookie
        wrote on 4 Dec 2019, 09:17 last edited by
        #3

        @jsulm
        Thank you. It works.

        1 Reply Last reply
        0

        1/3

        4 Dec 2019, 09:02

        • Login

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