source: src/global.pri @ c13a488

Last change on this file since c13a488 was 4498f2e, checked in by gregor herrmann <gregor@…>, 5 years ago

bump version after release

  • Property mode set to 100644
File size: 930 bytes
Line 
1# This is 'global.pri' file which defines
2# GLOBAL definitions for the project
3# include this file in each "*.pro" file, where it's needed
4# USAGE: include(./global.pri)
5
6# VERSION
7VERSION = 0.6.5
8DEFINES += VERSION=\\\"$$VERSION\\\"
9
10# Define 'MAEMO' specific CONFIG/DEFINE
11# To handle 'MAEMO' specific soruces/code
12DISTRO = $$system(cat /etc/issue)
13contains( DISTRO, [Mm]aemo ) {
14    # for 'MAEMO' specific source code parts
15    DEFINES += MAEMO
16    # for eg. including 'MAEMO' specific files
17    CONFIG += maemo
18}
19
20contains( DISTRO, [Ii]nternet ) {
21    contains( DISTRO, [Tt]ablet ) {
22        # Nokia N810 device
23        DEFINES += N810
24    }
25}
26
27# gcc 4.2.1 on Maemo doesn't understand anything newer then c++98.
28# make sure we explicitly add the flag even when building
29# with a modern compiler.
30# Only under Qt4 because Qt5 needs c++11
31unix: {
32    equals( QT_MAJOR_VERSION, 4 ) {
33        QMAKE_CXXFLAGS += -std=c++98
34    }
35}
Note: See TracBrowser for help on using the repository browser.