Place QLabel over QOpenGLWidget PySide6, Python: fe2ce83d-3eb7-4144-9459-751fa9c9c565-image.png main.py import sys from OpenGL.GL import (GL_COLOR_BUFFER_BIT, GL_SCISSOR_TEST, glClear, glC...
@slymas glad you found out and thanks for sharing ! :-)
I opened a source code of getScaling and saw how scaling is calculated there: https://glmatrix.net/docs/mat4.js.html#line1197 export function getScaling(out, mat) { let m11 = mat; let m12 = mat;...
Hello everyone, I was just passing by to receive your advice. I want to learn to develop games and I have seen on the internet the Tech Tech University and I find it very interesting because it h...
https://forum.qt.io/topic/155014/i-want-to-study-by-distance-learning-do-you-know-tech
@Michele-Rossi Hi. I see that this thread is extensive, but I would also like to express my opinion. When it comes to Qt and 3D, I can recommend you one chapter of the book Mastering Qt. Chapter...
good. thanks!
https://forum.qt.io/topic/154633/q-qt-c-replacing-material-on-a-qentity
@SGaist Sorry for misleading you. It was not a question. Just a note.
Basically, this is the code, at which the error occurrs: (But it is strange, because this happens indeterministic, or at least quite random after some time... the scene got recreated several tim...
https://forum.qt.io/topic/154583/q-qt-c-unknown-opengl-error
@kevin_d said in Q: Qt - toolTip padding gets lost when showing second time. : > Good, that I know it is not solvable atm. QTBUG-119752 fixed the problem - it works fine for me wit...
https://forum.qt.io/topic/154486/q-qt-c-tooltip-padding-gets-lost-when-showing-second-time
QSound being asynchronous, you would need to pole its state using the isFinished function and then start the next audio item.
https://forum.qt.io/topic/154440/q-qt-c-texttospeech-is-not-working-when-qsound-plays
@kevin_d It needs repainting because it was (partially) obscured and now needs to be shown fully again, normal windows behaviour.....
https://forum.qt.io/topic/154430/q-qt-c-qdialog-gets-repainted-when-overlay-dialog-closes
Pro tip, always and I mean always be very specific with your Context attributes and with your OpenGL state. With ES2/ES3 the context state is manageable it gets bigger with the desktop GL unf...
@arlyn123 said in How to save the state of qml file using c++ : > @jeremy_k how can I use a connection > to actually restore the window that I want to save and to make t...
https://forum.qt.io/topic/154133/how-to-save-the-state-of-qml-file-using-c
@julienchz Hi I have created some opengl tutorials check here: https://bitbucket.org/joaodeusmorgado/opengltutorials/src/master/ I am using QOpenGLWidget, but I use mostly raw opengl, you co...
https://forum.qt.io/topic/152256/custom-opengl-rendering-in-a-qwidget
If you only have one controller, a more flexible approach would be to take the first value returned by the QGamepadManager rather than hard coding it like that. It's not guaranteed that you will ...
https://forum.qt.io/topic/152110/a-problem-with-my-xbox-gamepad-when-i-use-qgamepad
Hello everyone, i've got an issue using Qt 5, C++ and OepnGL. I'm using instanced drawing to draw a tiles grid on my window. To assign the correct texture on each tile, I use a VBO with divisor t...
https://forum.qt.io/topic/151950/issues-with-vbo-to-texture-tiles-on-a-grid
I figured it out, my int offset = i * sizeof(float); should have been int offset = i * sizeof(float) * 4; This makes sense since the offset should be every 4 floats
https://forum.qt.io/topic/148863/transform-data-received-on-shader-looks-different-than-data-sent
I solved the problem with the relative paths to the library! I just added -L before $$PWD like this: INCLUDEPATH += $$PWD/libs/fmod-2.2.21-mingw-64-bit/include LIBS += -L$$PWD/libs/fmod-2.2.21-mi...
https://forum.qt.io/topic/148086/how-to-set-up-the-fmod-audio-library-in-qt-creator-for-android
@SGaist said in How to set up the Bass Audio Library for Qt 6 MinGW : > $$PWD Yes, it works! Thanks! INCLUDEPATH += ".libsbass24-windowsinclude" LIBS += -L$$PWDlibsbass24-windowsx64 LIBS += ...
https://forum.qt.io/topic/148083/how-to-set-up-the-bass-audio-library-for-qt-6-mingw
I found the simples way! I just download these sources: https://github.com/AerialX/openal-soft-android and built it using CMake. The libopenal.so library was created. I created the "Play" button...
https://forum.qt.io/topic/147990/how-to-build-openal-soft-and-set-up-it-in-qt-creator-for-android
I solved the problem! I found the solution here: https://zhuanlan.zhihu.com/p/521028351 self.audioOutput = QAudioOutput() self.mediaPlayer.setAudioOutput(self.audioOutput)
https://forum.qt.io/topic/147961/how-to-play-sounds-using-qmediaplayer