Cross-Compiling LQT

31 views
Skip to first unread message

Neil Jones

unread,
Apr 26, 2012, 12:08:21 PM4/26/12
to lqt-bindings
Has Anyone tried Cross-compiling LQT ?

I'm trying to cross-compile LQT under buildroot (http://
buildroot.uclibc.org/) but it is failing as it is building ccptoxml
using the cross-compiler not the native compiler (which works) and
then fails when trying to exec the binary.

Its fairly easy to get buildroot to build host tools needed to build
apps, but I only want it to build cpptoxml not the whole of LQT, I
dont really have much experience with cmake, is there a make target to
build just cpptoxml (and any other host tools i would need).

any help appreciated.

Cheers

Neil

Michal Kottman

unread,
Apr 26, 2012, 2:33:28 PM4/26/12
to lqt-bi...@googlegroups.com
The cpptoxml folder is a self-contained CMake project. If you need to
create JUST the cpptoxml, you can do this:

cd /path/to/lqt/cpptoxml
mkdir build
cd build
cmake ..

Which will generate a (host) Makefile for you. Running make will
compile the cpptoxml executable.
Reply all
Reply to author
Forward
0 new messages