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

QApplication setApplication* and setOrganization*



  • QApplication app(argc, argv);
    app.setApplicationDisplayName("");
    app.setApplicationName("");
    app.setApplicationVersion("");
    app.setOrganizationDomain("");
    app.setOrganizationName("");
    

    I wanted to know the usage for that methods, I looked the documentations but it doesn't say exactly the usage for each one.



  • Hi @Defohin,

    There's probably a few uses, but the one I know of is in the QSettings construction. Have a read of QSettings - Basic Usage.

    I can see some other uses from a Github search, such as in QDesktopServices, but I'm not familiar with any of those. Perhaps someone else is?

    Cheers.


Log in to reply