Skip to content

Instantly share code, notes, and snippets.

View DracFiendMG's full-sized avatar
🏠
Working from home

DracFiendMG

🏠
Working from home
View GitHub Profile
@andreybutov
andreybutov / qt_start_automatically.cpp
Last active February 17, 2023 04:57
How do I make my Qt app start automatically at login?
//
// How do I make my Qt app start automatically at login?
// This solution is for Windows and Mac. It was tested with Qt 5.5.
//
// - Andrey Butov ( andreybutov.com )
//
void setAppToStartAutomatically ( bool startAutomatically )
{
#if defined ( Q_OS_MAC )