Congratulations to our 2022 Qt Champions!

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

    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