I'm working on a QML application for an embedded platform which includes a GridView widget containing images. It's important for me that scrolling through the GridView will be smooth and will not put load on the CPU. Can I expect Qt to use OpenGL to render the GridView?
相关问题
- QML: Cannot read property 'xxx' of undefin
- QML: Cannot read property 'xxx' of undefin
- Is GLFW designed to use without LWJGL (in java)?
- QTextEdit.find() doesn't work in Python
- glDrawElements only draws half a quad
相关文章
- ubuntu20.4中c#通过c++库调用python脚本
- Qt槽函数自动执行多遍
- Converting glm::lookat matrix to quaternion and ba
- Is there a non-java, cross platform way to launch
- How to get a settings storage path in a cross-plat
- Why doesn't valgrind detect a memory leak in m
- Behavior of uniforms after glUseProgram() and spee
- Keep constant number of visible circles in 3D anim
By default Qt does not use the OpenGL render backend. You can enforce it by using a QGlWidget. In your case, as you want to use a stock widget, you can set the render backend as a command line option:
I faced with the same problem.
haven`t work for me. So i set the OGWidget as a viewport:
and do not forget to add opengl in *.pro file.
Depending on your platform use
or (Symbian)
before you instantiate the QApplication object.