File: auto.pro

package info (click to toggle)
qtbase-opensource-src 5.15.17%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 351,148 kB
  • sloc: cpp: 2,097,620; ansic: 343,242; xml: 115,491; python: 9,447; java: 7,499; asm: 4,023; sh: 2,090; perl: 2,047; yacc: 1,687; lex: 1,333; javascript: 878; makefile: 271; objc: 70
file content (51 lines) | stat: -rw-r--r-- 1,581 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
TEMPLATE = subdirs

SUBDIRS += \
    corelib \
    dbus \
    gui \
    network \
    opengl \
    sql \
    testlib \
    tools \
    xml \
    concurrent \
    other \
    widgets \
    printsupport \
    cmake \
    installed_cmake

installed_cmake.depends = cmake

uikit: SUBDIRS  = corelib gui

cross_compile:                              SUBDIRS -= tools cmake installed_cmake
else:!qtConfig(process):                    SUBDIRS -= tools
winrt|!qtHaveModule(opengl):                SUBDIRS -= opengl
!qtHaveModule(gui):                         SUBDIRS -= gui
!qtHaveModule(widgets):                     SUBDIRS -= widgets
!qtHaveModule(printsupport):                SUBDIRS -= printsupport
!qtHaveModule(concurrent):                  SUBDIRS -= concurrent
winrt|!qtHaveModule(network):               SUBDIRS -= network
!qtHaveModule(dbus):                        SUBDIRS -= dbus
!qtHaveModule(xml):                         SUBDIRS -= xml
!qtHaveModule(sql):                         SUBDIRS -= sql

# Disable the QtDBus tests if we can't connect to the session bus
!cross_compile:qtHaveModule(dbus) {
    !system("dbus-send --session --type=signal / local.AutotestCheck.Hello >$$QMAKE_SYSTEM_NULL_DEVICE 2>&1") {
        qtConfig(dbus-linked): {
            warning("QtDBus is enabled but session bus is not available. QtDBus tests will fail.")
        } else {
            warning("QtDBus is enabled with runtime support, but session bus is not available. Skipping QtDBus tests.")
            SUBDIRS -= dbus
        }
    }
}

# QTBUG-63915
boot2qt: {
    SUBDIRS -= dbus
}