mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-23 20:10:48 +08:00
26 lines
829 B
Plaintext
26 lines
829 B
Plaintext
|
#
|
||
|
# 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)
|