Skip to content

Commit 3d1113c

Browse files
committed
Disable Qt modules that are not present on the rM
Fixes #3. This change reduces the available set of Qt libraries to: * libQt5Concurrent * libQt5Core * libQt5DBus * libQt5Gui * libQt5Network * libQt5Qml * libQt5Quick * libQt5QuickControls2 * libQt5QuickTemplates2 * libQt5QuickTest * libQt5Svg * libQt5Test * libQt5WebSockets * libQt5Xml This matches the set of available libraries on the rM. This will make any attempt at using extra libraries fail at build-time rather than at runtime.
1 parent de96641 commit 3d1113c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

qt/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN export DEBIAN_FRONTEND=noninteractive \
1515
&& git clone https://code.qt.io/qt/qt5.git \
1616
&& cd qt5 \
1717
&& git checkout 1deea3debce6bfd0fd45545b3a8e1de80380a9a5 \
18-
&& perl init-repository --module-subset=default,-qtwebengine \
18+
&& perl init-repository --module-subset=essential,-qtmultimedia,-qttools,qtgraphicaleffects,qtquickcontrols2,qtsvg,qtwebsockets \
1919
# Setup reMarkable mkspec
2020
&& mv /linux-arm-remarkable-g++ qtbase/mkspecs/devices \
2121
# Fix compiling error of old Qt with recent GCC
@@ -36,6 +36,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \
3636
-nomake tests \
3737
-no-rpath \
3838
-no-opengl \
39+
-no-widgets \
40+
-no-feature-sql \
3941
-reduce-exports \
4042
&& make \
4143
&& make install \

0 commit comments

Comments
 (0)