[SOLVED] File standard system editor
-
I have some doc file with description of my program and I need to open it as standard help by pressing F1 key. I understand that I must start some process which opens my file. But I don't know standard editor for doc-type files. So in Windows it can be MS Word or Wordpad in Linux - Open Office Writer. The question is: How to get the path of standard editor of my file ?
-
you could use "QDesktopServices::openUrl":http://doc.qt.nokia.com/latest/qdesktopservices.html#openUrl to achieve this
-
Thanks, Gerolf it's helped.
-
You can also include the "help framework":http://developer.qt.nokia.com/doc/qt-4.7/qthelp-framework.html that's provided by Qt. You can find a simple example "here":http://developer.qt.nokia.com/doc/qt-4.7/examples-helpsystem.html