On quarta-feira, 15 de agosto de 2012 17.30.51, Olivier Goffart wrote:
> CGFloat colorComp[] = { static_cast(textColor.redF()),
> static_cast(textColor.greenF()),
CGFloat colotComp[] = { CGFloat(textColor.redF()),CGFloat(textColor.greenF()),
--
Thiago Macieira - thiago.macieira (AT) intel.com
S
On Wednesday 15 August 2012 11:20:16 Stephen Chu wrote:
> I tried to build Qt 5 (from git) with MacPorts clang 4.7 using
> macx-clang-libc++-32 mkspec. It failed with narrowing errors like this:
>
> styles/qmacstyle_mac.mm:3828:45: error: non-constant-expression cannot
> be narrowed from type 'qre
I tried to build Qt 5 (from git) with MacPorts clang 4.7 using
macx-clang-libc++-32 mkspec. It failed with narrowing errors like this:
styles/qmacstyle_mac.mm:3828:45: error: non-constant-expression cannot
be narrowed from type 'qreal'
(aka 'double') to 'CGFloat' (aka 'float') in initiali