C

指示器:渲染安全关键UI

TEMPLATE = app
TARGET = telltales
SOURCES = main.cpp

QT = qtsaferenderer qsrplatformadaptation

integrity {
    for(p, QMAKE_LIBDIR_EGL) {
        LIBS += -L$$p
    }
    LIBS += -lsrv_init -lmmgr_usr -lwm_usr -lprr_usr -lpool -livfs
    DEFINES += Q_OS_INTEGRITY
    DEFINES += IPMMU_VMR_INT_FIRST=0x0000000080000000
    DEFINES += IPMMU_VMR_INT_LAST=0x00000000BFFFFFFF
    INCLUDEPATH += $$[QT_INSTALL_HEADERS]
    INCLUDEPATH += $$QMAKE_INCDIR_EGL
    INCLUDEPATH += ../../../src/saferenderer
} else:boot2qt {
    CONFIG += resources
    SUBDIRS += valuesource
}

CONFIG += qtsafercctool exceptions
qnx: target.path = /tmp/saferenderer/$${TARGET}
else: target.path = $$[QT_INSTALL_EXAMPLES]/saferenderer/$${TARGET}

layoutdata.files += ../layoutdata.qrc
layoutdata.path = $$[QT_INSTALL_EXAMPLES]/saferenderer

INSTALLS = target layoutdata
SAFE_RESOURCES += \
    $$PWD/../layoutdata.qrc

OTHER_FILES += layoutdata.qrc