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. [SOLVED] Does QT support multiple virtual desktops/Mac Spaces?

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

Scheduled Pinned Locked Moved General and Desktop
qdesktopwidget
4 Posts 2 Posters 1.6k 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.
  • B Offline
    B Offline
    blueplantpot
    wrote on 16 Apr 2015, 09:47 last edited by blueplantpot
    #1

    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,
    Richard

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on 16 Apr 2015, 10:59 last edited by
      #2

      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.

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      B 1 Reply Last reply 16 Apr 2015, 15:26
      1
      • M mcosta
        16 Apr 2015, 10:59

        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.

        B Offline
        B Offline
        blueplantpot
        wrote on 16 Apr 2015, 15:26 last edited by
        #3

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

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mcosta
          wrote on 16 Apr 2015, 15:37 last edited by
          #4

          You're welcome,

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

          Once your problem is solved don't forget to:

          • Mark the thread as SOLVED using the Topic Tool menu
          • Vote up the answer(s) that helped you to solve the issue

          You can embed images using (http://imgur.com/) or (http://postimage.org/)

          1 Reply Last reply
          0

          2/4

          16 Apr 2015, 10:59

          • Login

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