Warning, /packaging/yocto-meta-kde-demo/classes/qmake5_paths.bbclass is written in an unsupported language. File is not indexed.

0001 # If your distribution supports only qt5, or you don't care
0002 # about conflicts with qt4, then you can add qmake5_paths.bbclass
0003 # to your distro layer and flatten all QT_DIR_NAME directories
0004 
0005 QT_DIR_NAME = ""
0006 
0007 # This is useful for target recipes to reference native mkspecs
0008 QMAKE_MKSPEC_PATH_NATIVE = "${STAGING_LIBDIR_NATIVE}${QT_DIR_NAME}"
0009 QMAKE_MKSPEC_PATH_TARGET = "${STAGING_LIBDIR}${QT_DIR_NAME}"
0010 
0011 QMAKE_MKSPEC_PATH = "${QMAKE_MKSPEC_PATH_TARGET}"
0012 QMAKE_MKSPEC_PATH:class-native = "${QMAKE_MKSPEC_PATH_NATIVE}"
0013 QMAKE_MKSPEC_PATH:class-nativesdk = "${QMAKE_MKSPEC_PATH_NATIVE}"
0014 
0015 OE_QMAKE_PATH_PREFIX = "${prefix}"
0016 OE_QMAKE_PATH_HEADERS = "${includedir}/qt5"
0017 OE_QMAKE_PATH_LIBS = "${libdir}"
0018 OE_QMAKE_PATH_ARCHDATA = "${libdir}"
0019 OE_QMAKE_PATH_DATA = "${datadir}"
0020 OE_QMAKE_PATH_BINS = "${bindir}"
0021 OE_QMAKE_PATH_LIBEXECS = "${libdir}${QT_DIR_NAME}/libexec"
0022 OE_QMAKE_PATH_PLUGINS = "${libdir}${QT_DIR_NAME}/plugins"
0023 OE_QMAKE_PATH_IMPORTS = "${libdir}${QT_DIR_NAME}/imports"
0024 OE_QMAKE_PATH_QML = "${libdir}${QT_DIR_NAME}/qml"
0025 OE_QMAKE_PATH_TRANSLATIONS = "${datadir}/translations"
0026 OE_QMAKE_PATH_DOCS = "${docdir}"
0027 OE_QMAKE_PATH_SETTINGS = "${sysconfdir}"
0028 OE_QMAKE_PATH_EXAMPLES = "${datadir}/examples"
0029 OE_QMAKE_PATH_TESTS = "${datadir}/tests"
0030 OE_QMAKE_PATH_HOST_PREFIX = ""
0031 OE_QMAKE_PATH_HOST_PREFIX:class-target = "${STAGING_DIR_NATIVE}"
0032 OE_QMAKE_PATH_HOST_BINS = "${bindir}${QT_DIR_NAME}"
0033 OE_QMAKE_PATH_HOST_DATA = "${QMAKE_MKSPEC_PATH_TARGET}"
0034 OE_QMAKE_PATH_HOST_LIBS = "${STAGING_LIBDIR}"
0035 OE_QMAKE_PATH_EXTERNAL_HOST_BINS = "${STAGING_BINDIR_NATIVE}${QT_DIR_NAME}"
0036 
0037 # for qt5 components we're using QT_DIR_NAME subdirectory in more
0038 # variables, because we don't want conflicts with qt4
0039 # This block is usefull for components which install their
0040 # own files without QT_DIR_NAME but need to reference paths e.g.
0041 # with QT headers
0042 OE_QMAKE_PATH_QT_HEADERS = "${includedir}/qt5"
0043 OE_QMAKE_PATH_QT_ARCHDATA = "${libdir}${QT_DIR_NAME}"
0044 OE_QMAKE_PATH_QT_DATA = "${datadir}${QT_DIR_NAME}"
0045 OE_QMAKE_PATH_QT_BINS = "${bindir}${QT_DIR_NAME}"
0046 OE_QMAKE_PATH_QT_TRANSLATIONS = "${datadir}${QT_DIR_NAME}/translations"
0047 OE_QMAKE_PATH_QT_DOCS = "${docdir}${QT_DIR_NAME}"
0048 OE_QMAKE_PATH_QT_SETTINGS = "${sysconfdir}${QT_DIR_NAME}"
0049 OE_QMAKE_PATH_QT_EXAMPLES = "${datadir}${QT_DIR_NAME}/examples"
0050 OE_QMAKE_PATH_QT_TESTS = "${datadir}${QT_DIR_NAME}/tests"
0051 
0052 OE_QMAKE_PATH_QT_FONTS = "${OE_QMAKE_PATH_LIBS}/fonts"