Search code examples
c++linuxqtunreal-engine4

Argument list too long while stack size id unlimited and command size is about 300 kbyte


I'm trying to compile Unreal engine under Sabayon Linux using Qt creator and I always get execv: Argument list too long error.

I've already googled this problem and I've tried to increase stack size by editing /etc/security/limits.conf file. I event set it to unlimited so now getconf ARG_MAX output is 16777216. The command size qt creator is trying to exec is about 300 kbytes.

Please help me to find out what am I doing wrong.


Solution

  • Found the way to fix this. As Frank Osterfeld said, you better compile it like it is described in documentation. And if you want to use Qt creator in your projects, just follow this article.