Ui doesn't launch when using openGL widgets.
-
hello.
I am using visual studio 2019 and I am trying to use openGL widget in Qt designer.
But when I use openGL widgets, sometimes when debugging, the Ui doesn't launch. Please watch the video and let me know if there is a solution. thank youhttps://www.youtube.com/watch?v=A9HZM3chl1w&ab_channel=4416cdo
-
@DWJO If you have a problem then post a minimal, compilable example or at least parts of your problematic source code and not a video on youtube!
-
I made the project as Qt Widgets Application and the source code is below. I only used openGL widgets for the ui.
#include "testProject.h"
testProject::testProject(QWidget *parent)
: QMainWindow(parent)
{
ui.setupUi(this);
printf("testProject");
}testProject::~testProject()
{} -
@DWJO said in Ui doesn't launch when using openGL widgets.:
sometimes when debugging, the Ui doesn't launch
Please clarify this. only when debugging?
I might expect such behaviour in an otherwise correct program being debugged since openGL is its own command processing pipeline. think of it as "parallel processing". So, breakpoints in your Qt program might not consistently apply to what's going on in the GPU pipeline.