From 81931f8c54dfec572fe3cc895e51e8979975aaa3 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Mon, 14 Nov 2022 12:16:28 +0100 Subject: Add an option to select the preferred compression type for mime type db Add the '-mimetype-database-compression' command line argument that allows to select the preferred compression type for the mime type database, including 'none' compression type, which avoids mime type database compression even if respective compression APIs are present in the system. The argument has the CMake alias called 'INPUT_mimetype_database_compression'. Change-Id: I66daddae7014d109fa175a5f397e984928f4ee47 Reviewed-by: Qt CI Bot Reviewed-by: Alexandru Croitor Reviewed-by: Thiago Macieira --- src/corelib/qt_cmdline.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'src/corelib/qt_cmdline.cmake') diff --git a/src/corelib/qt_cmdline.cmake b/src/corelib/qt_cmdline.cmake index dcf9ce946e..c82d77a60d 100644 --- a/src/corelib/qt_cmdline.cmake +++ b/src/corelib/qt_cmdline.cmake @@ -9,6 +9,7 @@ qt_commandline_option(inotify TYPE boolean) qt_commandline_option(journald TYPE boolean) qt_commandline_option(libb2 TYPE enum VALUES no qt system) qt_commandline_option(mimetype-database TYPE boolean) +qt_commandline_option(mimetype-database-compression TYPE optionalString VALUES zstd gzip none) qt_commandline_option(pcre TYPE enum VALUES no qt system) qt_commandline_option(posix-ipc TYPE boolean NAME ipc_posix) qt_commandline_option(pps TYPE boolean NAME qqnx_pps) -- cgit v1.2.3