From 791cb024637e865e98b336bc63b8e1fcbae3befc Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 22 Aug 2012 14:10:35 +0200 Subject: make QMakeMetaInfo a little less inefficient with libtool .la files don't read the spec from scratch for every library just to get QMAKE_LFLAGS_RPATH. we can perfectly use our current project for that purpose. Change-Id: I4e408b3fd5de81652181df032aa53cd8f2f8f806 Reviewed-by: Joerg Bornemann --- qmake/meta.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'qmake/meta.h') diff --git a/qmake/meta.h b/qmake/meta.h index 71d7f5f2de..bfdb1088dc 100644 --- a/qmake/meta.h +++ b/qmake/meta.h @@ -48,16 +48,19 @@ QT_BEGIN_NAMESPACE +class QMakeProject; + class QMakeMetaInfo { bool readLibtoolFile(const QString &f); bool readPkgCfgFile(const QString &f); + QMakeProject *conf; QHash vars; QString meta_type; static QHash > cache_vars; void clear(); public: - QMakeMetaInfo(); + QMakeMetaInfo(QMakeProject *_conf); bool readLib(QString lib); static QString findLib(QString lib); -- cgit v1.2.3