On Sat, 08 Feb 2014 16:45:21 +0200 Raphael Kubo da Costa wrote: > Is the section below really needed? We do have tzname in time.h, so > everything should work fine without it.
Have you find the answer? > --- ./src/corelib/tools/qdatetime.cpp.orig 2013-10-22 01:49:27.000000000 > -0700 > +++ ./src/corelib/tools/qdatetime.cpp 2013-11-04 16:56:16.155303199 -0800 > @@ -2207,6 +2213,12 @@ > return QString::fromWCharArray(tzi.DaylightName); > else > return QString::fromWCharArray(tzi.StandardName); > +#elif defined(Q_OS_FREEBSD) > + time_t t; > + struct tm *lt; > + (void)time(&t); > + lt = localtime(&t); > + return QString::fromLocal8Bit(lt->tm_zone); > #else > int isDst = (daylightStatus == QDateTimePrivate::DaylightTime) ? 1 : 0; > #if defined(_MSC_VER) && _MSC_VER >= 1400 > _______________________________________________ > kde-freebsd mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/kde-freebsd > See also http://freebsd.kde.org/ for latest information _______________________________________________ kde-freebsd mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
