qt4: set QMAKE_COMPILER to gcc in mkspec

Submitted by Jonathan Liu on June 14, 2013, 1:15 p.m.

Details

Message ID 1371215737-22887-1-git-send-email-net147@gmail.com
State Accepted
Commit 6c78f629323bea0be44181d60e3ce45be0416093
Headers show

Commit Message

Jonathan Liu June 14, 2013, 1:15 p.m.
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@gmail.com>
---
 meta/recipes-qt/qt4/qt4-4.8.4/g++.conf | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

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)