Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1202 closed defect (fixed)

Compile problem with Qt 4.4.0 and NOUSEWBKIT=1

Reported by: Colin Marquardt Owned by: Chris Browet
Priority: major Milestone:
Component: merkaartor Version:
Keywords: Cc:

Description

I get the following problem when I try to compile after doing "qmake Merkaartor.pro NOUSEWEBKIT=1":

g++ -c -pipe -g -Wall -W -D_REENTRANT -DVERSION="\"0.13\"" -DREVISION="\"-SVN\"" -D_TTY_POSIX_ -DQT_SVG_LIB -DQT_XML_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/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I. -IRender -Iqextserialport -IGPS -ITools -Itmp -Itmp -o tmp/obj_debug/layermanager.o QMapControl/layermanager.cpp In file included from QMapControl/layermanager.cpp:23: QMapControl/browserimagemanager.h:27:23: error: qwebframe.h: No such file or directory QMapControl/browserimagemanager.h:28:25: error: qwebhistory.h: No such file or directory QMapControl/browserimagemanager.h:29:34: error: qwebhistoryinterface.h: No such file or directory QMapControl/browserimagemanager.h:30:27: error: qwebkitglobal.h: No such file or directory QMapControl/browserimagemanager.h:31:22: error: qwebpage.h: No such file or directory QMapControl/browserimagemanager.h:32:31: error: qwebpluginfactory.h: No such file or directory QMapControl/browserimagemanager.h:33:26: error: qwebsettings.h: No such file or directory QMapControl/browserimagemanager.h:34:22: error: qwebview.h: No such file or directory In file included from QMapControl/layermanager.cpp:23: QMapControl/browserimagemanager.h:46: error: expected class-name before '{' token QMapControl/browserimagemanager.h:51: error: 'QWebFrame' has not been declared QMapControl/browserimagemanager.h:126: error: ISO C++ forbids declaration of 'QWebView' with no type QMapControl/browserimagemanager.h:126: error: expected ';' before '*' token QMapControl/browserimagemanager.h:128: error: ISO C++ forbids declaration of 'QWebFrame' with no type QMapControl/browserimagemanager.h:128: error: expected ';' before '*' token

I am using Qt 4.4.0 (from Ubuntu's hardy-backports). The missing files normally seem to be provided by QtWebKit?. I did a make clean before running the compile.

Change History (3)

comment:1 Changed 11 years ago by Chris Browet

Status: newassigned

Agreed, there is a bug. But you know that 'NOUSEWBKIT=1' specifically instruct to not compile Yahoo support, do you?

Is there a reason for that? Otherwise, I'll just remove the option and test on the Qt version...

comment:2 Changed 11 years ago by Chris Browet

Resolution: fixed
Status: assignedclosed

(In [10896]) FIX : Compile problem with Qt 4.4.0 and NOUSEWBKIT=1 (fixes #1202)

comment:3 Changed 11 years ago by Colin Marquardt

I was just desperately trying to get a working Merkaartor again after the internal Webkit was removed (I still had some old lib lying around which was preventing Merkaartor from starting up as I found later), so I played with the most obvious options.

Note: See TracTickets for help on using tickets.