If you want to run a program that requires superuser / admin privileges, you generally need to start the shell that runs the program with those privileges. That means running Qt Creator itself via sudo (or "Run as Administrator" in Windows), or configuring the run command in Qt Creator to run the program via sudo. I'm not sure how you would do it in Windows; I usually just set up a shortcut so it runs Qt Creator with elevated permission.
Bookmarks