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. X to close dialog disabled with Qt 5
Forum Updated to NodeBB v4.3 + New Features

X to close dialog disabled with Qt 5

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 606 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.
  • W Offline
    W Offline
    wssddc
    wrote on last edited by
    #1

    I just noticed that the X in the upper right hand corner to close a window is disabled in many of my dialogs. I can enable it by setWindowFlags(Qt::Window). This is also true for getFontDialog, where it's not so easy to fix. On the other hand, getColorDialog is ok. Based on the Qt versions I have installed, this change happened after 4.8.4; I see it in 5.0.2 and 5.1.0rc2. I'm running Windows 7, 64-bit with various combinations of 32/64-bit Qt, MinGW and VC++ 2010/2012. What's the expected behavior if WindowFlags are not explicitly set?

    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