On 08/06/2011, at 8:12 AM, Thiago Macieira wrote: > Em Tuesday, 7 de June de 2011, às 14:10:34, BRM escreveu: >>> Why does it need to be in QtCore? >> >> I would put it in QtCore primarily b/c that is where QCoreApplication and >> QApplication live, and it should be as available to everyone as those to >> are. However, I am not deadset on doing so - that is part of the reason for >> this discussion. It could be in a QtService module. >> My primary concern is that it is easily available on all Qt installations as >> a native part of Qt. > > Assume that there is a place that makes it easily available to all Qt > installations and users. Do you need in QtCore for any special reason? > > If not, I recommend starting as an outside module. Move to QtCore if it's > necessary or if too many applications require it.
I agree with Thiago here, and in fact I don't think you even have a choice. On non-Windows platforms, QtService requires QtNetwork, so the code can't be part of QtCore. -- Dr Craig Scott Computational Software Engineering Team Leader, CSIRO (CMIS) Melbourne, Australia _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
