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. MacOS touchbar in Qt

MacOS touchbar in Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 2.5k Views 2 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.
  • C Offline
    C Offline
    corruptedsyntax
    wrote on last edited by
    #1

    I'm looking to integrate touch bar functionality with a macOS version of my Qt application. Is this supported in the macOS Qt framework, and if so is there an example of integrating this functionality?

    1 Reply Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      AFAIK, there's currently no particular support for that however you can easily integrate Objective-C code with C++.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        AFAIK, there's currently no particular support for that however you can easily integrate Objective-C code with C++.

        C Offline
        C Offline
        corruptedsyntax
        wrote on last edited by
        #3

        @SGaist That's more or less what I was thinking I might need to do. I havent been able to find a good tutorial, I figure I can write some compilation guards and wrap it with a class. How would I export a compiled objective-C lib from Xcode for conditional linking in qt?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          There's no need to do it from Xcode as an external library, you can take a look at the QtMacExtras module to see how to write Objective-C++ code.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • P Offline
            P Offline
            PeterPetrik
            wrote on last edited by
            #5

            Hi, is there any plan to implement support of Touch Bar in QtMacExtras similarly to QMacToolBar support? Thanks

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi and welcome to devnet,

              What kind of support do you have in mind ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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