Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Compile problem with Qt 4.4.0 and NOUSEWBKIT=1 #1202

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Compile problem with Qt 4.4.0 and NOUSEWBKIT=1 #1202

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: ColinMarquardt
[Submitted to the original trac issue database at 8.53pm, Wednesday, 24th September 2008]

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.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 8.42am, Thursday, 25th September 2008]

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...

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 11.54am, Thursday, 25th September 2008]

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

@openstreetmap-trac
Copy link
Author

Author: ColinMarquardt
[Added to the original trac issue at 2.00pm, Thursday, 25th September 2008]

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant