Hello all,

im developing android application to catch key strokes.
As far as im using real keyboard, all works fine...

However, if i use:
Qt Code:
  1. Keys.onPressed: { JS.keyboardListener(event.key); }
To copy to clipboard, switch view to plain text mode 

them im having the error:
W libInventory_armeabi-v7a.so: Unhandled key code 10036 !

so, does the application use some virtual keyboard which cant handle its keys?
is there a way to convert them into common ones so they will correcspond to real ascii keys?

Basicaly, im just low in c++, therefore what I tried is to install nativeEventFilter, exactly this way (just main.cpp simple approach):
Qt Code:
  1. #include <QAbstractEventDispatcher>
  2. #include <QAbstractNativeEventFilter>
  3.  
  4. class MyAppNativeEventFilter : public QAbstractNativeEventFilter
  5. {
  6. virtual bool nativeEventFilter(const QByteArray &eventType, void *message, long *result) override;
  7. };
  8.  
  9. int main(int argc, char *argv[])
  10. {
  11. QGuiApplication app(argc, argv);
  12.  
  13. // Native Filter
  14. MyAppNativeEventFilter filter;
  15. app.installNativeEventFilter(&filter);
  16.  
  17. return app.exec();
  18. }
To copy to clipboard, switch view to plain text mode 

but it just gives me thre errors while compile:
Qt Code:
  1. C:\Qt\Projects\Sources\Inventory\main.cpp:-1: error: error: undefined reference to 'vtable for MyAppNativeEventFilter'
  2. :-1: error: the vtable symbol may be undefined because the class is missing its key function
  3. :-1: error: linker command failed with exit code 1 (use -v to see invocation)
To copy to clipboard, switch view to plain text mode 

so I would very much kindly like to ask you if you can help me on this issue