Re: [Development] QtSingleApplication in Qt proper?

2016-06-20 Thread Thiago Macieira
On terça-feira, 21 de junho de 2016 01:17:07 PDT André Pönitz wrote: > > I'd like to see KUniqueApplication deprecated, as it relies on some > > undocumented and fragile QtDBus functionality (namely, connecting to > > the bus before QCoreApplication is created). > > That's a reason that I have

Re: [Development] QtSingleApplication in Qt proper?

2016-06-20 Thread André Pönitz
On Mon, Jun 20, 2016 at 02:16:37PM -0700, Thiago Macieira wrote: > > You mean port away from QApplication? > > > > Anyway, I don't quite get it: > > > > - QtSingleApplication is as easily accessible as other "bread and > > butter" parts of Qt via git, hosted by the same entity, > > > > - no

Re: [Development] QtSingleApplication in Qt proper?

2016-06-20 Thread Thiago Macieira
On segunda-feira, 20 de junho de 2016 22:57:38 PDT André Pönitz wrote: > On Mon, Jun 20, 2016 at 07:59:32AM +0200, Kevin Funk wrote: > > On Donnerstag, 16. Juni 2016 00:19:10 CEST Kevin Funk wrote: > > > (snip) > > > > > > Question: Is there an interest in having QtSingleApplication in Qt > > >

Re: [Development] QtSingleApplication in Qt proper?

2016-06-20 Thread André Pönitz
On Mon, Jun 20, 2016 at 07:59:32AM +0200, Kevin Funk wrote: > On Donnerstag, 16. Juni 2016 00:19:10 CEST Kevin Funk wrote: > > (snip) > > > > 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

Re: [Development] QtSingleApplication in Qt proper?

2016-06-20 Thread charleyb123
+1, I've found many good uses for QtSingleApplication, and think this is a good (highly practical) feature for "Qt-proper". --charley On Sun, Jun 19, 2016 at 11:59 PM, Kevin Funk wrote: > On Donnerstag, 16. Juni 2016 00:19:10 CEST Kevin Funk wrote: > > (snip) > > > > Question:

Re: [Development] QtSingleApplication in Qt proper?

2016-06-20 Thread Kevin Funk
On Donnerstag, 16. Juni 2016 00:19:10 CEST Kevin Funk wrote: > (snip) > > 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. Heya, Thanks for all the comments, I'll work on introducing

Re: [Development] QtSingleApplication in Qt proper?

2016-06-19 Thread Dmitry Shachnev
Hi all, On Thu, Jun 16, 2016 at 10:06:45AM +0200, Kevin Funk wrote: > I did not realize there are ready packages on some distributions out there. > There isn't on Ubuntu at least (which is fixable of course). > > I also just now realize that qt-solutions.git has a maintained version of >

Re: [Development] QtSingleApplication in Qt proper?

2016-06-17 Thread André Pönitz
On Fri, Jun 17, 2016 at 12:55:20PM +0200, Jordi Pujol Foyo wrote: > From QtService.cpp : > > "The QtService is a convenient template class that allows > you to create a service for a particular application type. > > A Windows service or Unix daemon (a "service"), is a program that >

Re: [Development] QtSingleApplication in Qt proper?

2016-06-17 Thread Lars Knoll
On 17/06/16 13:36, "Development on behalf of Maurice Kalinowski" wrote: >> >> +1 from me to add this to QtCore >[Kalinowski Maurice] > >What is the purpose of adding those items to QtCore? >Is it that

Re: [Development] QtSingleApplication in Qt proper?

2016-06-17 Thread Maurice Kalinowski
> > +1 from me to add this to QtCore [Kalinowski Maurice] What is the purpose of adding those items to QtCore? Is it that it "feels" more stable when it is inside that module, or because you need this feature on a regular basis? At least personally, I never needed to implement a service, yet

Re: [Development] QtSingleApplication in Qt proper?

