Heya, "We" as in the KDE developers now focus on bringing KDE software towards more platforms such as Mac OS X & Windows nowadays. We have discussed various ideas to ensure unique application instances on these platforms.
Traditionally, KDE software is Linux focused and uses classes such as KUniqueApplication [1] and KDBusService [2] to ensure this; both of them requiring DBus for inter-process communication. This is usually not an option on said platforms and we're favoring the QtSingleApplication [3] approach for those. QtCreator is just one of its users. To come to the point: We'd like to be able to use QtSingleApplication, without having to copy it to every KDE application's repository out there and building it ourselves. Several KDE applications (KDevelop, Krita, Kate) already do so. Quite a few people asked for "how to implement single instance Qt applications" already and being pointed to QtSingleApplication: - http://stackoverflow.com/questions/5006547/qt-best-practice-for-a-single-instance-app-protection - http://www.qtcentre.org/threads/19661-Single-Application-Instance Question: Is there an interest in having QtSingleApplication in Qt proper? Say qtbase? We'd love to do the work if there's a chance for it being accepted. Alternative for us is to stick it into one of our KDE Frameworks, which does not directly benefit the Qt community. Opinions? Cheers, Kevin [1] https://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/ classKUniqueApplication.html [2] https://api.kde.org/frameworks/kdbusaddons/html/classKDBusService.html [3] http://code.qt.io/cgit/qt-creator/qt-creator.git/tree/src/shared/ qtsingleapplication/ -- Kevin Funk | kf...@kde.org | http://kfunk.org
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development