Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    X to close dialog disabled with Qt 5

    General and Desktop
    1
    1
    494
    Loading More Posts
    • 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
      wssddc last edited by

      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 Reply Quote 0
      • First post
        Last post