/home/andreas/various/kde4/sources/kdelibs/kio/kfile/kopenwithdialog.cpp:57: error: ‘KConfigFlags’ has not been declared /home/andreas/various/kde4/sources/kdelibs/kio/kfile/kopenwithdialog.cpp:57: error: expected ‘,’ or ‘...’ before ‘flags’ /home/andreas/various/kde4/sources/kdelibs/kio/kfile/kopenwithdialog.cpp:57: error: template-id ‘writeEntry<>’ for ‘void KConfigGroup::writeEntry(const char*, const KGlobalSettings::Completion&, int)’ does not match any template declaration In file included from /home/andreas/various/kde4/sources/kdelibs/kio/kfile/kopenwithdialog.cpp:967: /home/andreas/various/kde4/sources/kdelibs/kdecore/util/conversion_check.h: In member function ‘void ConversionCheck::type_toQVariant::constraint() [with T = KGlobalSettings::Completion]’: /home/andreas/various/kde4/sources/kdelibs/kdecore/util/conversion_check.h:78: instantiated from ‘void ConversionCheck::to_QVariant() [with T = KGlobalSettings::Completion]’ /home/andreas/various/kde4/sources/kdelibs/kdecore/config/kconfiggroup.h:579: instantiated from ‘void KConfigGroup::writeListCheck(const QByteArray&, const T&, QFlags) [with T = KGlobalSettings::Completion]’ /home/andreas/various/kde4/sources/kdelibs/kdecore/config/kconfiggroup.h:242: instantiated from ‘void KConfigGroup::writeEntry(const QByteArray&, const T&, QFlags) [with T = KGlobalSettings::Completion]’ /home/andreas/various/kde4/sources/kdelibs/kdecore/config/kconfiggroup.h:245: instantiated from ‘void KConfigGroup::writeEntry(const QString&, const T&, QFlags) [with T = KGlobalSettings::Completion]’ /home/andreas/various/kde4/sources/kdelibs/kio/kfile/kopenwithdialog.cpp:957: instantiated from here /home/andreas/various/kde4/sources/kdelibs/kdecore/util/conversion_check.h:60: error: conversion from ‘ConversionCheck::unsupported’ to non-scalar type ‘ConversionCheck::supported’ requested /home/andreas/qt-copy/include/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId2::qt_metatype_id() [with T = KGlobalSettings::Completion]’: /home/andreas/qt-copy/include/QtCore/qmetatype.h:193: instantiated from ‘int qMetaTypeId(T*) [with T = KGlobalSettings::Completion]’ /home/andreas/qt-copy/include/QtCore/qvariant.h:429: instantiated from ‘QVariant qVariantFromValue(const T&) [with T = KGlobalSettings::Completion]’