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. QT program only background
Forum Updated to NodeBB v4.3 + New Features

QT program only background

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 312 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.
  • G Offline
    G Offline
    Gianfranco Facchini
    wrote on last edited by
    #1

    Good morning,
    I'm self-taught about QT and I've only been exploring for two weeks. I would have a simple question. Is it possible to create programs without windows support? Without QML and without QWidget? A simple background program?
    Thanks in advance

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

      Hi
      Without QWidget at all, its just a plain c++ console app.
      However, using only non visible Qt is also possible so that would be
      a QT console app.

      You can use the wizard to make both types.

      int main(int argc, char *argv[])
      {
      QCoreApplication a(argc, argv);
      return a.exec();
      }

      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