I am out of office for a few days, and I think read the windows registry may be is better, thank you , I will try!
I am out of office for a few days, and I think read the windows registry may be is better, thank you , I will try!
Better than using QDesktopServices::openUrl()? I don't think so...
Most certainly, openUrl should work on Windows, Mac & Linux, whereas registry approach is Windows specific.
If you don't care your program is Windows specific, then can even use OLE:
Variant MSWord;
MSWord = CreateOleObject("Word.Basic");
MSWord.Exec(Procedure("AppShow"));
MSWord.Exec(Procedure("FileNew") << "Normal");
MSWord.Exec(Procedure("Insert") << "Hello World!");
This way uses an existing instance if available, or loads the application if it's not already running.
Where can I find QCoreSettings? I have downloaded latest Qt open source and commercial versions (trial) but QCoreSettings is not there.
There is no such class in Qt. It's QSettings.
Bookmarks