Setup Win32 autostart by QT
Example code to use QSettings to setup windows auto start.
QSettings settings(QSettings::NativeFormat, QSettings::UserScope, "Microsoft", "Windows");
settings.setValue("/CurrentVersion/Run/testprogram", argv[0]);
Example code to use QSettings to setup windows auto start.
QSettings settings(QSettings::NativeFormat, QSettings::UserScope, "Microsoft", "Windows");
settings.setValue("/CurrentVersion/Run/testprogram", argv[0]);
No comments:
Post a Comment