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’ 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