Skip to content

Commit

Permalink
RaspberryPi2: Support building Qt for Raspbian/Debian
Browse files Browse the repository at this point in the history
Raspbian/Debian require a toolchain with the multiarch patches so we
need to add deb-multi-arch to the DISTRO_OPTS variable for pkgconfig to
work correctly.  The Raspberry Pi 1 mkspec has this already and can be
used to build Qt for both versions of the Pi, but the Raspberry Pi 2
mkspec is missing this, and would not be usable in its current state for
building for Raspbian/Debian which is the most popular distro for the
Raspberry Pi.

Change-Id: I6a7a08059f9f91da524b5f51e0697115ef684f30
Reviewed-by: Laszlo Agocs <[email protected]>
  • Loading branch information
nezticle authored and alpqr committed Nov 4, 2015
1 parent 9cb92d1 commit 16a9c0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mkspecs/devices/linux-rasp-pi2-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ QMAKE_CFLAGS += -march=armv7-a -marm -mthumb-interwork -mfpu=neon-vfpv4 -mtune=c
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS

DISTRO_OPTS += hard-float
DISTRO_OPTS += deb-multi-arch

# Preferred eglfs backend
EGLFS_DEVICE_INTEGRATION = eglfs_brcm
Expand Down

0 comments on commit 16a9c0f

Please sign in to comment.