ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] Compile Qt5 under LTIB?


From: Peter Barada
Subject: [Ltib] Compile Qt5 under LTIB?
Date: Fri, 27 Sep 2013 14:41:27 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

Anyone have luck building Qt5 under LTIB?  I've been trying and am not
having success.

Using the release
http://download.qt-project.org/official_releases/qt/5.1/5.1.1/single/qt-everywhere-opensource-src-5.1.1.tar.gz


I tried to target a beagleboard (as a step to getting it to run on my
OMAP dm37x board) using the following %Build stanza in a new
qtopia-5.1.1.spec file:

%Build

export PATH="/usr/bin/:$PATH"

export AR=''
export CC=''
export CXX=''
export LD=''

export QMAKESPEC=""
export PKG_CONFIG="pkg-config --define-variable=prefix=$TOP/rootfs/usr/ " 
export PKG_CONFIG_PATH=$TOP/rootfs/usr/lib/pkgconfig 
export PKG_CONFIG_SYSROOT=$TOP/rootfs/

./configure -opensource -confirm-license -device linux-beagleboard-g++
-device-option CROSS_COMPILE=$TOOLCHAIN_PATH/bin/arm-none-linux-gnueabi-
-no-eglfs -no-kms -no-icu -no-xcb -no-c++11

make -j1

I modified the source via the attached patch (to fix
https://bugreports.qt-project.org/browse/QTBUG-33300), and now it fails
with:

Project ERROR: Unknown module(s) in QT: quick
make[3]: *** [sub-declarative-radio-make_first] Error 3
make[3]: Leaving directory
`/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0-qt5/rpm/BUILD/qt-everywhere-opensource-src-5.1.1/qtmultimedia/examples/multimedia'
make[2]: *** [sub-multimedia-make_first] Error 2
make[2]: Leaving directory
`/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0-qt5/rpm/BUILD/qt-everywhere-opensource-src-5.1.1/qtmultimedia/examples'
make[1]: *** [sub-examples-make_first] Error 2
make[1]: Leaving directory
`/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0-qt5/rpm/BUILD/qt-everywhere-opensource-src-5.1.1/qtmultimedia'
make: *** [module-qtmultimedia-make_first] Error 2
error: Bad exit status from
/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0-qt5/tmp/rpm-tmp.17783
(%build)

I can't build with the "quick" module since I don't have OpenGL in my
world (wonder why Qt5 didn't figure this out from the "-no-opengl"
confugure option) but trying to add "-skip quick" causes Qt5 configure
to fail with "no such module qtquick".

Any help on getting Qt5 to build under LTIB is appreciated.  Thanks in
advance!

-- 
Peter Barada
address@hidden

Attachment: qtopia-5.1.1-fix-configure-window-container.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]