QT Irrlicht SVN bug

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
netpipe
Posts: 670
Joined: Fri Jun 06, 2008 12:50 pm
Location: Edmonton, Alberta, Canada
Contact:

QT Irrlicht SVN bug

Post by netpipe »

qt no longer works with irrlicht in SVN branch
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: QT Irrlicht SVN bug

Post by CuteAlien »

Do you have any more info? Are there compile-bugs? Does anything behave wrong - like does it not render anymore?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
netpipe
Posts: 670
Joined: Fri Jun 06, 2008 12:50 pm
Location: Edmonton, Alberta, Canada
Contact:

Re: QT Irrlicht SVN bug

Post by netpipe »

application just crashes, its fairly new within last month
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: QT Irrlicht SVN bug

Post by CuteAlien »

You don't know the line where it crashes? Or have some example?
Is this on Windows?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
netpipe
Posts: 670
Joined: Fri Jun 06, 2008 12:50 pm
Location: Edmonton, Alberta, Canada
Contact:

Re: QT Irrlicht SVN bug

Post 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.
Last edited by netpipe on Fri May 29, 2020 10:08 pm, edited 1 time in total.
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: QT Irrlicht SVN bug

Post 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?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
netpipe
Posts: 670
Joined: Fri Jun 06, 2008 12:50 pm
Location: Edmonton, Alberta, Canada
Contact:

Re: QT Irrlicht SVN bug

Post by netpipe »

compiles with qmake and qtcreator. you might have to change the .pro file to reflect your lib paths
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: QT Irrlicht SVN bug

Post by CuteAlien »

OK, thanks.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
netpipe
Posts: 670
Joined: Fri Jun 06, 2008 12:50 pm
Location: Edmonton, Alberta, Canada
Contact:

Re: QT Irrlicht SVN bug

Post by netpipe »

irrlicht svn does not have it working still, i might have to look too now.

https://sourceforge.net/p/irrlicht/bugs/447/
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: QT Irrlicht SVN bug

Post 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).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: QT Irrlicht SVN bug

Post 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.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply