diff --git a/src/pimcommon/CMakeLists.txt b/src/pimcommon/CMakeLists.txt --- a/src/pimcommon/CMakeLists.txt +++ b/src/pimcommon/CMakeLists.txt @@ -150,7 +150,6 @@ macro(add_resource_iface _kcfgFile _ifaceName _className _fileName) kcfg_generate_dbus_interface(${CMAKE_CURRENT_SOURCE_DIR}/${_kcfgFile} ${_ifaceName}) - set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${_ifaceName}.xml PROPERTIES INCLUDE "pimcommon/metatype.h") qt5_add_dbus_interface(libpimcommon_SRCS ${CMAKE_CURRENT_BINARY_DIR}/${_ifaceName}.xml ${_fileName} ${_className} ) @@ -258,7 +257,6 @@ HEADER_NAMES PimUtil NetworkUtil - MetaType REQUIRED_HEADERS PimCommon_HEADERS PREFIX PimCommon RELATIVE util diff --git a/src/pimcommon/util/metatype.h b/src/pimcommon/util/metatype.h deleted file mode 100644 --- a/src/pimcommon/util/metatype.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - Copyright 2009 Thomas McGuire - - This library is free software; you can redistribute it and/or modify - it under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2 of the License or - ( at your option ) version 3 or, at the discretion of KDE e.V. - ( which shall act as a proxy as in section 14 of the GPLv3 ), any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef PIMCOMMON_METATYPE_H -#define PIMCOMMON_METATYPE_H - -#include - -Q_DECLARE_METATYPE(QList) - -#endif