diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2011-04-03 17:19:00 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-04-03 20:11:25 +0200 |
commit | 9fd85d8168ccc210a03682dff844cca5fbb35349 (patch) | |
tree | 297a2c1d18dc98b5df4a144cb581aa74faac880b /package/grep | |
parent | e37804807e8afdbf0d7aebbb954adc774c6f2d3d (diff) |
qt: fix plugin installation and change plugin path
Since the conversion of Qt to GENTARGETS in
421cda1fd078f5fa7902f05bd1d2021fd101d9ea, plugin installation could
break in some situations, for example if SQL support was enabled, but
without any SQL driver: the sql plugin directory doesn't exist, but
our qt.mk wanted to copy it.
This patches simplifies the plugin handling a bit, and basically
copies all Qt plugins installed in the $(STAGING_DIR) to the
$(TARGET_DIR), assuming Qt has only built and installed the needed
plugins.
Moreover, instead of installing plugins to usr/plugins, which is a odd
location, we install them in usr/lib/qt/plugins. This requires a small
patch to Qt ./configure script so that even when -hostprefix is used,
the -plugindir option is taken into account.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/grep')
0 files changed, 0 insertions, 0 deletions