Choose toolkit to use when launching Editor on Linux

Hello, I have gtk as well as qt4 and qt5 installed - how is it possible to launch UE4 with a specific toolkit (probably I need to rebuild before)? Which one is the default preferred one?

For me it seems that it defaults to gtk. The ArchLinux package has a CMakeLists patch included which seems to force to qt5 - but it’s all focused on v4.7 - is there now an option or do I need to patch the CMakeLists too?

For 4.8, you can just define LND_BACKEND env var. Set it to qt4, qt5, gtk2 or gtk3, e.g. like this:

LND_BACKEND=gtk2 ./UE4Editor