Title
#general
abhatem

abhatem

12/01/2020, 3:33 PM
hey all, so I'm trying to create a small qt program (c++) and need to query some info from osquery. what would be the best approach to do this? is there a similar interface as the python package for c++?
terracatta

terracatta

12/01/2020, 4:18 PM
If the information you need is well-scoped and likely won't change, it might be easier to just lift the C++ generating the info right our of osquery itself!
abhatem

abhatem

12/01/2020, 7:58 PM
@zwass will I have to build osquery for this?
7:59 PM
@terracatta thank you for the idea, I think I'd still prefer using osquery for it
zwass

zwass

12/01/2020, 8:00 PM
No, you use the SDK to build a separate binary that can communicate with osquery over sockets (or pipes on windows)
abhatem

abhatem

12/01/2020, 8:26 PM
@zwass thank you very much. I'm assuming I have to look under "Building external extensions" in that page. is there a qt/qmake friendly version of this process? or do I have to use cmake?