mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-04 00:05:25 +08:00
qt 6.5.1 original
This commit is contained in:
39
mkspecs/devices/integrity-armv8-drive-cx/qmake.conf
Normal file
39
mkspecs/devices/integrity-armv8-drive-cx/qmake.conf
Normal file
@ -0,0 +1,39 @@
|
||||
#
|
||||
# qmake configuration for 64-bit Tegra X1 boards, like the DRIVE CX, using Vibrante Integrity
|
||||
#
|
||||
# A typical configure line might look like:
|
||||
# configure \
|
||||
# -device integrity-armv8-drive-cx \
|
||||
# -device-option VIBRANTE_INTEGRITY_PDK_TOPDIR=/opt/nvidia/vibrante-t186ref-integrity
|
||||
# -static \
|
||||
# -opengl es2
|
||||
|
||||
load(device_config)
|
||||
|
||||
include(../../common/ghs-integrity-armv8.conf)
|
||||
|
||||
DEFINES += WIN_INTERFACE_CUSTOM
|
||||
|
||||
QT_QPA_DEFAULT_PLATFORM = eglfs
|
||||
|
||||
QMAKE_LIBS_EGL += -lEGL -lGLESv2 -lnvidia-glsi -lnvidia-eglcore -lnvidia-rmapi-tegra -lposix -livfs -ldrm-nvdc -lnvll -lnvdc -lnvrm -lnvrm_gpu -lnvrm_graphics -lnvos -lsocket -lnet -lnvtegrahv
|
||||
QMAKE_LIBS_OPENGL_ES2 += $${QMAKE_LIBS_EGL}
|
||||
|
||||
EGLFS_DEVICE_INTEGRATION = eglfs_kms_egldevice
|
||||
|
||||
# Vibrante Integrity PDK headers & libraries
|
||||
QMAKE_INCDIR += $${VIBRANTE_INTEGRITY_PDK_TOPDIR}/include
|
||||
QMAKE_LIBDIR += $${VIBRANTE_INTEGRITY_PDK_TOPDIR}/libs
|
||||
|
||||
# OpenGL libraries have a dependency on libEGL
|
||||
QMAKE_INCDIR_EGL = $${VIBRANTE_INTEGRITY_PDK_TOPDIR}/include
|
||||
QMAKE_LIBDIR_EGL = $${VIBRANTE_INTEGRITY_PDK_TOPDIR}/libs
|
||||
QMAKE_INCDIR_OPENGL_ES2 = $${VIBRANTE_INTEGRITY_PDK_TOPDIR}/include
|
||||
QMAKE_LIBDIR_OPENGL_ES2 = $${VIBRANTE_INTEGRITY_PDK_TOPDIR}/libs
|
||||
|
||||
defineTest(qtConfSanitizeMkspec) {
|
||||
isEmpty(VIBRANTE_INTEGRITY_PDK_TOPDIR): \
|
||||
error("You must pass -device-option VIBRANTE_INTEGRITY_PDK_TOPDIR=/path/to/pdk")
|
||||
}
|
||||
|
||||
load(qt_config)
|
9
mkspecs/devices/integrity-armv8-drive-cx/qplatformdefs.h
Normal file
9
mkspecs/devices/integrity-armv8-drive-cx/qplatformdefs.h
Normal file
@ -0,0 +1,9 @@
|
||||
// Copyright (C) 2017 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
#include "../../common/integrity/qplatformdefs.h"
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
Reference in New Issue
Block a user