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
Forum Updated to NodeBB v4.3 + New Features

Add framework IOKit

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 469 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 13 Jan 2019, 01:05 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 13 Jan 2019, 07:35 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 19 Jan 2019, 04:43 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

        1/3

        13 Jan 2019, 01:05

        • Login

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