Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Linux Qt headless program without X
Forum Updated to NodeBB v4.3 + New Features

Linux Qt headless program without X

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 734 Views 1 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.
  • C Offline
    C Offline
    colin.lob
    wrote on last edited by
    #1

    Hello, I am curious to know if it's possible to create a Qt Linux program command line without GUI (headless) and without X server.
    The purpose could be to run inside a light docker or on a virtual server.
    If yes, where to start? Is there any documentation about that?

    Thanks a lot!

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

      Hi
      Yes you can make non GUI Qt programs.
      Just use
      https://doc.qt.io/qt-5/qcoreapplication.html#details
      and you can use network and all other non Widgets/Qt classes.

      1 Reply Last reply
      3

      • Login

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