Fix QT4 moc, cflags libs detection on dual QT3/Qt4 systems
authorAlexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Fri, 10 Sep 2010 17:01:14 +0000 (19:01 +0200)
committerMichal Marek <mmarek@suse.cz>
Mon, 13 Sep 2010 11:01:30 +0000 (13:01 +0200)
commit20f4ad8a19ad01405f9d6b3110d6eb93666ae21e
tree9bc8e816bc3e35f13059cdb3dc0298770e4bd628
parentaee08ed499d65f78373b716fcacefcde1ceb7ade
Fix QT4 moc, cflags libs detection on dual QT3/Qt4 systems

On system with QT3 and QT4 qmake in PATH may be from QT3. So we use
pkg-config for proper QT4 detection.
By reqesting cflags and libs for either QtCore, QtGui and QtSupport include
dirs and libs get listed several times, but so we won't mis anything

Signed-off-by: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/Makefile