Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Auto run on windows startup problem

$
0
0
Hi, I want my application automatically launch at windows startup, according to what i founds on internet a key must be added to windows registry. By using code below i added the key. When i open stated directory on registry, key is there. But application doesn’t start on startup. What is wrong? QSettings settings("HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run",QSettings::NativeFormat);       settings.setValue("MyApp", QCoreApplication::applicationFilePath().replace('/','\\'));

Viewing all articles
Browse latest Browse all 13965

Trending Articles