How to add discord game sdk to a QtWidgets app using cmake
Unsolved
General and Desktop
-
wrote on 22 Feb 2025, 11:46 last edited by
Hello, I terribly suck at linking/adding libraries with cmake but I wanted to add discord rich presence to my qt app since it interacts with a game. I found that discord provides a SDK also for C++ but the instructions for using it are limited to a generic C++ project, not a multiplatform one like with cmake. So I was wondering if anyone could help me set it up or give me some advices on how to do it. Thanks
This is the link to their documentation.
-
Hi,
A quick search for discord SDK cmake turns two project on GitHub that proposes cmake integration for the SDK. You should check them.
1/2