[webkit-qt] Build Issues

Matt Cote atm1234 at gmail.com
Thu Sep 15 16:44:21 PDT 2011


Hi.  I am having what appears to be the same issue described here in an
earlier mailing list post:

http://web.archiveorange.com/archive/v/EvKQjfnFVhrsytyEbuli

I am building on centos 6 with QT 4.7.4.

make[2]: Entering directory
`/home/mcot/Downloads/WebKit-r95080/WebKitBuild/Release/WebKit/qt/tests/qwebframe'
/opt/QtSDK/Desktop/Qt/474/gcc/bin/moc -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG
-DTESTS_SOURCE_DIR=\"/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests/\"
-DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB
-I/opt/QtSDK/Desktop/Qt/474/gcc/mkspecs/default
-I/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests/qwebframe
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtCore
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtNetwork
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtGui
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtTest
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtDeclarative
-I/opt/QtSDK/Desktop/Qt/474/gcc/include
-I/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests
-I/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/Api
-I/home/mcot/Downloads/WebKit-r95080/Source -I../../../../include/QtWebKit
-I../../../../include -I.
-I/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests/qwebframe -I.
/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp
-o tst_qwebframe.moc
/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp:68:
Warning: Property declaration writeOnlyProperty has no READ accessor
function. The property will be invalid.
g++ -c -m64 -pipe -Wall -Wextra -Wreturn-type -fno-strict-aliasing
-Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter
-Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn
-Winit-self -Werror -O2 -D_REENTRANT -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG
-DTESTS_SOURCE_DIR=\"/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests/\"
-DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB
-I/opt/QtSDK/Desktop/Qt/474/gcc/mkspecs/default
-I/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests/qwebframe
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtCore
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtNetwork
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtGui
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtTest
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtDeclarative
-I/opt/QtSDK/Desktop/Qt/474/gcc/include
-I/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests
-I/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/Api
-I/home/mcot/Downloads/WebKit-r95080/Source -I../../../../include/QtWebKit
-I../../../../include -I.
-I/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests/qwebframe -I. -o
obj/release/tst_qwebframe.o
/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp
/opt/QtSDK/Desktop/Qt/474/gcc/bin/rcc -name tst_qwebframe
/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.qrc
-o qrc_tst_qwebframe.cpp
g++ -c -m64 -pipe -Wall -Wextra -Wreturn-type -fno-strict-aliasing
-Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter
-Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn
-Winit-self -Werror -O2 -D_REENTRANT -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG
-DTESTS_SOURCE_DIR=\"/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests/\"
-DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB
-I/opt/QtSDK/Desktop/Qt/474/gcc/mkspecs/default
-I/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests/qwebframe
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtCore
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtNetwork
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtGui
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtTest
-I/opt/QtSDK/Desktop/Qt/474/gcc/include/QtDeclarative
-I/opt/QtSDK/Desktop/Qt/474/gcc/include
-I/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests
-I/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/Api
-I/home/mcot/Downloads/WebKit-r95080/Source -I../../../../include/QtWebKit
-I../../../../include -I.
-I/home/mcot/Downloads/WebKit-r95080/Source/WebKit/qt/tests/qwebframe -I. -o
obj/release/qrc_tst_qwebframe.o qrc_tst_qwebframe.cpp
g++ -m64 -Wl,-O1
-Wl,-rpath,/home/mcot/Downloads/WebKit-r95080/WebKitBuild/Release/lib
-Wl,-rpath,/opt/QtSDK/Desktop/Qt/474/gcc/lib -o tst_qwebframe
obj/release/tst_qwebframe.o obj/release/qrc_tst_qwebframe.o
 -L/home/mcot/Downloads/WebKit-r95080/WebKitBuild/Release/lib
-L/opt/QtSDK/Desktop/Qt/474/gcc/lib -lQtWebKit -lQtDeclarative -lQtTest
-lQtGui -lQtNetwork -lQtCore -lpthread
obj/release/tst_qwebframe.o: In function `URLSetter::execute()':
tst_qwebframe.cpp:(.text+0x734): undefined reference to
`QWebFrame::setUrl(QUrl const&)'
tst_qwebframe.cpp:(.text+0x761): undefined reference to
`QWebFrame::load(QUrl const&)'
obj/release/tst_qwebframe.o: In function
`MyQObject::qt_metacall(QMetaObject::Call, int, void**)':
tst_qwebframe.cpp:(.text+0x1679): undefined reference to
`QWebElement::QWebElement(QWebElement const&)'
tst_qwebframe.cpp:(.text+0x1684): undefined reference to
`QWebElement::operator=(QWebElement const&)'
tst_qwebframe.cpp:(.text+0x168c): undefined reference to
`QWebElement::~QWebElement()'
tst_qwebframe.cpp:(.text+0x2558): undefined reference to
`QWebElement::operator=(QWebElement const&)'

This is my first time building on this machine, so I might be doing
something obviously wrong.

Here is additional info if needed:

[mcot at localhost WebKit-r95080]$ echo $QTDIR
/opt/QtSDK/Desktop/Qt/474/gcc
[mcot at localhost WebKit-r95080]$ qmake --version
QMake version 2.01a
Using Qt version 4.7.4 in /opt/QtSDK/Desktop/Qt/474/gcc/lib

[mcot at localhost lib]$ pwd
/home/mcot/Downloads/WebKit-r95080/WebKitBuild/Release/lib
[mcot at localhost lib]$ ls
libQtWebKit.prl  libQtWebKit.so  libQtWebKit.so.4  libQtWebKit.so.4.10
 libQtWebKit.so.4.10.0  pkgconfig  plugins

After the build fails I also have libQtWebKit.so.4.10 libs even though I'm
using 4.7.4.

Any ideas?  Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20110915/d4f254b1/attachment.html>


More information about the webkit-qt mailing list