[Merge] lp:~nick-dedekind/qtubuntu/cross-build-support into lp:qtubuntu

Nick Dedekind nick.dedekind at canonical.com
Fri Mar 11 10:36:10 UTC 2016


> Should this works with sbuild? It isn't specifying the cross-compile
> compatible qmake package as a build-dep:
> 
> cd build-android && qt5-qmake-arm-linux-gnueabihf
> "QMAKE_CXXFLAGS=-DPLATFORM_API_TOUCH"
> /«BUILDDIR»/qtubuntu-0.62+16.04.20160128.1
> /bin/sh: 1: qt5-qmake-arm-linux-gnueabihf: not found
> make[1]: *** [override_dh_auto_configure] Error 127
> 
> Or should I add qt5-qmake-arm-linux-gnueabihf to my chroot manually?

Add it manually. Since it's not needed for normal packaging, we decided not to add it as a dependency.

> 
> 
> Maybe you don't need this, but I find when Xcompiling qtubunt myself, I need
> to set
> export PKG_CONFIG_PATH=/usr/lib/arm-linux-
> gnueabihf/pkgconfig/:$PKG_CONFIG_PATH
> before it will succeed in my chroot

Here:
+export PKG_CONFIG_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
-- 
https://code.launchpad.net/~nick-dedekind/qtubuntu/cross-build-support/+merge/288312
Your team Ubuntu Phablet Team is requested to review the proposed merge of lp:~nick-dedekind/qtubuntu/cross-build-support into lp:qtubuntu.



More information about the Ubuntu-reviews mailing list