Skip to content

Commit 66fc1d0

Browse files
committed
Remove unused SQL drivers from Qt installation
1 parent 8dbf687 commit 66fc1d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile.qt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ RUN dnf install -y epel-release && \
3131
# Qt Requirement:
3232
mesa-libGL-devel \
3333
# Qt Requirement:
34-
mysql-libs \
35-
# Qt Requirement:
36-
postgresql-odbc \
37-
# Qt Requirement:
3834
xcb-util-cursor \
3935
# Qt Requirement:
4036
xcb-util-image \
@@ -88,6 +84,10 @@ RUN dnf install -y \
8884
RUN pip3.12 install -U setuptools wheel
8985
RUN source /opt/rh/gcc-toolset-14/enable && pip3.12 install aqtinstall
9086
RUN aqt install-qt -O /qt linux desktop $QT_VERSION -m qtwebsockets
87+
RUN rm /qt/$QT_VERSION/gcc_64/plugins/sqldrivers/libqsqlmimer.so \
88+
/qt/$QT_VERSION/gcc_64/plugins/sqldrivers/libqsqlmysql.so \
89+
/qt/$QT_VERSION/gcc_64/plugins/sqldrivers/libqsqlodbc.so \
90+
/qt/$QT_VERSION/gcc_64/plugins/sqldrivers/libqsqlpsql.so
9191

9292
FROM base
9393
ARG QT_VERSION

0 commit comments

Comments
 (0)