[Interest] Qt5 Installation

ganesh.sathyanarayanan ganesh.sathyanarayanan at gmail.com
Tue Sep 4 13:31:11 CEST 2012


Hi,

Sorry if this is a very silly question, but I run into a problem when cross
compiling and installing Qt5 (alpha and also recently released beta).

I configure Qt5 for cross compiling using --sysroot option, pointing to my
target's SDK folder. Like this: ./configure --sysroot /home/gsathyan/sdk
--prefix /opt/qt5 .....

The sdk folder contains a /usr/include and a /usr/lib folders with stuff
for my target device. I want to install Qt in a specific place, say
/opt/qt5 and I give this to --prefix option during configure.

But in /opt/qt5 only binaries (for host -- such as qmake, rcc, syncqt etc)
and mkspecs are installed. All target related stuff such as include, lib,
plugins etc are getting installed in a path which is a combo of my
--sysroot and --prefix values. It gets installed in
/home/gsathyan/sdk/opt/qt5

I tried using the plugindir libdir configure options, but still no luck. I
also tried exporting QTDIR before giving "make install" as referred to in
http://qt-project.org/wiki/Building_Qt_5_from_Git but still the same...
I want to install qt5 in its entirety in an absolute path I provide, and be
self-contained, ie not reference the installation path between various Qt
libraries.

Please provide your suggestion.

Many thanks
Ganesh.S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120904/9ab60450/attachment.html>


More information about the Interest mailing list