[Development] unable to cross-compile the QT5 alpha.
haithem rahmani
haithem.rahmani at gmail.com
Wed Apr 4 16:24:11 CEST 2012
Hi,
I'm trying to cross-compile the QT5 alpha, for ST SoCs
I configured it as follows:
$> ./configure -opensource -confirm-license -no-eglfs -no-xcb -xplatform
linux-sh4-g++ -prefix /home/rahmanih/qt-5.0.0 -no-opengl -no-xrender
-no-xkb -no-xinerama -no-xshape -no-xvideo -no-xsync -no-xinput -no-xinput2
-no-egl -no-xcursor -no-xfixes -no-xrandr
even though I explicitly passed the option " -no-opengl", I'm getting the
following error:
$>
/opt/STLinux-2.4/devkit/sh4/bin/../lib/gcc/sh4-linux/4.6.3/../../../../sh4-linux/bin/ld:
cannot find -lGL
I checked the Makefile under "qtbase/src/widgets" and I found the following
line:
LIBS = $(SUBLIBS)
-L/home/rahmanih/qt-everywhere-opensource-src-5.0.0/qtbase/lib -lQtGui
-L/home/rahmanih/qt-everywhere-opensource-src-5.0.0/qtbase/lib -lQtCore
-lpthread -lGL
can anyone tell me where does this "'-lGL" come from?
I can't find anywhere in the "*.pr[oi]" files.
thanks.
--
*
"If you ask a question - you will be a fool for 5 minutes, otherwise
ignorant for rest of your life"
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120404/e662b7be/attachment.html>
More information about the Development
mailing list