Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

target: Qt embeds osg for rendering. Use the osgQOpenGLWidget control to place into the QTabWidget control, a multi-page control that serves as the central widget of the QMainWindow subclass. Finally, ...
ZH Huang's user avatar
2 votes
2 answers
176 views

I would like to use a QOpenGLWidget in QT to create fast line plots. These plots are to be provided with some labels, for which I am currently using QPainter with drawText(). In various examples, the ...
Oliver Nemitz's user avatar
0 votes
0 answers
91 views

I have have hit a roadblock as my mix of knowledge of Python, OpenGL and googling is not enough to find a solution to the following problem. I need to use multiprocessing (or a spawn instance of ...
Charlie Iturriaga's user avatar
0 votes
0 answers
147 views

I implemented a glRender class which subclassed QOpenGLWidget to display YUV data from a H264 decoder (1920x1080@60fps). The problem is that the OpenGL drawing process takes about 60% of processing ...
Edmond's user avatar
  • 173
0 votes
0 answers
217 views

I run the qt official example "2dpainting" in "C:\Qt\Examples\Qt-5.12.2\opengl\2dpainting". When I set the graphics card (Intel(R) UHD Graphics, it is the graphics card that ...
James Xue's user avatar
0 votes
1 answer
138 views

I am trying to read the color buffer content of the default framebuffer in PyQt5 using pixel buffer object given by the Qt OpenGL framework. It looks like the reading is unsuccessful because the end ...
MarsaPalas's user avatar
0 votes
0 answers
104 views

I've been trying to draw a simple 3d square but I'm getting nothing. From my understanding I'm setting it up correctly. There's a context, vao and vbo with vertex data allocated to it, and the ...
symanoz's user avatar
  • 81
1 vote
0 answers
289 views

I am trying to use OpenGLES in a desktop platform. I have a class whose name is GraphicsViewer which is derived from QOpenGLWidget. When I set the QSurfaceFormat::renderableType to QSurfaceFormat::...
iammetehan's user avatar
0 votes
0 answers
220 views

I'm building an app which uses Qt5 that aims to display a video from a digital camera (using Gstramer pipeline). Then with the help of QPainter I'm drawing some graphics on top of it (some text shapes,...
Omer's user avatar
  • 456
0 votes
0 answers
55 views

I'm working on my ssr demo so I need to store some rendering data to textures for post-process.But when I use these textures,it seems like in paintGL only one texture-unit can be actived: //I did a ...
laser_zd's user avatar
1 vote
2 answers
627 views

I have working application done using QtCreator. My render class is GLRendWindow::GLRendWindow(QWidget *parent): QOpenGLWidget(parent) Now I would like to draw objects using arrays with coordinates ...
rainbow's user avatar
  • 1,313
0 votes
2 answers
755 views

Can anyone tell me why the following code in my paintGL does not draw when using the DrawArrays function? I'm using Qt 5.14.2 in Qt Creator on the last Windows 10. A few comments; I'm experimenting to ...
stevereine's user avatar
1 vote
1 answer
293 views

I m trying to build a gui with Pyqt5. and withing the gui there is an openGLwidget, that should contain a rotating cube. But i cannot figure out how to make the cube rotate. Thank you. this is the ...
Nadsah's user avatar
  • 129
1 vote
0 answers
845 views

I wrote a little application, which replaces the cursor with a hand drawn cursor. Therefor i used a QOpenGlWidget. For the animation i use the frameSwapped signal: connect(this, SIGNAL(frameSwapped()...
moritz's user avatar
  • 464
0 votes
1 answer
364 views

I am working on updating an application for a client. They use Qt and currently use a QGLWidget to display a full-screen view of 1 of 4 possible cameras selected by clicking the appropriate radio ...
muench's user avatar
  • 3
1 vote
0 answers
944 views

My main.cpp int main(int argc, char *argv[]) { QApplication a(argc, argv); QSurfaceFormat format; format.setDepthBufferSize(24); format.setStencilBufferSize(8); format.setVersion(...
Syaiful Nizam Yahya's user avatar
0 votes
1 answer
451 views

I'm new in Qt and I'm making an app that generates a 3D object with some points the user provides in GUI. The user defines the points and then, in the same window, a QOpenGLWidget paints the final ...
mpb's user avatar
  • 1
3 votes
0 answers
525 views

I would like to have an opaque QWidget in a transparent QMainWindow. The QMainWindow's centralWidget contains a QWidget and a QOpenGLWidget in a vertical layout. The QOpenGLWidget is drawing correctly ...
TheShiftingInt's user avatar
0 votes
1 answer
477 views

I use Qt to create a 3D program with GLEW. I have a problem when I call glewInit() from run-time creating Widget. I create an inherited class , MyRender, based on QOpenGLWidget. Then, implemented ...
MooMoo's user avatar
  • 1,126
1 vote
1 answer
363 views

I'm trying to integrate Qt5 and OpenSceneGraph. I've found this minimal example of embedding. When I encapsulate the widget, defined in the example, into a QDockWidget and add a simple text label to ...
user20679's user avatar
  • 442
0 votes
1 answer
706 views

I have a simple UI with a button, after pressing the button I should open a new window where OpenGL stuff should be drawn. I'm trying to do this with QOpenGLWidget but the InitializeGL() and paintGL() ...
theUnkownName's user avatar
0 votes
0 answers
66 views

I have a parent window that has a QStackedLayout layout, using QStackedLayout::All mode, with a QOpenGlWidget at the bottom to render the video. The top layer is a custom QWidget C that rewrites the ...
KeepSmile's user avatar
0 votes
0 answers
292 views

For a kind of CAD application I first create a QWidget (intended as a 2D editor) with mouse tracking enabled in a tab of QTabWidget. Drawing and moving lines is super fast as expected. Next I create ...
Maximilian Rixius's user avatar