Error when running scide built from source on Ubuntu 24.04

I’ve followed the instructions on github wiki and when I try to run scide I get the error:

[4861:4861:0116/] Check failed: . : Permission denied (13)

I’ve run it through gdb and got this backtrace:

Thread 1 "scide" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff09d7a13 in logging::LogMessage::~LogMessage() () from /lib/x86_64-linux-gnu/
(gdb) bt
#0  0x00007ffff09d7a13 in logging::LogMessage::~LogMessage() () at /lib/x86_64-linux-gnu/
#1  0x00007ffff09d8b15 in logging::ErrnoLogMessage::~ErrnoLogMessage() () at /lib/x86_64-linux-gnu/
#2  0x00007ffff175d6fd in sandbox::Credentials::CanCreateProcessInNewUserNS() () at /lib/x86_64-linux-gnu/
#3  0x00007ffff2dec876 in content::ZygoteHostImpl::Init(base::CommandLine const&) () at /lib/x86_64-linux-gnu/
#4  0x00007ffff04cc478 in content::ContentMainRunnerImpl::Initialize(content::ContentMainParams const&) () at /lib/x86_64-linux-gnu/
#5  0x00007fffee88d23a in QtWebEngineCore::WebEngineContext::WebEngineContext() () at /lib/x86_64-linux-gnu/
#6  0x00007fffee88ec14 in QtWebEngineCore::WebEngineContext::current() () at /lib/x86_64-linux-gnu/
#7  0x0000555555ae4850 in ??? ()
#8  0x0000000000000000 in ??? ()

Does anyone have any idea of what is wrong? It used to run perfectly on Ubuntu 22.04 but the update to Ubuntu 24.04 broke it.
Not sure if related , but Steam games also got broken with Ubuntu 24.04 which was fixed with setuid of bwrap, a kind of sandbox/namespace binary.

I’ve tried recompiling it to no avail.

A kind of fix is to run it with:

QTWEBENGINE_DISABLE_SANDBOX=1 /usr/local/bin/scide

But maybe there should be a build flag. Or the problem is in 24.04 and some apparmor configuration for qtwebengine library is needed, if that is even possible.