diff --git a/autotests/taglibextractortest.cpp b/autotests/taglibextractortest.cpp --- a/autotests/taglibextractortest.cpp +++ b/autotests/taglibextractortest.cpp @@ -31,8 +31,6 @@ #include #include -Q_DECLARE_METATYPE(KFileMetaData::Property::Property) - using namespace KFileMetaData; QString TagLibExtractorTest::testFilePath(const QString& fileName) const diff --git a/src/properties.h b/src/properties.h --- a/src/properties.h +++ b/src/properties.h @@ -388,4 +388,6 @@ } // namespace KFileMetaData +Q_DECLARE_METATYPE(KFileMetaData::Property::Property) + #endif