~thomas-moenicke/phablet-extras/maliit-framework-0.99-server

« back to all changes in this revision

Viewing changes to maliit-framework.pro

  • Committer: Thomas Moenicke
  • Date: 2013-06-27 13:30:14 UTC
  • Revision ID: thomas.moenicke@canonical.com-20130627133014-rcnuf6o025d2e674
updated files in root dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
        \\n\\t MALIIT_DEFAULT_HW_PLUGIN : Default hardware keyboard plugin \
11
11
        \\n\\t MALIIT_SERVER_ARGUMENTS : Arguments to use for starting maliit-server by D-Bus activation \
12
12
        \\nRecognised CONFIG flags: \
 
13
        \\n\\t nohwkeyboard : Disable the support for the hardware keyboard \
13
14
        \\n\\t enable-contextkit : Build contextkit support (for monitoring hardware keyboard status) \
14
15
        \\n\\t enable-dbus-activation : Enable dbus activation support for maliit-server \
15
 
        \\n\\t disable-dbus : Disable dbus communication backend \
16
 
        \\n\\t enable-qdbus : Enable QtDBus implementation for the DBus communication backend \
17
16
        \\n\\t notests : Do not build tests \
18
 
        \\n\\t noqml : Do not build Quick QML Plugins Interface\
19
 
        \\n\\t nogtk : Do not build GTK+ input method module, nor the glib-based application support libraries\
20
17
        \\n\\t nodoc : Do not build documentation\
21
 
        \\n\\t disable-gtk-cache-update : Do not update GTK2/3 input method caches (used for packaging) \
22
18
        \\n\\t local-install : Install everything underneath PREFIX, nothing to system directories reported by GTK+, Qt, DBus etc. \
23
 
        \\n\\t disable-background-translucency : Do not set translucent background hint on surfaces (workaround for non-compositing WMs) \
24
19
        \\n\\t wayland : Compile with support for wayland \
 
20
        \\n\\t qt5-inputcontext : Compile with Qt5 input context, replaces the one currently provided by Qt \
 
21
        \\n\\t noxcb : Compile without xcb support \
25
22
        \\nInfluential environment variables: \
26
23
        \\n\\t PKG_CONFIG_PATH : Override standard directories to look for pkg-config information \
27
24
        \\nExamples: \
36
33
    !build_pass:system(echo -e \"$$config_string\")
37
34
}
38
35
 
39
 
CONFIG += ordered debug console
 
36
CONFIG += ordered
40
37
TEMPLATE = subdirs
41
38
 
42
 
SUBDIRS = common
43
 
 
44
 
!disable-dbus {
45
 
    SUBDIRS += dbus_interfaces
46
 
}
47
 
 
48
 
SUBDIRS += connection src
49
 
 
50
 
!contains(QT_MAJOR_VERSION, 5) {
51
 
    # https://bugs.maliit.org/show_bug.cgi?id=47#c4
52
 
    SUBDIRS += maliit maliit-settings
53
 
}
54
 
 
55
 
!disable-dbus {
56
 
    SUBDIRS += passthroughserver connection-glib maliit-glib
57
 
    !nodoc {
58
 
        SUBDIRS += maliit-glib/maliit-glib-docs.pro
59
 
    }
60
 
    SUBDIRS += gtk-input-context
61
 
}
62
 
 
63
 
nogtk {
64
 
    SUBDIRS -= connection-glib maliit-glib gtk-input-context
65
 
}
66
 
 
67
 
!contains(QT_MAJOR_VERSION, 5) {
68
 
    # Qt 5 has a new platform input plugin system which already contains
69
 
    # support for Maliit.
 
39
contains(QT_MAJOR_VERSION, 4) {
 
40
    error("Qt 5 is required. For the Qt 4 input context see maliit-inputcontext-qt4. For a Qt 4 Maliit please use the 0.81 or 0.94-qt4 branches/release series instead")
 
41
}
 
42
 
 
43
SUBDIRS = common dbus_interfaces
 
44
 
 
45
wayland {
 
46
    SUBDIRS += weston-protocols
 
47
}
 
48
 
 
49
SUBDIRS += connection src passthroughserver examples
 
50
 
 
51
qt5-inputcontext {
70
52
    SUBDIRS += input-context
71
53
}
72
54
 
73
 
# Requires QtQuick1 add-on, which might not be present
74
 
# and we should use QML 2 on Qt 5 anyways
75
 
!noqml {
76
 
    SUBDIRS += maliit-plugins-quick
77
 
}
78
 
 
79
 
SUBDIRS += examples
80
 
 
81
55
!nodoc {
82
56
    SUBDIRS += doc
83
57
}
86
60
    SUBDIRS += tests
87
61
}
88
62
 
89
 
!disable-dbus {
90
 
    !system(pkg-config --exists dbus-glib-1 dbus-1):error("Could not find dbus-glib-1 dbus-1")
91
 
}
92
 
 
93
63
QMAKE_EXTRA_TARGETS += check-xml
94
64
check-xml.target = check-xml
95
65
check-xml.CONFIG = recursive