Skeleton for creating kernel extensions for Mac OS X using Qmake
For testing the generated kext, you must request a Developer ID Certificate, because even with SIP disabled, codesigning is still required.
After compiling the kext, you must change the owner to root:wheel:
sudo chown -R root:wheel QmakeKext.kext
And then load the kext with:
sudo kextload -v QmakeKext.kext
If the kext is not signed, kextload will fail.