FTBFS: error: variable 'QNetworkProxy proxy' has initializer but incomplete type

Bug #1275497 reported by Andreas Moog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cutycapt (Ubuntu)
Fix Released
High
Unassigned

Bug Description

make[1]: Entering directory `/build/buildd/cutycapt-0.0~svn6'
g++ -c -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++ -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 function 'int main(int, char**)':
CutyCapt.cpp:503:21: error: variable 'QNetworkProxy proxy' has initializer but incomplete type
       QNetworkProxy proxy = QNetworkProxy(QNetworkProxy::HttpProxy,
                     ^
CutyCapt.cpp:503:43: error: incomplete type 'QNetworkProxy' used in nested name specifier
       QNetworkProxy proxy = QNetworkProxy(QNetworkProxy::HttpProxy,
                                           ^
CutyCapt.cpp:504:57: error: invalid use of incomplete type 'class QNetworkProxy'
         p.host(), p.port(80), p.userName(), p.password());
                                                         ^
In file included from /usr/include/qt4/QtWebKit/qgraphicswebview.h:24:0,
                 from /usr/include/qt4/QtWebKit/QtWebKit:3,
                 from CutyCapt.cpp:22:
/usr/include/qt4/QtWebKit/qwebpage.h:36:7: error: forward declaration of 'class QNetworkProxy'
 class QNetworkProxy;
       ^
make[1]: *** [CutyCapt.o] Error 1
make[1]: Leaving directory `/build/buildd/cutycapt-0.0~svn6'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20140131-0434
FAILED [dpkg-buildpackage died]

Full log at https://launchpadlibrarian.net/164415282/buildlog_ubuntu-trusty-i386.cutycapt_0.0~svn6-3_FAILEDTOBUILD.txt.gz

Tags: ftbfs trusty
Revision history for this message
Mateusz Łukasik (mati75) wrote :

It is solve in Debian version 0.0~svn6-3.1

Changed in cutycapt (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.