I need to unload a bunch of driver (kext) at the beginning of my Qt Desktop application on Mac OS. I tried with QProcess, but kextunload requires to have admin privileges. Anyone knows a workaround? Or how to start a QProcess with sudo? I need this to be easy for the end user : one only has to enter the admin password when prompted and the application does the rest.
The problem is apple loading their own driver on a device I want to use with specific driver (FTDI232H with FT2Dxx driver).