Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a Qt application, I have added it to ~/.config/openbox/autostart.sh like this:

(sleep 5 && /home/user/UI/UI) &

When I start Openbox from terminal, the Qt application opens as a unusable gray box. If I launch xterm on Openbox and then manually start the Qt application, it works fine. What am I doing wrong?

share|improve this question
    
Is this a java app? –  Caleb Jun 16 '11 at 20:21
    
No it's not. It's just a simple Qt app with dependencies to Qt libraries only. –  user44556 Jun 17 '11 at 1:30
    
Qt is a graphical toolkit that you use to create windows and widgets and stuff, but not a programming language. Any idea what language the program is written in? –  Caleb Jun 17 '11 at 7:38
    
C++, compiled on the same system. Even with Hello World this problem occurs. –  user44556 Jun 20 '11 at 2:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.