Quantcast
Channel: Qt DevNet forums: Qt WebKit
Viewing all articles
Browse latest Browse all 542

Adding webkit webkitwidgets to .pro causes undefined references during linking.

$
0
0
Greetings: I am using Qt 5.0.0 on Redhat 6.3 I wanted to add a QWebView to a project I am currently working on. When I add ‘webkit’ and ‘webkitwidgets’ to the QT variable in the .pro file I am getting ‘undefined reference’ errors during linking. I have not as of yet actually included a QWebView in any headers yet. The start of of my .pro file: #————————————————————————- # Project created by QtCreator 2013-02-19T11:40:20 # #————————————————————————- QT += core gui network webkit greaterThan(QT_MAJOR_VERSION, 4): QT += widgets webkitwidgets Compile output: g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -fPIE -DQT_QML_DEBUG -DQT_DECLARATIVE _DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_QML_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB – DQT_CORE_LIB -I../../../../../../../../../Qt5.0.0/5.0.0/gcc_64/mkspecs/linux-g++-64 -I../../yardmaster -I../../../../include -I../../../../../../../../../Qt5.0.0/5.0.0/gcc_64/include -I../../../../../../../../../Qt5.0.0/5.0.0/gcc_64/include/QtWebKitWidgets -I../../../../../../../../../Qt5.0.0/5.0.0/gcc_64/include/QtQuick -I../../../../../../../../../Qt5.0.0/5.0.0/gcc_64/include/QtOpenGL -I../../../../../../../../../Qt5.0.0/5.0.0/gcc_64/include/QtPrintSupport -I../../../../../../../../../Qt5.0.0/5.0.0/gcc_64/include/QtQml -I../../../../../../../../../Qt5.0.0/5.0.0/gcc_64/include/QtWebKit -I../../../../../../../../../Qt5.0.0/5.0.0/gcc _64/include/QtWidgets -I../../../../../../../../../Qt5.0.0/5.0.0/gcc_64/include/QtNetwork -I../../../../../../../../../Qt5.0.0/5.0.0/gcc_64/include/QtGui -I../../../../../../../../../Qt5.0.0/5.0.0/gcc_64/include/QtCore -I. -I. -I. -o moc_lo ginwindow.o moc_loginwindow.cpp g++ -m64 -Wl,-rpath,/home/dmb/Qt5.0.0/5.0.0/gcc_64 -Wl,-rpath,/home/dmb/Qt5.0.0/5.0.0/gcc_64/lib -o yms main.o mainwindow.o trackwidget.o consistwidget.o rsuwid get.o track.o train.o consist.o rsu.o yardmodel.o observer.o observable.o notify.o consistwindow.o yardcontroller.o loginwindow.o moc_mainwindow.o moc_trackwidget.o moc_consistwidget.o moc_rsuwidget.o moc_consistwindow.o moc_yardcontroller.o moc_loginwindow.o -L/usr/X11R6/lib64 -L/usr/lib64 -L/home/dmb/dev/qtextlib -L/home/dmb/Qt5.0.0/5.0.0/gcc_64/lib -lQt5WebKitWidgets -lQt5Quick -lQt5OpenGL -lQt5PrintSupport -lQt5Qml -lQt5WebKit -lQt5Widgets -lQt5Network -lQt5Gui -lQt5Cor e -lGL -lpthread /home/dmb/Qt5.0.0/5.0.0/gcc_64/lib/libQt5WebKit.so: undefined reference to `deflateBound@ZLIB_1.2.0’ /home/dmb/Qt5.0.0/5.0.0/gcc_64/lib/libQt5WebKit.so: undefined reference to `g_variant_ref’ /home/dmb/Qt5.0.0/5.0.0/gcc_64/lib/libQt5WebKit.so: undefined reference to `gst_x_overlay_set_window_handle’ /home/dmb/Qt5.0.0/5.0.0/gcc_64/lib/libQt5WebKit.so: undefined reference to `gst_query_parse_nth_buffering_range’ /home/dmb/Qt5.0.0/5.0.0/gcc_64/lib/libQt5WebKit.so: undefined reference to `g_va riant_unref’ /home/dmb/Qt5.0.0/5.0.0/gcc_64/lib/libQt5WebKit.so: undefined reference to `gst_ element_link_pads_full’ /home/dmb/Qt5.0.0/5.0.0/gcc_64/lib/libQt5WebKit.so: undefined reference to `gst_is_initialized’ /home/dmb/Qt5.0.0/5.0.0/gcc_64/lib/libQt5WebKit.so: undefined reference to `gst_query_get_n_buffering_ranges’ collect2: ld returned 1 exit status

Viewing all articles
Browse latest Browse all 542

Trending Articles