This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Starting a QT program at boot up

Other Parts Discussed in Thread: AM1808, TEST2

Hi,

I have a LOGIG-PD AM1808 EVM.

I have replaced the link to  the calculator program in the Matrix GUI to my own Qt program.

By clicking the respective icon in the Matrix GUI, the Qt page I have created opens, the buttons are getting clicked but it does not execute anything.

I added this program in the rc5.d also but still the same result.

If I start this same program from command prompt, it functions properly.

When I googled I found something called headless server etc. Can someone suggest how to deal with it?

regards,

Kalimuthu C

 

 

 

  • Hi Kalimuthu,

    I'm not clear from your email what you are trying to do.  Do you want to Launch your own QT application from Matrix GUI?

    The buttons on your QT program are not working when launched from Matrix GUI?

    Have you already looked at this wiki article which show how to add your own applications to Matrix GUi? http://processors.wiki.ti.com/index.php/Matrix_Users_Guide#How_to_Customize_the_Matrix_GUI

     


  • Hi Kalimuthu,

    If you want to run your own GUI at bootup instead of Matrix. Are you disabling Matrix? You can use the Runlevel Linux interface to start your app running at runLevel 5.

  • Hi Jeff,

    I have done 2 tests.

    Test1:

    There are so many icons (buttons) in the matrix. One of the icon is the link for calculator program. I just changed this link to my program. In my program I have two buttons. One button will activate the certain GPIOs in a fashion and the staus of the GPIOs are updated in the two QLineEdit fields. The other button will reset the GPIOs in a different fashion.

    Now if I click the icon, the main window with two buttons and two line edit fiels is opening. If I click the buttons, the button getting focus, the clicking animation (button going down and then coming up) all happens. But the sequence programmed for the buttons is not happening.

    If I run the same program from command prompt, from the terminal, the program runs without any problem.

    Test2:

    I just commented the matrix itself and replaced it with the the path to my program. And if I restart, the results are same as the above.i.e. the window opens but no actions for buttons. But the program runs without any problem if I run from the command prompt now also.

    Hope I have made my points clear.

    regards,

    Kalimuthu C

  • Kalimuthu,

    I do not know what is going on with your QT application.  Can you add some debug print statements in the GPIO code to see what is happening there under the conditions where the nothing happens.