[Qt-interest] Who know Qt 4.7 exact release date?
Yves Bailly
yves.bailly at sescoi.fr
Tue Jun 8 15:24:19 CEST 2010
Oliver.Knoll at comit.ch a écrit :
> Wei Song wrote on Tuesday, June 08, 2010 12:28 PM:
>> Anybody know the Qt 4.7 exact release date?
> QDateTime FortuneTeller::tellMeExactReleaseDateOf(SoftwareProduct softwareProduct) {
> Q_UNUSED(softwareProduct);
> QDateTime result;
> QDateTime currentDateTime = QDateTime::currentTime();
> qsrand(currentDateTime .toTime_t());
If I may, IMHO the previous (obviously wrong) call should be replace
by something like this, much more portable and error-prone:
qsrand(reinterpret_cast<int>(&FortuneTeller::tellMeExactReleaseDateOf) /
reinterpret_cast<int>(&result));
Regards,
--
/- Yves Bailly - Software developper -\
\- Sescoi R&D - http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."
More information about the Qt-interest-old
mailing list