Hello,I modified the ANDROID_PLATFORM to android-34 in CMake in qt creator and this issue was solved. However, when executing vtkRenderer::Render() or vtkRenderWindow::Render(), sigment faul occurs and crashes.
This is called directly in the main function of qt quick:
I libappVTKreldeb_arm64-v8a.so: vtkNew<vtkRenderWindow>renw start render
W VTK : Warning: In vtkEGLRenderWindow.cxx, line 375
W VTK : vtkEGLRenderWindow (0xb400007622680900): Setting an EGL display to device index: -1 require EGL_EXT_device_base EGL_EXT_platform_device EGL_EXT_platform_base extensions
06-26 17:35:21.669 15585 7818 W VTK :
W VTK : Warning: In vtkEGLRenderWindow.cxx, line 377
W VTK : vtkEGLRenderWindow (0xb400007622680900): Attempting to use EGL_DEFAULT_DISPLAY...
06-26 17:35:21.669 15585 7818 W VTK :
F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x98 in tid 7818 (qtMainLoopThrea), pid 15585 (le.appVTKreldeb)
D ContentCatcher_injector: Interceptor : notifyActivityPause: org.qtproject.example.appVTKreldeb@org.qtproject.qt.android.bindings.QtActivity@113508424
D ContentCatcher_catcher: CatcherHolder : mCatcherList size: 0
I also tried the NativeVTK example, but the prompt app_dummy is undefined.Android Samples with latest ndk update fails due to deprecated app_dummy().I know that it is very difficult to combine qt and vtk, please let me know if there is a solution and I will also upload my progress at the same time.