mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-04 08:15:30 +08:00
qt 6.5.1 original
This commit is contained in:
25
mkspecs/devices/linux-rasp-pi4-aarch64/qmake.conf
Normal file
25
mkspecs/devices/linux-rasp-pi4-aarch64/qmake.conf
Normal file
@ -0,0 +1,25 @@
|
||||
#
|
||||
# Generic qmake configuration for building with g++ on Raspberry Pi 4 (64-bit).
|
||||
#
|
||||
# Tested with Raspberry Pi OS 64-bit and aarch64 gcc compiler from Debian package repository
|
||||
#
|
||||
# A minimal configure line could look something like this:
|
||||
# ./configure -release -opengl es2 -device linux-rasp-pi4-aarch64 -device-option CROSS_COMPILE=aarch64-linux-gnu- -sysroot ~/rpi-sysroot -prefix /usr/local/qt6 -extprefix $HOME/qt-raspi
|
||||
|
||||
DISTRO_OPTS += deb-multi-arch
|
||||
|
||||
include(../common/linux_device_pre.conf)
|
||||
|
||||
QMAKE_LIBS_EGL += -lEGL
|
||||
QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL
|
||||
|
||||
QMAKE_CFLAGS += -march=armv8-a
|
||||
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS
|
||||
|
||||
EGLFS_DEVICE_INTEGRATION = eglfs_kms
|
||||
|
||||
LINKER_FLAGS += -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
|
||||
|
||||
include(../common/linux_device_post.conf)
|
||||
|
||||
load(qt_config)
|
8
mkspecs/devices/linux-rasp-pi4-aarch64/qplatformdefs.h
Normal file
8
mkspecs/devices/linux-rasp-pi4-aarch64/qplatformdefs.h
Normal file
@ -0,0 +1,8 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2022 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