On Thursday, 7 December 2017 00:19:14 PST Christian Ehrlicher wrote:
> Hi,
>  
> According to QTimer documentation,
> QTimer::setInterval(std::chrono::milliseconds) is available unconditionally
> in Qt 5.9. But in qtimer.h the std::chrono - functions are guarded with
> QT_HAS_INCLUDE(chrono) which expands to __has_include(chrono) or 0. The
> problem is that gcc 4.8 doesn't know anything about this preprocessor
> construct 

So you upgrade your compiler.

See also how no version of Visual Studio has __has_include, so the 
functionality is disabled with Microsoft's compiler until they implement the 
macro.

This is a conscious decision.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to