Pass function keys to webview?
Is there any way to get function keys to work in a webview? For example if I load the following page in firefox, then press F8 it shows the keycode for F8 (119) but when I load it in a qt-based browser the function keys do not work.
Normally function key is controlled by browser (chrome, opera, firefox,..) and It works depending on not webpage but browser. If webpage have control function keys, all browser have compute same action.
So you can implement your own browser using webview. To assign special function key, you can find key value in http://doc.qt.io/qt-5/Qt.html (enum Qt::Key).