Showing posts with label qt. Show all posts
Showing posts with label qt. Show all posts

Wednesday, April 23, 2008

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]);