Crash when creating QT QList
I am trying to create a simple QT QList of type QLine, but every time I compile & run it on Windows I get an exception:
Q3DSurface only paints half of the given range of data
I have a Q3DSurface which draws a surface every 100 milliseconds with a time dependent function. The problem is only a quarter of my data is drawn every time. Here is the function that I use to generate my data.
QT Application crashes when I use QMediaPlayer
I am trying to make use of the QMediaPlayer in QT 6, but unfortunately it crashes my app instantly. The weird thing is that the app does not even instantiate the QMediaPlayer and still crashes. I have a main window that when a button will be pressed, the QMediaPlayer should instantiate in another window. When I start the application, the main window is the first one that is created. Now, another weird thing is that I need to comment the lines of code that contain the QMediaPlayer and delete the folder that creates when I build the app (“build-F1App-Desktop_Qt_6_8_0_MSVC2019_64bit-Debug”) <- this one, in order for the application to start again, otherwise it will still crash instantly. If I will try to debug the app, an error will occur: “CDB process terminated”. I really do not understand what is wrong with it. Thank you in advance for any help!