summaryrefslogtreecommitdiffstats
path: root/build/qmake/mkspecs/features/default_pre.prf
blob: b3c0495f0904a7dc349f96a16530255dc8b6395d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Resolve root directories for sources
QTWEBENGINE_ROOT = $$replace(PWD, /build/qmake/mkspecs/features$,)

QTWEBENGINEPROCESS_NAME = QtWebEngineProcess

# Fetched from environment for now
CHROMIUM_SRC_DIR = $$(CHROMIUM_SRC_DIR)
isEmpty(CHROMIUM_SRC_DIR): CHROMIUM_SRC_DIR=$$QTWEBENGINE_ROOT/chromium

INCLUDEPATH += $$CHROMIUM_SRC_DIR

# Used for our export macros
!contains(_PRO_FILE_PWD_, $$QTWEBENGINE_ROOT/examples): DEFINES += BUILDING_CHROMIUM

# Location of sync.profile
MODULE_BASE_DIR = $$QTWEBENGINE_ROOT

# We have to disable RTTI for now since that's how chromium builds on linux
unix:!macx:QMAKE_CXXFLAGS += -fno-rtti

load(functions)