src/webview/webview.cpp: In member function 'virtual void
WebView::mouseMoveEvent(QMouseEvent*)':
src/webview/webview.cpp:128:3: error: 'QDrag' was not declared in this scope
QDrag *drag = new QDrag(this);
^
src/webview/webview.cpp:128:10: error: 'drag' was not declared in this scope
QDrag *drag = new QDrag(this);
^
src/webview/webview.cpp:128:21: error: expected type-specifier before 'QDrag'
QDrag *drag = new QDrag(this);
^
src/webview/webview.cpp:129:25: error: invalid use of incomplete type 'class
QMimeData'
QMimeData *mime = new QMimeData;
^
In file included from /usr/include/QtGui/QInputEvent:1:0,
from src/webview/webview.cpp:22:
/usr/include/QtGui/qevent.h:549:7: error: forward declaration of 'class
QMimeData'
class QMimeData;
^
src/webview/webview.cpp:130:7: error: invalid use of incomplete type 'class
QMimeData'
mime->setUrls(QList<QUrl>() << hitTest.linkUrl());
^
In file included from /usr/include/QtGui/QInputEvent:1:0,
from src/webview/webview.cpp:22:
/usr/include/QtGui/qevent.h:549:7: error: forward declaration of 'class
QMimeData'
class QMimeData;
^
src/webview/webview.cpp:131:7: error: invalid use of incomplete type 'class
QMimeData'
mime->setText(hitTest.linkUrl().toString());
^
In file included from /usr/include/QtGui/QInputEvent:1:0,
from src/webview/webview.cpp:22:
/usr/include/QtGui/qevent.h:549:7: error: forward declaration of 'class
QMimeData'
class QMimeData;
^
Makefile:2386: recipe for target 'release/obj/webview.o' failed
make: *** [release/obj/webview.o] Error 1
on Debian 3.16.7-ckt2-1 (2014-12-08) x86_64 GNU/Linux, using g++ (Debian
4.9.2-7) 4.9.2.
Original issue reported on code.google.com by infinity.blick.winkel@gmail.com on 14 Dec 2014 at 1:57
Original issue reported on code.google.com by
infinity.blick.winkel@gmail.com
on 14 Dec 2014 at 1:57