Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Deployment to non-development linux box. Also running without xserver?
Forum Updated to NodeBB v4.3 + New Features

Deployment to non-development linux box. Also running without xserver?

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 541 Views 2 Watching
  • 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.
  • S Offline
    S Offline
    Sccoupe
    wrote on last edited by
    #1

    Hello,

    I'm new to QT as well as linux and have a deployment question. Using any of the demo programs included with QT, I can compile and run it on the development machine which is running Ubuntu 14. It all runs fine. I can also close QT and goto the build folder where the source was compiles to and run the executable just fine. Now If that folder is copied to a Raspberry Pi running Wheezy Debian, and an attempt is made to run the same executable, Debian is asked for it to be associated with a program to open it. Now, its to be expected that there should be some errors since Debian would be missing some missing dll's and such that were not deployed with the exe, but this file association problem wasnt expected. What is an executable supposed to be associated with? What's the noob's way out of this?

    On a second issue, on the development Ubuntu machine, the xserver was shutdown and tried running the same executable as I did with xwindows running and it fails. Are QT programs supposed to be able to run without needing any kind of windows installed?

    My end result of all of this is to strip down a raspberry pi to boot up as fast as possible and run only a graphics application written in QT.

    Thanks for the help!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Since you are talking about Raspberry Pi, did you cross-compile your application ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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