Results 1 to 2 of 2

Thread: Start Qt Gui Application on start of Embedded Linux device

  1. #1
    Join Date
    Jun 2019
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Start Qt Gui Application on start of Embedded Linux device

    hi there,

    i need to start my application on start of embedded linux device.
    Linux is a custom version :Linux 3.12.10-ti2013.12.01 armv7l
    device has no login screen, it just starts, so i can't use scripts that starts application on login.
    device is here : https://chipsee.com/product/ppca897c/

    i think i have to put some *.sh" script that starts my app but i can't find the right information how to do that?

    thanx in advance

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Start Qt Gui Application on start of Embedded Linux device

    Quote Originally Posted by hakanaktanasis View Post
    i need to start my application on start of embedded linux device.
    Linux is a custom version :Linux 3.12.10-ti2013.12.01 armv7l
    device has no login screen, it just starts, so i can't use scripts that starts application on login.
    In general, the Linux kernel boots and runs a single program that starts everything else.

    In traditional systems that program is called "init" and it reads a configuration file "/etc/inittab" to work out what should be started. One entry called the initdefault, typically run level 3, is the the one that starts a desktop environment or other UI program, often through another script (/etc/. This is where to start looking
    Qt Code:
    1. $ man init
    2. $ man inittab
    To copy to clipboard, switch view to plain text mode 
    The finer details are distribution-specific.

    Systems with systemd might call "init" something else... and it s configured quite differently I expect.

    We do not know how this particular vendor has set up their Linux distro. The vendor should provide information specific to their device if it non-standard.

Similar Threads

  1. Replies: 2
    Last Post: 9th April 2014, 15:29
  2. Unable to start linux process by Qt
    By karankumar1609 in forum Qt Programming
    Replies: 3
    Last Post: 19th December 2013, 10:34
  3. get start to QT and whats qt-embedded
    By sudeep in forum Newbie
    Replies: 0
    Last Post: 26th May 2013, 16:09
  4. Replies: 0
    Last Post: 1st November 2012, 06:04
  5. Can't start a qt-program on embedded linux
    By Tschounes in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 5th June 2010, 23:39

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.