I can't compile from GIT
Jean-Baptiste Mardelle
jb at kdenlive.org
Mon Dec 12 07:25:57 UTC 2016
On Monday, December 12, 2016 1:17:03 AM CET, Massimo Stella wrote:
> It's some days that I'm no more able to compile Kdenlive from GIT
> I get this error:
> /kdenlive/src/utils/KoIconUtils.cpp: In function ‘QIcon
> KoIconUtils::themedIcon(const QString&)’:
> /kdenlive/src/utils/KoIconUtils.cpp:41:39: error: invalid use
> of incomplete type ‘class QPalette’
Hi Massimo,
This error was only triggered on some systems. It is now fixed in git.
Regards,
jb
> QColor background = qApp->palette().window().color();
> ^
> In file included from
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:40:0,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVariant:1,
> from /usr/include/KF5/KConfigCore/kconfig.h:32,
> from /usr/include/KF5/KConfigCore/ksharedconfig.h:25,
> from /usr/include/KF5/KConfigCore/kcoreconfigskeleton.h:28,
> from /usr/include/KF5/KConfigGui/kconfigskeleton.h:28,
> from /kdenlive/build/src/kdenlivesettings.h:6,
> from /kdenlive/src/utils/KoIconUtils.h:23,
> from /kdenlive/src/utils/KoIconUtils.cpp:19:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1874:1:
> note: forward declaration of ‘class QPalette’
> QT_FOR_EACH_STATIC_GUI_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER)
> ^
> src/CMakeFiles/kdenlive.dir/build.make:4252: recipe for target
> 'src/CMakeFiles/kdenlive.dir/utils/KoIconUtils.cpp.o' failed
> make[2]: *** [src/CMakeFiles/kdenlive.dir/utils/KoIconUtils.cpp.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> CMakeFiles/Makefile2:571: recipe for target
> 'src/CMakeFiles/kdenlive.dir/all' failed
> make[1]: *** [src/CMakeFiles/kdenlive.dir/all] Error 2
> Makefile:138: recipe for target 'all' failed
> make: *** [all] Error 2
>
> What can I do?
> Thanks in advance.
>
> Massimo
More information about the kdenlive
mailing list