-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with compilation #3
Comments
I run into this problem as well (I currently maintain the AUR-package for Arch Linux) and solved it by adding #include <QNetworkReply>
#include <QSslError> to CutyCapt.cpp |
now I have |
Sorry meant the .hpp --- cutycapt/cutycapt-code/CutyCapt/CutyCapt.hpp 2013-07-06 16:04:16.028585091 +0200
+++ CutyCapt.hpp 2013-07-06 15:59:06.000000000 +0200
@@ -1,4 +1,6 @@
#include <QtWebKit>
+#include <QNetworkReply>
+#include <QSslError>
#if QT_VERSION >= 0x050000
#include <QtWebKitWidgets>``` |
ohh, |
1. Now compiles successfully on Ubuntu. This is directly related to Issue hoehrmann#3. 2. Now supports `make install`. 3. Added .gitignore for built output.
this way it worked |
had similar issue.... the solution worked for me too... cant is be fixed in the SVN repo directly |
Worked... |
Cool! Worked for me, thank you! |
Worked for me as well. |
$ make
g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I. -o CutyCapt.o CutyCapt.cpp
CutyCapt.cpp: In member function ‘void CutyCapt::handleSslErrors(QNetworkReply_, QList)’:
CutyCapt.cpp:246:10: error: invalid use of incomplete type ‘class QNetworkReply’
In file included from /usr/include/qt4/QtWebKit/qgraphicswebview.h:24:0,
from /usr/include/qt4/QtWebKit/QtWebKit:3,
from CutyCapt.cpp:27:
/usr/include/qt4/QtWebKit/qwebpage.h:40:7: error: forward declaration of ‘class QNetworkReply’
CutyCapt.cpp: At global scope:
CutyCapt.cpp:244:1: warning: unused parameter ‘errors’ [-Wunused-parameter]
make: *_* [CutyCapt.o] Error 1
The text was updated successfully, but these errors were encountered: