TpQt4 API/ABI break
Olli Salli
olli.salli at collabora.co.uk
Wed Oct 27 21:03:00 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
just a short summary on how the API/ABI break is going. We've had to put
some other things on the back burner for a while to be able to complete
the big API transition in a reasonable amount of time, sorry for that
(I'm especially sad about the tube branches etc bitrotting).
Anyway, to not get bitten too much by the API/ABI break, compile your
app/lib with #define (or -D) TELEPATHY_QT4_DEPRECATED_WARNINGS and
- -Wdeprecated-declarations, fix any warnings that ensue. We're trying to
deprecate with documented new API/ABI alternatives as much as possible
rather than just changing/dropping everything in one "this is the new
API/ABI,
http://i572.photobucket.com/albums/ss161/snipedxp/Dealwithit.gif"
release (or a few, unspecified supernatural entity forbid!).
Sadly, we currently don't have a way to deprecate signals so
conveniently (thanks Qt for not really being implemented in C++ but in a
pre-processor). We're going to implement and release connectNotify hooks
emitting warnings at RUNTIME when connecting to deprecated signals,
however - you just have to grep/look at your app's output to see if
anything deprecated is used, then.
If anybody has better ideas for signal deprecation, shoot.
The general timeline is to have 2-3 yet-more-deprecations releases, and
then the first new API/ABI release in the second week of November. We'll
set up a stable "old API/ABI" 0.4 branch as well, though - but don't
really guarantee many releases in addition to 0.4.0 from there, if any.
Br,
Olli Salli
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJMyHdkAAoJEAQQkupGanj4oqUH/2HMRcZXkpzRzCJX19kaqLbX
vTxE8A4hISTvNCyQAra/5w4AhM2XZ25ZMTDtgd/zdyqrhFu3b9gBZkD3NAtoKBqP
F3rGUGrxa14B5mBfG+Fx5tgR2Fk0JHNgnlai+osvJ8wqq/QwGDDCgdfJqdIhiXOQ
+ZHtU6TCKv6i5JET3wkQ295GFTbECYbVB7l+FRvRIxTsVeZckVdWc8uZZmF8UdEh
PfkXAcTrLwZTAn34a0H/49oVKd2HP61N8A6pDEgo0z0/f1Kb3yfMdRr7Ieh8jnY+
O2coeRGMoOqjtyZTI47MLQV8f3c7AnmjopMnL/26/QiJk2KcrTLwG88kFEhTH7w=
=MGdI
-----END PGP SIGNATURE-----
More information about the KDE-Telepathy
mailing list