{"action":"opened","issue":{"url":"https://api.github.com/repos/OpenChemistry/tomviz/issues/344","repository_url":"https://api.github.com/repos/OpenChemistry/tomviz","labels_url":"https://api.github.com/repos/OpenChemistry/tomviz/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/OpenChemistry/tomviz/issues/344/comments","events_url":"https://api.github.com/repos/OpenChemistry/tomviz/issues/344/events","html_url":"https://github.com/OpenChemistry/tomviz/issues/344","id":133016800,"number":344,"title":"Error when building tomviz with qt5 on Mac","user":{"login":"yijiang1","id":13088588,"avatar_url":"https://avatars.githubusercontent.com/u/13088588?v=3","gravatar_id":"","url":"https://api.github.com/users/yijiang1","html_url":"https://github.com/yijiang1","followers_url":"https://api.github.com/users/yijiang1/followers","following_url":"https://api.github.com/users/yijiang1/following{/other_user}","gists_url":"https://api.github.com/users/yijiang1/gists{/gist_id}","starred_url":"https://api.github.com/users/yijiang1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yijiang1/subscriptions","organizations_url":"https://api.github.com/users/yijiang1/orgs","repos_url":"https://api.github.com/users/yijiang1/repos","events_url":"https://api.github.com/users/yijiang1/events{/privacy}","received_events_url":"https://api.github.com/users/yijiang1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-11T16:13:20Z","updated_at":"2016-02-11T16:13:20Z","closed_at":null,"body":"I'm getting the following errors when I build latest tomviz. I seems that tomviz is not compatible with my qt5?\r\n\r\n[  1%] Automatic moc for target tomviz\r\n[  1%] Built target tomviz_automoc\r\n[  8%] Built target tomvizExtensions\r\n[ 10%] Building CXX object tomviz/CMakeFiles/tomviz.dir/ActiveObjects.cxx.o\r\nIn file included from /Users/yijiang/Visualization/tomviz/tomviz/ActiveObjects.cxx:16:\r\nIn file included from /Users/yijiang/Visualization/tomviz/tomviz/ActiveObjects.h:19:\r\nIn file included from /opt/local/libexec/qt5/lib/QtCore.framework/Headers/QObject:1:\r\nIn file included from /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qobject.h:48:\r\nIn file included from /usr/local/include/QtCore/qmetatype.h:49:\r\nIn file included from /usr/local/include/QtCore/qdatastream.h:46:\r\n/usr/local/include/QtCore/qiodevice.h:68:14: error: base class has incomplete type\r\n    : public QObject\r\n      ~~~~~~~^~~~~~~\r\n/usr/local/include/QtCore/qobjectdefs.h:249:7: note: forward declaration of 'QObject'\r\nclass QObject;\r\n      ^\r\nIn file included from /Users/yijiang/Visualization/tomviz/tomviz/ActiveObjects.cxx:16:\r\nIn file included from /Users/yijiang/Visualization/tomviz/tomviz/ActiveObjects.h:19:\r\nIn file included from /opt/local/libexec/qt5/lib/QtCore.framework/Headers/QObject:1:\r\nIn file included from /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qobject.h:48:\r\nIn file included from /usr/local/include/QtCore/qmetatype.h:49:\r\nIn file included from /usr/local/include/QtCore/qdatastream.h:46:\r\n/usr/local/include/QtCore/qiodevice.h:168:5: error: use of undeclared identifier 'd_ptr'\r\n    Q_DECLARE_PRIVATE(QIODevice)\r\n    ^\r\n/usr/local/include/QtCore/qglobal.h:2583:95: note: expanded from macro 'Q_DECLARE_PRIVATE'\r\n    inline Class##Private* d_func() { return reinterpret_cast<Class##Private *>(qGetPtrHelper(d_ptr)); } \\\r\n                                                                                              ^\r\nIn file included from /Users/yijiang/Visualization/tomviz/tomviz/ActiveObjects.cxx:16:\r\nIn file included from /Users/yijiang/Visualization/tomviz/tomviz/ActiveObjects.h:19:\r\nIn file included from /opt/local/libexec/qt5/lib/QtCore.framework/Headers/QObject:1:\r\nIn file included from /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qobject.h:48:\r\nIn file included from /usr/local/include/QtCore/qmetatype.h:49:\r\nIn file included from /usr/local/include/QtCore/qdatastream.h:46:\r\n/usr/local/include/QtCore/qiodevice.h:168:5: error: use of undeclared identifier 'd_ptr'\r\n/usr/local/include/QtCore/qglobal.h:2584:113: note: expanded from macro 'Q_DECLARE_PRIVATE'\r\n    inline const Class##Private* d_func() const { return reinterpret_cast<const Class##Private *>(qGetPtrHelper(d_ptr)); } \\\r\n\r\n...\r\n"}}