2016-06-17 Thread Jordi Pujol Foyo
From QtService.cpp : "The QtService is a convenient template class that allows you to create a service for a particular application type. A Windows service or Unix daemon (a "service"), is a program that runs "in the background" independently of whether a user is logged in or

Re: [Development] QtSingleApplication in Qt proper?

2016-06-17 Thread Bo Thorsen
Den 17-06-2016 kl. 08:26 skrev Thiago Macieira: And, what about QtService from QtSolutions ? I don't know what that does. On Windows it implements the interface so you can register a Qt application as a service and the users can control from the standard windows services panel - starting,

Re: [Development] QtSingleApplication in Qt proper?

2016-06-17 Thread Denis Shienkov
>> And, what about QtService from QtSolutions ? > I don't know what that does. You can look to sources.. ;) "The QtService component is useful for developing Windows services and Unix daemons." BR, Denis 17.06.2016 9:26, Thiago Macieira пишет: On sexta-feira, 17 de junho de 2016

Re: [Development] QtSingleApplication in Qt proper?

2016-06-17 Thread Thiago Macieira
On sexta-feira, 17 de junho de 2016 08:15:15 PDT Denis Shienkov wrote: > > I’d say Qt Core. This should not really require a large addition to it. > > Do you mean QtSingleApplication or QtSolutions to QtCore? QtSingleApplication. I don't know what else is in Solutions, so I can't welcome them

Re: [Development] QtSingleApplication in Qt proper?

2016-06-16 Thread Denis Shienkov
> I’d say Qt Core. This should not really require a large addition to it. Do you mean QtSingleApplication or QtSolutions to QtCore? Because then QtSingleApplication should be removed from QtQtSolutions, as it will be in QtCore... :) And, what about QtService from QtSolutions ? BR, Denis

Re: [Development] QtSingleApplication in Qt proper?

2016-06-16 Thread Lars Knoll
On 16/06/16 20:47, "Development on behalf of Thiago Macieira" wrote: >On quinta-feira, 16 de junho de 2016 20:03:09 PDT Konstantin Tokarev wrote: >> +1, it should be promoted to add-on at least. > >As I

Re: [Development] QtSingleApplication in Qt proper?

2016-06-16 Thread Thiago Macieira
On quinta-feira, 16 de junho de 2016 20:03:09 PDT Konstantin Tokarev wrote: > +1, it should be promoted to add-on at least. As I said, I'd welcome it in QtCore, but a separate module is fine too. I've been wondering whether QtCore needs to be split in Qt 6. It's grown too big. At least the

Re: [Development] QtSingleApplication in Qt proper?

2016-06-16 Thread Lisandro Damián Nicanor Pérez Meyer
On jueves, 16 de junio de 2016 10:06:45 A. M. ART Kevin Funk wrote: [snip] > I'd like to hear more opinions about whether there's still interest in > having it in Qt proper. There are obviously advantages to it: CI coverage > (qt- solutions.git isn't covered by CI, right?), and QtSA getting a bit

Re: [Development] QtSingleApplication in Qt proper?

2016-06-16 Thread Konstantin Tokarev
16.06.2016, 11:07, "Kevin Funk" : > On Donnerstag, 16. Juni 2016 03:43:29 CEST Kevin Kofler wrote: >>  Kevin Funk wrote: >>  > 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 >>  

Re: [Development] QtSingleApplication in Qt proper?

2016-06-16 Thread Kevin Funk
On Donnerstag, 16. Juni 2016 03:43:29 CEST Kevin Kofler wrote: > Kevin Funk wrote: > > 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

Re: [Development] QtSingleApplication in Qt proper?

2016-06-15 Thread Kevin Kofler
Kevin Funk wrote: > 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. Why can't you simply require it as

Re: [Development] QtSingleApplication in Qt proper?

2016-06-15 Thread Thiago Macieira
On quinta-feira, 16 de junho de 2016 00:19:10 PDT Kevin Funk wrote: > 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. I'd like it in QtCore, without being a derivation of QCoreApplication, and

[Development] QtSingleApplication in Qt proper?

2016-06-15 Thread Kevin Funk
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