Qt Forum

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

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

    General and Desktop
    qdesktopwidget
    2
    4
    1252
    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.
    • blueplantpot
      blueplantpot last edited by blueplantpot

      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 Reply Quote 0
      • M
        mcosta last edited by

        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/)

        blueplantpot 1 Reply Last reply Reply Quote 1
        • blueplantpot
          blueplantpot @mcosta last edited by

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

          1 Reply Last reply Reply Quote 0
          • M
            mcosta last edited by

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