Telem-GW6Lin-build-qtcreator

From Phobos Wiki
Revision as of 08:45, 22 December 2011 by Roland (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Edit your build configuration to look like this:

Build settings PC-DEBUG

General

Use shadow building

Build Steps

qmake

qmake build configuration
debug
Additional arguments

This makes qmake load necessary defines from file linux-debug.cache

-cache ${SOURCEDIR}/linux-debug.cache

make

make arguments

define number of cores to use for building, for example 2

-j2

Run settings PC-DEBUG

Arguments

--hw-conf gw6.hardware --user-conf gw6.user --log-folder log/ --app-name gw6

mkspecs/arm-linux-g++

#
# qmake configuration for CodeSourcery G++ ( arm-none-linux-gnueabi-g++ )
#
# Target Systems:
# Systems running "full" Linux, i.e., Linux on CPUs with an MMU. Use Sourcery G++ to build both the Linux kernel and applications.
#

MAKEFILE_GENERATOR	= UNIX
TEMPLATE		= app
CONFIG			+= warn_on release incremental

# These defines are available in every file during compilation
#DEFINES 		+= GATEWAY6_ARM MULTI_THREADING

QMAKE_INCREMENTAL_STYLE = sublib
#QMAKE_CFLAGS_RELEASE	+= -O1

include(../common/g++.conf)
include(../common/linux.conf)

QMAKE_CXX	= arm-none-linux-gnueabi-g++
QMAKE_LINK	= arm-none-linux-gnueabi-g++
QMAKE_CFLAGS_RELEASE	= -O0

load(qt_config)