On Thursday 08 October 2015 09:56:23 Thomas Lübking wrote: > On Donnerstag, 8. Oktober 2015 09:38:45 CEST, Pali Rohár wrote: > > >I know that there is some PPA for Qt5. I did not try it because KDE4 > >plugins (addressbook) is incompatible with Qt5. This is something which > >I need... > > The never-to-be-ported KABC addressbook?
That one which is working and is fast (not akonadi version). > Ie. you're restricted to Qt4 forever? > Do not know... Until I choose other system/software for PIM. (And no akonadi is still not fast and usable on my devices.) > >On the other hand, it is not possible to write needed C++ macros which > >wrap non existent Qt5 calls into Qt4? > > Rather "No" > We can unconditionally mandate c++11 (yesyesyesyesyesprettyprettyplease!!) > but the signal/slot API is far off. > C++11 is not a problem for me. Clang-3.4 which is in standard Ubuntu 12.04 repository should provides C++14 implementation. Also I have gcc-4.8 if clang is not enough. > The macro would have to take varadic args (one being the namespace, ignored > on Qt4) and conditionally turn them into function pointer or method string. > > Aside this would be quite some macro (and compile time checks aren't always > possible, eg. if your connect into other plugins etc), there's *no* chance to > connect lambdas in Qt4 - what's by far the most interesting feature in the > new connect syntax. > > Cheers, > Thomas > -- Pali Rohár pali.ro...@gmail.com