export only 'host_bins' to pkg-config, rather than a random selection of tools
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Wed, 5 Dec 2012 19:54:09 +0000 (20:54 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 6 Dec 2012 11:49:02 +0000 (12:49 +0100)
commit787373d376785af56f3ea9abc7096c2c3522b5f0
tree45248a82a82fc92eb6b10753992a9d0fae582ec0
parentccea7b71142bf41d4f8e7cb413834135bfa2c81e
export only 'host_bins' to pkg-config, rather than a random selection of tools

the "export location" of the linguist tools was just bogus, and lconvert
was missing anyway. the two dbus tools and qdoc were missing, too.
generally, it seems useless to report the paths of some random tools -
instead, just report the install location of the host binaries and let
users figure out the complete paths themselves - this should be ok, as
we decided that distributors are not supposed to do tool renaming any
more.

for the binary path just use the final location, as the files won't be
used before installation anyway. this allows us removing the scary
generic prefix replace from the pc file installs.

and as a side effect this also fixes debug_and_release builds of core
and widgets by not loading various prf files prematurely and thereby
messing up the dir replacement magic.

Task-number: QTBUG-28286
Change-Id: I99de419301fc07fb923959db4bd5cab9072d1c31
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
mkspecs/features/qt_module.prf
src/corelib/corelib.pro
src/widgets/widgets.pro