]> code.ossystems Code Review - openembedded-core.git/commit
nativesdk-qt4-tools: create qt.conf file
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Mon, 28 Oct 2013 20:46:20 +0000 (22:46 +0200)
committerRobert Yang <liezhi.yang@windriver.com>
Wed, 11 Dec 2013 02:12:21 +0000 (21:12 -0500)
commit0e71811a1c3285a71cbca682cb62c1563d3e74ee
tree20e15d4f83e95e52d7cd1f60e086455592f55e72
parent7c6504c6c059ba6b37f88143801ac8137267cf83
nativesdk-qt4-tools: create qt.conf file

When installing the SDK to another location than the default one, qmake
will look for libraries, headers, etc. in the default location. That's
because the paths are hard-coded in the binary itself. Luckily, QT
allows to override this using a qt.conf file installed in the same
directory with the application executable. However, we already have a
patch that allows for the installation of qt.conf in another place and
read the location from QT_CONF_PATH environment variable.

Hence, install qt.conf in ${sysconfdir}. This will allow other apps, that
use QLibraryInfo class, to find it.

[YOCTO #5339]

(From OE-Core master rev: 23f88695683a8e428375a8ccb6be935347a8768c)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-qt/qt4/nativesdk-qt4-tools.inc