i'm building my personal embedded OS that execute a gui at startup in less than 4 seconds. I didn't installed X.org platform because Qt can run over linuxfb without a Desktop Environment. If i launch my PyQt application or the native analogclock example from terminal all works fine. But if i insert the command to launch these applications in /etc/inittab, they don't start until i insert some input device, such as keyboard mouse, or USB. It's a very strange situation and i really hope that you can tell me what i'm wrong. Thank you, Alberto
Asked
Active
Viewed 221 times
2
-
I'm not sure if the root of the problem is the same but I wasn't able to run my pyqt5 app on startup too. Then I noticed that even if I set QT_QPA_PLATFORM=linuxfb and run another script which eventually would run my app, QT wouldn't run on linuxfb. So I moved my "export QT_QPA_PLATFORM=linuxfb" right before "python main.py" and it worked. Still don't know what causes this bug like problem but this workaround works for now. – Muhammed B. Aydemir Feb 25 '20 at 13:52
-
In your case, it seems like a slightly different problem, you could try to run your app with export QT_LOGGING_RULES="*=true" and maybe get some insight on whats going on. – Muhammed B. Aydemir Feb 25 '20 at 13:54
-
Thank you for your reply. Where should i insert it? – Alberto Mercurio Feb 26 '20 at 15:07
-
right before you start your app in /etc/inittab – Muhammed B. Aydemir Feb 26 '20 at 15:14
-
@AlbertoMercurio. Did you found a way for this finally? – IMAN4K Apr 03 '20 at 06:59