Skip to contentSkip to conversation

qt4: set QMAKE_COMPILER to gcc in mkspec

PATCH New Jonathan Liu 1 participant 1 message Jun 14, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt4: set QMAKE_COMPILER to gcc in mkspec

This avoids the following warning when running qmake:
Project WARNING: qmake spec does not announce the compiler family. Guessed gcc.

---
 meta/recipes-qt/qt4/qt4-4.8.4/g++.conf | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-qt/qt4/qt4-4.8.4/g++.conf +2 -0
index d34c62c..8755031 100644
@@ -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)
Signature · 1 line
1.8.3