You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vlad Zagorodniy
b7abb46ee7
[libbreezecommon] Fix build when qreal is float
Summary:
```
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
```
Reviewers: #plasma, hpereiradacosta
Subscribers: anthonyfieroni, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D14090
|
8 years ago |
|
cmake
|
[libbreezecommon] Add box shadow helper
|
8 years ago |
|
colors
|
[colors] add corresponding CMakeLists.txt
|
8 years ago |
|
cursors
|
SVN_SILENT made messages (.desktop file) - always resolve ours
|
8 years ago |
|
kdecoration
|
[kdecoration] Make shadows lighter
|
8 years ago |
|
kstyle
|
[kstyle] Refine shadows
|
8 years ago |
|
libbreezecommon
|
[libbreezecommon] Fix build when qreal is float
|
8 years ago |
|
lookandfeel.dark
|
SVN_SILENT made messages (.desktop file) - always resolve ours
|
8 years ago |
|
misc
|
Remove redundant includes
|
10 years ago |
|
printing
|
FEATURE: add print test page by Jens
|
10 years ago |
|
qtquickcontrols
|
remove second calls to project() only 1 allowed per cmake project
|
11 years ago |
|
wallpapers
|
SVN_SILENT made messages (.desktop file) - always resolve ours
|
8 years ago |
|
.arcconfig
|
Add arcconfig
|
10 years ago |
|
AUTHORS
|
…
|
|
|
BreezeConfig.cmake.in
|
Add BREEZE_STYLE_NAME to BreezeConfig.cmake
|
10 years ago |
|
CMakeLists.txt
|
[libbreezecommon] Add box shadow helper
|
8 years ago |
|
COPYING
|
…
|
|