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:
46
mkspecs/devices/linux-arm-hisilicon-hix5hd2-g++/qmake.conf
Normal file
46
mkspecs/devices/linux-arm-hisilicon-hix5hd2-g++/qmake.conf
Normal file
@ -0,0 +1,46 @@
|
||||
#
|
||||
# qmake configuration for linux-arm-hisilicon-hix5hd2-g++ using the arm-linux-gnueabihf-g++ crosscompiler
|
||||
#
|
||||
# A typical configure line looks like this:
|
||||
# <path-to-qt-src>/configure -opensource -confirm-license -release -make libs -make examples -optimized-qmake
|
||||
# -platform linux-g++-64 -device linux-arm-hisilicon-hix5hd2-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf-
|
||||
# -opengl es2 -no-qml-debug -no-directfb -no-kms -no-xcb -no-alsa -qt-zlib -qt-libjpeg -qt-libpng
|
||||
# -no-icu -no-nis -sysroot <path-to-rootfs> -extprefix <path-to-targetinstall> -hostprefix <path-to-hostinstall>
|
||||
# -prefix <path-to-prefix>
|
||||
#
|
||||
# such as
|
||||
# ./configure -opensource -confirm-license -release -make libs -make examples -optimized-qmake
|
||||
# -platform linux-g++-64 -device linux-arm-hisilicon-hix5hd2-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf-
|
||||
# -opengl es2 -no-qml-debug -no-directfb -no-kms -no-xcb -no-alsa -qt-zlib -qt-libjpeg -qt-libpng
|
||||
# -no-icu -no-nis -sysroot /home/abc/project/sysbase
|
||||
# -extprefix /home/abc/project/sysbase/qt_install
|
||||
# -hostprefix /home/abc/project/qtdir/qtbase_hostinstall
|
||||
# -prefix /home/abc/project/sysbase/qt_install
|
||||
|
||||
include(../common/linux_device_pre.conf)
|
||||
|
||||
QMAKE_INCDIR_POST += /usr/arm-linux-gnueabihf/include
|
||||
QMAKE_LIBDIR_POST += /usr/arm-linux-gnueabihf/lib
|
||||
|
||||
QMAKE_LIBS += -lrt
|
||||
|
||||
QMAKE_INCDIR_EGL += $$[QT_SYSROOT]/egl/include
|
||||
QMAKE_LIBDIR_EGL += $$[QT_SYSROOT]/egl/lib
|
||||
QMAKE_INCDIR_OPENGL_ES2 += $$QMAKE_INCDIR_EGL
|
||||
QMAKE_LIBDIR_OPENGL_ES2 += $$QMAKE_LIBDIR_EGL
|
||||
|
||||
QMAKE_LIBS_EGL += -lMali
|
||||
QMAKE_LIBS_OPENGL_ES2 += $$QMAKE_LIBS_EGL
|
||||
QMAKE_LIBS_OPENVG += $$QMAKE_LIBS_EGL
|
||||
|
||||
DISTRO_OPTS += hard-float
|
||||
|
||||
QMAKE_CFLAGS +=-march=armv7-a -mcpu=cortex-a9 -mfpu=vfpv3-d16
|
||||
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS
|
||||
|
||||
# Preferred eglfs backend
|
||||
EGLFS_DEVICE_INTEGRATION = eglfs_mali
|
||||
|
||||
include(../common/linux_arm_device_post.conf)
|
||||
|
||||
load(qt_config)
|
@ -0,0 +1,4 @@
|
||||
// Copyright (C) 2016 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
|
||||
|
||||
#include "../../linux-g++/qplatformdefs.h"
|
Reference in New Issue
Block a user