summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-04-03 21:52:54 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-04-17 16:10:02 +0200
commitb78a292a584f084cc15715c3a68693b008ef6682 (patch)
tree8c6c649c586d57b615b08e3e59241002e0d6c52d /recipes-qt/qt5/qtbase
parentde250e3d0e437df09a8f23ad7fdb5fc39f17f7e8 (diff)
downloadmeta-qt5-b78a292a584f084cc15715c3a68693b008ef6682.tar.gz
qtbase: replace g++.conf and linux.conf with qmake.conf
* g++.conf and linux.conf were outdated a lot, lacking new options like QMAKE_COMPILER causing a lot of warning like: Project WARNING: qmake spec does not announce the compiler family. Guessed gcc. * Instead of replacing whole common files, use custom qmake.conf which overwrites common setting after including it
Diffstat (limited to 'recipes-qt/qt5/qtbase')
-rw-r--r--recipes-qt/qt5/qtbase/qmake.conf39
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase/qmake.conf b/recipes-qt/qt5/qtbase/qmake.conf
new file mode 100644
index 00000000..d60288e3
--- /dev/null
+++ b/recipes-qt/qt5/qtbase/qmake.conf
@@ -0,0 +1,39 @@
1#
2# qmake configuration for linux-g++ with modifications for building with OpenEmbedded
3#
4
5MAKEFILE_GENERATOR = UNIX
6CONFIG += incremental gdb_dwarf_index
7QMAKE_INCREMENTAL_STYLE = sublib
8
9include(../common/linux.conf)
10
11# QMAKE_<TOOL> (moc, uic, rcc) are gone, overwrite only ar and strip
12QMAKE_AR = $(OE_QMAKE_AR) cqs
13QMAKE_STRIP = $(OE_QMAKE_STRIP)
14
15include(../common/gcc-base-unix.conf)
16
17# *FLAGS from gcc-base.conf
18QMAKE_CFLAGS += $(OE_QMAKE_CFLAGS)
19QMAKE_CXXFLAGS += $(OE_QMAKE_CXXFLAGS)
20QMAKE_LFLAGS += $(OE_QMAKE_LDFLAGS)
21
22include(../common/g++-unix.conf)
23
24# tc settings from g++-base.conf
25QMAKE_COMPILER = $(OE_QMAKE_COMPILER)
26QMAKE_CC = $(OE_QMAKE_CC)
27QMAKE_CXX = $(OE_QMAKE_CXX)
28
29QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $(OE_QMAKE_CFLAGS)
30
31QMAKE_LINK = $(OE_QMAKE_LINK)
32QMAKE_LINK_SHLIB = $(OE_QMAKE_LINK)
33QMAKE_LINK_C = $(OE_QMAKE_LINK)
34QMAKE_LINK_C_SHLIB = $(OE_QMAKE_LINK)
35
36# for the SDK
37isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $(OE_QMAKE_QT_CONFIG)
38
39load(qt_config)