Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QT program only background



  • 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


  • Lifetime Qt Champion

    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();
    }


Log in to reply