Only:

PKG_CONFIG = arm-linux-gnueabihf-pkg-config

works.

Not:

contains(DISTRO_OPTS, deb-multi-arch): \
 PKG_CONFIG = arm-linux-gnueabihf-pkg-config

nor:

contains(DISTRO_OPTS, deb-multi-arch): \
 PKG_CONFIG = $${CROSS_COMPILE}pkg-config

So it seems neither DISTRO_OPTS or CROSS_COMPILE is set in our case.

Do you think we could hard code it? At least this qmake.conf file is for
armhf only, and only for use with our cross compile toolchain.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1580981

Title:
  PKGCONFIG not working in SDK

Status in Client Developer Experience:
  Confirmed
Status in Ubuntu SDK IDE:
  New
Status in qtbase-opensource-src package in Ubuntu:
  Fix Released
Status in qtbase-opensource-src package in Ubuntu RTM:
  Fix Committed

Bug description:
  having this in a qmake .pro file:

  CONFIG += link_pkgconfig
  PKGCONFIG += url-dispatcher-1 qmenumodel

  works fine for native building, but fails for crossbuilding for armhf.

  https://codereview.qt-project.org/#/c/143276/2//ALL,unified

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to