{"action":"opened","issue":{"url":"https://api.github.com/repos/nomacs/nomacs/issues/12","labels_url":"https://api.github.com/repos/nomacs/nomacs/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/nomacs/nomacs/issues/12/comments","events_url":"https://api.github.com/repos/nomacs/nomacs/issues/12/events","html_url":"https://github.com/nomacs/nomacs/issues/12","id":55299701,"number":12,"title":"Qt5 compiling error","user":{"login":"Ilya87","id":1446573,"avatar_url":"https://avatars.githubusercontent.com/u/1446573?v=3","gravatar_id":"","url":"https://api.github.com/users/Ilya87","html_url":"https://github.com/Ilya87","followers_url":"https://api.github.com/users/Ilya87/followers","following_url":"https://api.github.com/users/Ilya87/following{/other_user}","gists_url":"https://api.github.com/users/Ilya87/gists{/gist_id}","starred_url":"https://api.github.com/users/Ilya87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ilya87/subscriptions","organizations_url":"https://api.github.com/users/Ilya87/orgs","repos_url":"https://api.github.com/users/Ilya87/repos","events_url":"https://api.github.com/users/Ilya87/events{/privacy}","received_events_url":"https://api.github.com/users/Ilya87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-23T16:13:18Z","updated_at":"2015-01-23T16:13:18Z","closed_at":null,"body":"I do\r\ncd nomacs/ImageLounge\r\n  cmake . -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_QT5=ON -DENABLE_QUAZIP=OFF -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt5\r\nthen make\r\nand get the following error message:\r\n\r\nirtual void nmc::DkThumbsView::mouseMoveEvent(QMouseEvent*)»:\r\n/home/ilya/build/lxqt/nomacs/src/nomacs/ImageLounge/src/DkThumbsWidgets.cpp:1398:33: error: invalid use of incomplete type «class QDrag»\r\n     QDrag* drag = new QDrag(this);\r\n                                 ^\r\nIn file included from /usr/include/qt/QtWidgets/qtreeview.h:37:0,\r\n                 from /usr/include/qt/QtWidgets/QTreeView:1,\r\n                 from /home/ilya/build/lxqt/nomacs/src/nomacs/ImageLounge/src/DkWidgets.h:55,\r\n                 from /home/ilya/build/lxqt/nomacs/src/nomacs/ImageLounge/src/DkThumbsWidgets.h:32,\r\n                 from /home/ilya/build/lxqt/nomacs/src/nomacs/ImageLounge/src/DkThumbsWidgets.cpp:28:\r\n/usr/include/qt/QtWidgets/qabstractitemview.h:48:7: error: forward declaration of «class QDrag»\r\n class QDrag;\r\n       ^\r\n/home/ilya/build/lxqt/nomacs/src/nomacs/ImageLounge/src/DkThumbsWidgets.cpp:1399:9: error: invalid use of incomplete type «class QDrag»\r\n     drag->setMimeData(mimeData);\r\n         ^\r\nIn file included from /usr/include/qt/QtWidgets/qtreeview.h:37:0,\r\n                 from /usr/include/qt/QtWidgets/QTreeView:1,\r\n                 from /home/ilya/build/lxqt/nomacs/src/nomacs/ImageLounge/src/DkWidgets.h:55,\r\n                 from /home/ilya/build/lxqt/nomacs/src/nomacs/ImageLounge/src/DkThumbsWidgets.h:32,\r\n                 from /home/ilya/build/lxqt/nomacs/src/nomacs/ImageLounge/src/DkThumbsWidgets.cpp:28:\r\n/usr/include/qt/QtWidgets/qabstractitemview.h:48:7: ошибка: forward declaration of «class QDrag»\r\n class QDrag;\r\n       ^\r\n/home/ilya/build/lxqt/nomacs/src/nomacs/ImageLounge/src/DkThumbsWidgets.cpp:1400:37: error: invalid use of incomplete type «class QDrag»\r\n     Qt::DropAction dropAction = drag->exec(Qt::CopyAction);\r\n                                     ^\r\nIn file included from /usr/include/qt/QtWidgets/qtreeview.h:37:0,\r\n                 from /usr/include/qt/QtWidgets/QTreeView:1,\r\n                 from /home/ilya/build/lxqt/nomacs/src/nomacs/ImageLounge/src/DkWidgets.h:55,\r\n                 from /home/ilya/build/lxqt/nomacs/src/nomacs/ImageLounge/src/DkThumbsWidgets.h:32,\r\n                 from /home/ilya/build/lxqt/nomacs/src/nomacs/ImageLounge/src/DkThumbsWidgets.cpp:28:\r\n/usr/include/qt/QtWidgets/qabstractitemview.h:48:7: error: forward declaration of «class QDrag»\r\n class QDrag;\r\n"}}