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. Add framework IOKit
Qt 6.11 is out! See what's new in the release blog

Add framework IOKit

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 586 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.
  • A Offline
    A Offline
    Albert Huert
    wrote on last edited by Albert Huert
    #1

    How can I add IOKit to my project? I need to get the list of connected USB devices. Is there an example where this frameWork is used? I am using MacOS high Sierra and I have the xCode 9.4.1 version. Thanks

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

      Hi,

      Add LIBS += -framework IOKit to be able to use the framework.

      What kind of example 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
      1
      • A Offline
        A Offline
        Albert Huert
        wrote on last edited by
        #3

        Hi,
        Some example that shows how to get the list of USB devices connected to the computer. As the list that shows "System report-> USB-> USB device tree" on mac.
        Thanks for helping.

        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