[OE-core] [PATCH] qt4: set QMAKE_COMPILER to gcc in mkspec
Jonathan Liu
net147 at gmail.com
Fri Jun 14 13:15:37 UTC 2013
This avoids the following warning when running qmake:
Project WARNING: qmake spec does not announce the compiler family.
Guessed gcc.
Signed-off-by: Jonathan Liu <net147 at gmail.com>
---
meta/recipes-qt/qt4/qt4-4.8.4/g++.conf | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf b/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf
index d34c62c..8755031 100644
--- a/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf
+++ b/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf
@@ -2,6 +2,8 @@
# qmake configuration for common gcc
#
+QMAKE_COMPILER = gcc
+
QMAKE_CC = $(OE_QMAKE_CC)
QMAKE_CFLAGS += -pipe $(OE_QMAKE_CFLAGS)
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $(OE_QMAKE_CFLAGS)
--
1.8.3
More information about the Openembedded-core
mailing list