webkitwidgets module cause link error(qmake5)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtbase-opensource-src (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
in the qt5 .pro file:
when add "QT += webkitwidgets",will cause link Error
# qmake && make
g++ -m64 -Wl,-O1 -o test main.o -L/usr/X11R6/lib64 -lQt5WebKitWidgets -lX11 -lxslt -lrt -lgio-2.0 -lgstapp-0.10 -lgstinterfaces
/usr/bin/ld: cannot find -lxslt
/usr/bin/ld: cannot find -lgio-2.0
/usr/bin/ld: cannot find -lgstapp-0.10
/usr/bin/ld: cannot find -lgstinterfaces
/usr/bin/ld: cannot find -lgstpbutils-0.10
/usr/bin/ld: cannot find -lgstvideo-0.10
/usr/bin/ld: cannot find -lgstbase-0.10
/usr/bin/ld: cannot find -lgstreamer-0.10
/usr/bin/ld: cannot find -lgobject-2.0
/usr/bin/ld: cannot find -lgmodule-2.0
/usr/bin/ld: cannot find -lgthread-2.0
/usr/bin/ld: cannot find -lxml2
/usr/bin/ld: cannot find -lglib-2.0
Because in the Makefile, some unused lib is in...
Makefile:
#######
LIBS = $(SUBLIBS) -L/usr/X11R6/lib64 -lQt5WebKitWidgets -lX11 -lxslt -lrt -lgio-2.0 -lgstapp-0.10 -lgstinterfaces
#######
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: qt5-qmake 5.0.1+dfsg-0ubuntu4
ProcVersionSign
Uname: Linux 3.8.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Sat Apr 6 07:09:31 2013
InstallationDate: Installed on 2013-03-09 (27 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: qtbase-
UpgradeStatus: Upgraded to raring on 2013-03-25 (11 days ago)
test.pro
####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######
# Automatically generated by qmake (3.0) ?? 4? 6 07:01:05 2013
#######
QT += widgets webkitwidgets
TEMPLATE = app
TARGET = test
INCLUDEPATH += .
# Input
SOURCES += main.cpp