PDA

View Full Version : cannot find lQtWebKit



QT-embedded
15th April 2010, 10:44
Hi,

I am trying to 'gmake' the "fancybrowser' application from QT examples/webkit but I get following error. Can you please help me what can I do to remove this error. I am using the qt-everywhere-opensource-src-4.6.2

/opt/omap-evm/toolchain/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lQtWebKit
collect2: ld returned 1 exit status
gmake: *** [fancybrowser] Error 1

here some text of makefile. due to size restriction I cannot paste it completely here. but if you need then I will post it later part in next thread.

################################################## ###########################
# Makefile for building: fancybrowser

####### Compiler, tools and options

CC = /opt/omap-evm/toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-gcc
CXX = /opt/omap-evm/toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-g++
DEFINES = -DQT_NO_QWS_CURSOR -DQT_QWS_CLIENTBLIT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS = -pipe -fno-exceptions -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS = -pipe -fno-exceptions -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -D_REENTRANT $(DEFINES)
INCPATH = -I../../mkspecs/qws/linux-omap3-g++ -I. -I../../include/QtCore -I../../include/QtNetwork -I../../include/QtGui -I../../include/QtWebKit -I../../include -I.moc/release-shared-emb-arm -I/opt/OMAP35x_Graphics_SDK_3_01_00_02/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include -I/opt/OMAP35x_Graphics_SDK_3_01_00_02/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include -I/opt/OMAP35x_Graphics_SDK_3_01_00_02/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include -I/opt/OMAP35x_Graphics_SDK_3_01_00_02/include -I/opt/OMAP35x_Graphics_SDK_3_01_00_02/GFX_Linux_SDK/OVG/SDKPackage/Builds/OVG/Include
LINK = /opt/omap-evm/toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-g++
LFLAGS = -Wl,-rpath-link,/opt/qt-everywhere-opensource-src-4.6.2/lib -fno-exceptions -Wl,-O1 -Wl,-rpath,/opt/qt-everywhere-opensource-src-4.6.2/lib -Wl,-rpath,/opt/qt-everywhere-opensource-src-4.6.2/lib -Wl,-rpath,/opt/OMAP35x_Graphics_SDK_3_01_00_02/gfx_rel_es3.x
LIBS = $(SUBLIBS) -L/opt/qt-everywhere-opensource-src-4.6.2/lib -L/opt/OMAP35x_Graphics_SDK_3_01_00_02/gfx_rel_es3.x -lQtWebKit -L/opt/qt-everywhere-opensource-src-4.6.2/lib -L/opt/OMAP35x_Graphics_SDK_3_01_00_02/gfx_rel_es3.x -lQtGui -lQtNetwork -lQtCore -lpthread
AR = /opt/omap-evm/toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-ar cqs
RANLIB =
QMAKE = /opt/qt-everywhere-opensource-src-4.6.2/bin/qmake
TAR = tar -cf
COMPRESS = gzip -9f
COPY = cp -f
SED = sed
COPY_FILE = $(COPY)
COPY_DIR = $(COPY) -r
STRIP = /opt/omap-evm/toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-strip
INSTALL_FILE = install -m 644 -p
INSTALL_DIR = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE = rm -f
SYMLINK = ln -f -s
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p