Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QPrintPreviewDialog close button does not work on Mac OSX
Qt 6.12 LTS is out! See what's new in the release blog

QPrintPreviewDialog close button does not work on Mac OSX

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

    Hello,

    I am using the QPrintPreviewDialog with Qt5.1 on Mac OSX. The system menu buttons appear but the close and minimize buttons are not usable, only the maximize button works.

    this is how I open the dialog

    @
    QPrintPreviewDialog preview(&printer, this, Qt::WindowFullscreenButtonHint|Qt::WindowSystemMenuHint|Qt::WindowMinMaxButtonsHint|Qt::WindowCloseButtonHint);
    @

    I can't think of any other hints that might help, are there any?
    I end up with a dialog I can't dismiss :-(.

    has anyone else seen this, is my code wrong, do I need to do anything else?

    I would appreciate any suggestions.
    Many thanks.

    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
    • Unsolved