Page 1 of 1

QT Irrlicht SVN bug

Posted: Sat Mar 07, 2020 10:52 pm
by netpipe
qt no longer works with irrlicht in SVN branch

Re: QT Irrlicht SVN bug

Posted: Sun Mar 08, 2020 10:09 am
by CuteAlien
Do you have any more info? Are there compile-bugs? Does anything behave wrong - like does it not render anymore?

Re: QT Irrlicht SVN bug

Posted: Sun Mar 08, 2020 8:47 pm
by netpipe
application just crashes, its fairly new within last month

Re: QT Irrlicht SVN bug

Posted: Sun Mar 08, 2020 8:51 pm
by CuteAlien
You don't know the line where it crashes? Or have some example?
Is this on Windows?

Re: QT Irrlicht SVN bug

Posted: Mon Mar 09, 2020 1:48 pm
by netpipe
https://github.com/netpipe/IrrlichtDemo ... aster/GUIs the qt demo's from here do it also my cannachat client https://github.com/netpipe/cannachat this was on linux would suspect its same for windows.

Re: QT Irrlicht SVN bug

Posted: Tue Mar 10, 2020 1:19 am
by CuteAlien
OK, guess I have to try to set up a Qt environment to test (I never used the combination of Irrlicht + Qt before). Will probably take a bit. I hope the qtIrrlicht in your examples will allow to reproduce it. I see .pro files in there - are you using that? With QtCreator or direclty with qmake?

Re: QT Irrlicht SVN bug

Posted: Tue Mar 10, 2020 11:22 am
by netpipe
compiles with qmake and qtcreator. you might have to change the .pro file to reflect your lib paths

Re: QT Irrlicht SVN bug

Posted: Tue Mar 10, 2020 6:49 pm
by CuteAlien
OK, thanks.

Re: QT Irrlicht SVN bug

Posted: Tue May 19, 2020 4:17 pm
by netpipe
irrlicht svn does not have it working still, i might have to look too now.

https://sourceforge.net/p/irrlicht/bugs/447/

Re: QT Irrlicht SVN bug

Posted: Tue May 19, 2020 5:09 pm
by CuteAlien
Yeah, still on my todo (still have to get the examples running on Linux. Sorry, little experience with Qt/qmake on Linux so I might have lost motivation a bit too quickly on that).

Re: QT Irrlicht SVN bug

Posted: Sun May 24, 2020 3:24 pm
by CuteAlien
OK, I tried again today. Unfortunately so far no success in reproducing a crash.

I used your example IrrlichtDemos/GUIs/qtIrrlicht. Result is a close-up rendering of an animated 3d figure (which looks a bit strange because camera is half in the model). And X11 errors (GLXBadDrawable) because there seems to be a second device started with burnings renderer which somehow doesn't work like that.
But I did go back until revision r6008 (which is half a year old) and the behaviour was exactly the same.

JLouisB also did some test recently on Windows and also didn't get any crashes.

So either that example works or it's something which I can't reproduce with my Qt version here (Debian stable system which has probably Qt5.11.3).

I thought a bit about what could cause the troubles for you. A bit older than you suspect, but one change which can maybe cause troubles is that X11 currently no longer has resizable windows by default (which may change again before release, especially if that causes the problem here). To check if that is your bug please add set WindowResizable in SIrrlichtCreationParams (the parameter for createDeviceEx) to true for testing.