[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    D11198: [libbreezecommon] Add box shadow helper
From:       Rik Mills <noreply () phabricator ! kde ! org>
Date:       2018-07-13 7:14:02
Message-ID: 0255f14eac2e6d037747867c4fb257c4 () localhost ! localdomain
[Download RAW message or body]

[Attachment #2 (text/plain)]

rikmills added a comment.


  Fails to build from source:
  
  https://build.neon.kde.org/job/bionic_unstable_kde_breeze_bin_armhf/44/consoleFull
  
  06:47:17 CMakeFiles/Makefile2:118: recipe for target \
'libbreezecommon/CMakeFiles/breezecommon4.dir/all' failed  06:47:17 \
/workspace/build/libbreezecommon/breezeboxshadowhelper.cpp: In function ‘void \
Breeze::BoxShadowHelper::blurAlphaNaive(QImage&, int)':  06:47:17 \
/workspace/build/libbreezecommon/breezeboxshadowhelper.cpp:138:56: error: conversion \
from ‘QVector<double>' to non-scalar type ‘const QVector<float>' requested  \
06:47:17      const QVector<qreal> kernel = computeGaussianKernel(radius);  06:47:17  \
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~  06:47:17 In file included from \
/usr/include/qt4/QtGui/qpolygon.h:45:0,  06:47:17                  from \
/usr/include/qt4/QtGui/qmatrix.h:45,  06:47:17                  from \
/usr/include/qt4/QtGui/qtransform.h:44,  06:47:17                  from \
/usr/include/qt4/QtGui/qimage.h:45,  06:47:17                  from \
/usr/include/qt4/QtGui/qpixmap.h:50,  06:47:17                  from \
/usr/include/qt4/QtGui/qpainter.h:49,  06:47:17                  from \
/usr/include/qt4/QtGui/QPainter:1,  06:47:17                  from \
/workspace/build/libbreezecommon/breezeboxshadowhelper.h:27,  06:47:17                \
from /workspace/build/libbreezecommon/breezeboxshadowhelper.cpp:21:  06:47:17 \
/usr/include/qt4/QtCore/qvector.h: In instantiation of ‘int \
QVector<T>::sizeOfTypedData() [with T = double]':  06:47:17 \
/usr/include/qt4/QtCore/qvector.h:503:49:   required from ‘void \
QVector<T>::realloc(int, int) [with T = double]'  06:47:17 \
/usr/include/qt4/QtCore/qvector.h:340:32:   required from ‘void \
QVector<T>::reserve(int) [with T = double]'  06:47:17 \
/workspace/build/libbreezecommon/breezeboxshadowhelper.cpp:62:30:   required from \
here  06:47:17 /usr/include/qt4/QtCore/qvector.h:323:49: warning: cast from \
‘QVector<double>*' to ‘const Data* {aka const QVectorTypedData<double>*}' \
increases required alignment of target type [-Wcast-align]  06:47:17          return \
reinterpret_cast<const char *>(&(reinterpret_cast<const Data *>(this))->array[1]) - \
reinterpret_cast<const char *>(this);  06:47:17                                       \
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  06:47:17 make[5]: \
[libbreezecommon/CMakeFiles/breezecommon4.dir/breezeboxshadowhelper.cpp.o] Error 1  \
06:47:17 make[4]:  [libbreezecommon/CMakeFiles/breezecommon4.dir/all] Error 2

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D11198

To: zzag, #breeze, #vdg, hpereiradacosta
Cc: rikmills, ngraham, broulik, abetts, plasma-devel, ragreen, Pitel, ZrenBot, \
lesliezhai, ali-mohamed, jensreuterberg, sebas, apol, mart


[Attachment #3 (text/html)]

<table><tr><td style="">rikmills added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: \
right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: \
#F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: \
inline-block; border: 1px solid rgba(71,87,120,.2);" \
href="https://phabricator.kde.org/D11198">View Revision</a></tr></table><br \
/><div><div><p>Fails to build from source:</p>

<p><a href="https://build.neon.kde.org/job/bionic_unstable_kde_breeze_bin_armhf/44/consoleFull" \
class="remarkup-link" target="_blank" \
rel="noreferrer">https://build.neon.kde.org/job/bionic_unstable_kde_breeze_bin_armhf/44/consoleFull</a></p>


<p>06:47:17 CMakeFiles/Makefile2:118: recipe for target \
&#039;libbreezecommon/CMakeFiles/breezecommon4.dir/all&#039; failed<br /> 06:47:17 \
/workspace/build/libbreezecommon/breezeboxshadowhelper.cpp: In function ‘void \
Breeze::BoxShadowHelper::blurAlphaNaive(QImage&amp;, int)':<br /> 06:47:17 \
/workspace/build/libbreezecommon/breezeboxshadowhelper.cpp:138:56: error: conversion \
from ‘QVector&lt;double&gt;' to non-scalar type ‘const QVector&lt;float&gt;' \
requested<br /> 06:47:17      const QVector&lt;qreal&gt; kernel = \
computeGaussianKernel(radius);<br /> 06:47:17                                    \
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~<br /> 06:47:17 In file included from \
/usr/include/qt4/QtGui/qpolygon.h:45:0,<br /> 06:47:17                  from \
/usr/include/qt4/QtGui/qmatrix.h:45,<br /> 06:47:17                  from \
/usr/include/qt4/QtGui/qtransform.h:44,<br /> 06:47:17                  from \
/usr/include/qt4/QtGui/qimage.h:45,<br /> 06:47:17                  from \
/usr/include/qt4/QtGui/qpixmap.h:50,<br /> 06:47:17                  from \
/usr/include/qt4/QtGui/qpainter.h:49,<br /> 06:47:17                  from \
/usr/include/qt4/QtGui/QPainter:1,<br /> 06:47:17                  from \
/workspace/build/libbreezecommon/breezeboxshadowhelper.h:27,<br /> 06:47:17           \
from /workspace/build/libbreezecommon/breezeboxshadowhelper.cpp:21:<br /> 06:47:17 \
/usr/include/qt4/QtCore/qvector.h: In instantiation of ‘int \
QVector&lt;T&gt;::sizeOfTypedData() [with T = double]':<br /> 06:47:17 \
/usr/include/qt4/QtCore/qvector.h:503:49:   required from ‘void \
QVector&lt;T&gt;::realloc(int, int) [with T = double]'<br /> 06:47:17 \
/usr/include/qt4/QtCore/qvector.h:340:32:   required from ‘void \
QVector&lt;T&gt;::reserve(int) [with T = double]'<br /> 06:47:17 \
/workspace/build/libbreezecommon/breezeboxshadowhelper.cpp:62:30:   required from \
here<br /> 06:47:17 /usr/include/qt4/QtCore/qvector.h:323:49: warning: cast from \
‘QVector&lt;double&gt;*' to ‘const Data* {aka const \
QVectorTypedData&lt;double&gt;*}' increases required alignment of target type \
[-Wcast-align]<br /> 06:47:17          return reinterpret_cast&lt;const char \
*&gt;(&amp;(reinterpret_cast&lt;const Data *&gt;(this))-&gt;array[1]) - \
reinterpret_cast&lt;const char *&gt;(this);<br /> 06:47:17                            \
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br /> 06:47:17 make[5]: \
[libbreezecommon/CMakeFiles/breezecommon4.dir/breezeboxshadowhelper.cpp.o] Error 1<br \
/> 06:47:17 make[4]:  [libbreezecommon/CMakeFiles/breezecommon4.dir/all] Error \
2</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R31 \
Breeze</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D11198">https://phabricator.kde.org/D11198</a></div></div><br \
/><div><strong>To: </strong>zzag, Breeze, VDG, hpereiradacosta<br /><strong>Cc: \
</strong>rikmills, ngraham, broulik, abetts, plasma-devel, ragreen, Pitel, ZrenBot, \
lesliezhai, ali-mohamed, jensreuterberg, sebas, apol, mart<br /></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic