Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Launch Qt Server Application at startup ?
QtWS25 Last Chance

Launch Qt Server Application at startup ?

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JcPeP
    wrote on last edited by
    #1

    Hi,

    I am currently working on a "Freescale iMX6 SABRE Lite Board":http://boundarydevices.com/products/sabre-lite-imx6-sbc/, which is a running on Arch Linux with LXDE ("this":http://archlinuxarm.org/platforms/armv7/nitrogen6x is the image I use). I have cross-compiled a Qt application on my development machine for this board, and this application seems to work fine on my board.

    Now, I would like to be able to launch it automatically at startup. For this, I have a bash script which moves into the directory of the application, and launches it with the qws option (without this option, the application doesn't launch and just prints this error : QWSSocket::connectToLocalFile could not connect:: No such file or directory). In a terminal, when LXDE is already launched, it works like a charm.
    But when using it from my /etc/xdg/lxsession/LXDE/autostart file, it doesn't really work : when I launch the startx command from my console, LXDE starts, and the pixels behind my mouse cursor go green (just like when the application launches), but after this nothing.

    My question is : is there a specific way to do what I want, which is launching this application (with the qws option) automatically ?
    Of course, since I am really new to embedded programmation and cross compilation, I don't exclude at all the possibility of a problem with the compilation of my program. To do this, I followed "this":http://treyweaver.blogspot.com.es/2010/10/setting-up-qt-development-environment.html guide. If there is a more specific, or better and/or simpler way to cross compile my Qt applications, I would be glad hearing about it :)

    Any help would be greatly appreciated :)

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mbnoimi
      wrote on last edited by
      #2

      I think this post not related to Qt it's LXDE issue so I suggest to ask LXDE guys.

      Any way, I faced same issue with KDE as mentioned in this post... read it it may help you :)
      https://forum.kde.org/viewtopic.php?f=18&t=110847

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved