QT Application hangs after 6 to 8 minutes when run in startup mood
-
I have installed QT 5-9.5 version on SDR board AD9361 and designed Application on it.
When I run application directly like this" $./myApplication " then it worked . But when I run application through startup then it goes hang after 6 to 8 minutes. I search on google but unable to find a solution. -
@Pablo-J-Rogina
Thank you for your response,
I have checked same application in both cases. Goes to hang only when run in startup mode. Even when I run the script in command terminal then also it works fine. Problem is only occur when run in startup.following is the script
" #!/bin/sh
cd /home/analog/Documents/master/
./myProject
"@Mijaz said in QT Application hangs after 6 to 8 minutes when run in startup mood:
./myProject
Maybe
./myProject &
?
-
I have installed QT 5-9.5 version on SDR board AD9361 and designed Application on it.
When I run application directly like this" $./myApplication " then it worked . But when I run application through startup then it goes hang after 6 to 8 minutes. I search on google but unable to find a solution.@Mijaz said in QT Application hangs after 6 to 8 minutes when run in startup mood:
When I run application directly like this" $./myApplication " then it worked . But when I run application through startup then it goes hang after 6 to 8
You need to check what the differences are in those cases.
Is the same user launching the Qt app?
Are the environment variables identical? and so on
In addition, please post the script you use to launch you Qt app on startup and the command you use to launch it "directly" -
@Mijaz said in QT Application hangs after 6 to 8 minutes when run in startup mood:
When I run application directly like this" $./myApplication " then it worked . But when I run application through startup then it goes hang after 6 to 8
You need to check what the differences are in those cases.
Is the same user launching the Qt app?
Are the environment variables identical? and so on
In addition, please post the script you use to launch you Qt app on startup and the command you use to launch it "directly"@Pablo-J-Rogina
Thank you for your response,
I have checked same application in both cases. Goes to hang only when run in startup mode. Even when I run the script in command terminal then also it works fine. Problem is only occur when run in startup.following is the script
" #!/bin/sh
cd /home/analog/Documents/master/
./myProject
" -
@Pablo-J-Rogina
Thank you for your response,
I have checked same application in both cases. Goes to hang only when run in startup mode. Even when I run the script in command terminal then also it works fine. Problem is only occur when run in startup.following is the script
" #!/bin/sh
cd /home/analog/Documents/master/
./myProject
"@Mijaz said in QT Application hangs after 6 to 8 minutes when run in startup mood:
./myProject
Maybe
./myProject &
?
-
@Mijaz said in QT Application hangs after 6 to 8 minutes when run in startup mood:
./myProject
Maybe
./myProject &
?
-
@Mijaz You should try. I don't know how the script is called, could be that it will not make a difference. But worth trying it.