Qt binding
Posted: 19 Jan 2017, 10:06
We are trying to make Qt binding for NoesisGui and we ran into a problem.
The test binding code is being built upon Qt OpenGL example code: https://doc.qt.io/qt-5/qtgui-openglwindow-example.html
The app runs with very high CPU usage and crashes when closing. Do you maybe have any suggestions on how to overcome this problem?
From previous thread:
Source code: https://github.com/ZeroPass/NoesisGui-Qt-Binding
NoesisGui SDK version: 1.3.0b4
Render device: GLRenderDevice (provided by sdk)
Note: Binding works correctly with Noesis v1.2
The test binding code is being built upon Qt OpenGL example code: https://doc.qt.io/qt-5/qtgui-openglwindow-example.html
The app runs with very high CPU usage and crashes when closing. Do you maybe have any suggestions on how to overcome this problem?
From previous thread:
Yes, rendering output is correct but the CPU usage is very high. This is probably because Qt executes everything within the main thread. I've tried to put rendering device on the separate thread without any success. Also when trying to close the application it crashes or it never finishes executing. This occurs when trying to release m_view in the destructor.Also I need more information about the crash. Is the rendering output correct?
Source code: https://github.com/ZeroPass/NoesisGui-Qt-Binding
NoesisGui SDK version: 1.3.0b4
Render device: GLRenderDevice (provided by sdk)
Note: Binding works correctly with Noesis v1.2