From 9c9ff886c9da139c2a24184fe7447093aff57abd Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 6 Jul 2015 11:04:17 +0200 Subject: [PATCH] Fix qt4 build Qt5 automatically declares many types as QMetaType. Qt4 needs them manually declared --- src/gui/accountstate.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/accountstate.h b/src/gui/accountstate.h index d7eaf4f2b..36ee4adb7 100644 --- a/src/gui/accountstate.h +++ b/src/gui/accountstate.h @@ -112,5 +112,6 @@ private: } Q_DECLARE_METATYPE(OCC::AccountState*) +Q_DECLARE_METATYPE(QSharedPointer) #endif //ACCOUNTINFO_H