[SOLVED] Does QT support multiple virtual desktops/Mac Spaces?

  • Can anyone tell me if QT is able to support multiple virtual desktops. In particular I'm thinking of Mac Spaces.

    Specifically, I would like a notification to fire whenever a user changes the virtual desktop.

    I can't see anything obvious in the QDesktopWidget API. Do I have to resort to native code?

    Many thanks,

  • HI and welcome to devnet.

    I don't think you can do it without accessing Mac native API; seems to be a platform dependent feature.

  • @mcosta Thanks for the quick response. Looks like its not going to be easy using the native API!

  • You're welcome,

    the good thing is that it's easy to mix Objective-C code and C++ Qt

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.