diff options
Diffstat (limited to 'src/corelib/configure.json')
-rw-r--r-- | src/corelib/configure.json | 149 |
1 files changed, 117 insertions, 32 deletions
diff --git a/src/corelib/configure.json b/src/corelib/configure.json index 1b01b2b817..ae360239c6 100644 --- a/src/corelib/configure.json +++ b/src/corelib/configure.json @@ -12,7 +12,7 @@ "inotify": "boolean", "journald": "boolean", "mimetype-database": "boolean", - "pcre": { "type": "enum", "values": [ "qt", "system" ] }, + "pcre": { "type": "enum", "values": [ "no", "qt", "system" ] }, "posix-ipc": { "type": "boolean", "name": "ipc_posix" }, "pps": { "type": "boolean", "name": "qqnx_pps" }, "slog2": "boolean", @@ -158,21 +158,6 @@ "-latomic" ] }, - "libdl": { - "label": "dlopen()", - "test": { - "main": [ - "dlclose(dlopen(0, 0));", - "dlsym(RTLD_DEFAULT, 0);", - "dlerror();" - ] - }, - "headers": "dlfcn.h", - "sources": [ - "", - "-ldl" - ] - }, "librt": { "label": "clock_gettime()", "test": { @@ -235,6 +220,66 @@ "sources": [ "-lslog2" ] + }, + "advapi32": { + "label": "advapi32", + "sources": [ + "-ladvapi32" + ] + }, + "gdi32": { + "label": "gdi32", + "sources": [ + "-lgdi32" + ] + }, + "kernel32": { + "label": "kernel32", + "sources": [ + "-lkernel32" + ] + }, + "netapi32": { + "label": "netapi32", + "sources": [ + "-lnetapi32" + ] + }, + "ole32": { + "label": "ole32", + "sources": [ + "-lole32" + ] + }, + "shell32": { + "label": "shell32", + "sources": [ + "-lshell32" + ] + }, + "uuid": { + "label": "uuid", + "sources": [ + "-luuid" + ] + }, + "user32": { + "label": "user32", + "sources": [ + "-luser32" + ] + }, + "winmm": { + "label": "winmm", + "sources": [ + "-lwinmm" + ] + }, + "ws2_32": { + "label": "ws2_32", + "sources": [ + "-lws2_32" + ] } }, @@ -536,7 +581,7 @@ "qDoubleSnprintf(argv[0], 1, invalidLocale, \"invalid format\", a);", "qDoubleSscanf(argv[0], invalidLocale, \"invalid format\", &a, &argc);" ], - "qmake": "DEFINES += QDSP_P_H=$$shell_quote(\\\"@PWD@/tools/qdoublescanprint_p.h\\\")" + "qmake": "DEFINES += QDSP_P_H=$$shell_quote(\\\"@PWD@/text/qdoublescanprint_p.h\\\")" } } }, @@ -552,11 +597,6 @@ "condition": "features.clock-gettime && tests.clock-monotonic", "output": [ "feature" ] }, - "dlopen": { - "label": "dlopen()", - "condition": "config.unix && libs.libdl", - "output": [ "privateFeature" ] - }, "doubleconversion": { "label": "DoubleConversion", "output": [ "privateFeature", "feature" ] @@ -684,15 +724,18 @@ "condition": "features.mimetype", "output": [ "privateFeature" ] }, + "pcre2": { + "label": "PCRE2", + "disable": "input.pcre == 'no' || input.pcre == 'system'", + "enable": "input.pcre == 'qt'", + "output": [ "privateConfig" ] + }, "system-pcre2": { - "label": "Using system PCRE2", - "disable": "input.pcre == 'qt'", + "label": " Using system PCRE2", + "disable": "input.pcre == 'no' || input.pcre == 'qt'", "enable": "input.pcre == 'system'", "condition": "libs.pcre2", - "output": [ - "privateFeature", - { "type": "privateConfig", "negative": true, "name": "pcre2" } - ] + "output": [ "privateFeature" ] }, "poll_ppoll": { "label": "Native ppoll()", @@ -771,6 +814,7 @@ "label": "QRegularExpression", "purpose": "Provides an API to Perl-compatible regular expressions.", "section": "Kernel", + "condition": "features.system-pcre2 || features.pcre2", "output": [ "publicFeature", "feature" ] }, "sharedmemory": { @@ -787,7 +831,7 @@ "purpose": "Provides a general counting system semaphore.", "section": "Kernel", "condition": [ - "!config.integrity && !config.vxworks", + "!config.integrity && !config.vxworks && !config.rtems", "config.android || config.win32 || tests.ipc_sysv || tests.ipc_posix" ], "output": [ "publicFeature", "feature" ] @@ -829,14 +873,14 @@ "label": "QProcess", "purpose": "Supports external process invocation.", "section": "File I/O", - "condition": "features.processenvironment && !config.winrt && !config.uikit && !config.integrity && !config.vxworks", + "condition": "features.processenvironment && !config.winrt && !config.uikit && !config.integrity && !config.vxworks && !config.rtems", "output": [ "publicFeature", "feature" ] }, "processenvironment": { "label": "QProcessEnvironment", "purpose": "Provides a higher-level abstraction of environment variables.", "section": "File I/O", - "condition": "!config.winrt && !config.integrity", + "condition": "!config.winrt && !config.integrity && !config.rtems", "output": [ "publicFeature" ] }, "temporaryfile": { @@ -945,11 +989,17 @@ "condition": "features.textcodec", "output": [ "publicFeature", "feature" ] }, + "easingcurve": { + "label": "Easing curve", + "purpose": "Provides easing curve.", + "section": "Utilities", + "output": [ "publicFeature" ] + }, "animation": { "label": "Animation", "purpose": "Provides a framework for animations.", "section": "Utilities", - "condition": "features.properties", + "condition": "features.properties && features.easingcurve", "output": [ "publicFeature", "feature" ] }, "statemachine": { @@ -971,6 +1021,25 @@ "section": "Utilities", "output": [ "privateFeature" ] }, + "jalalicalendar": { + "label": "QJalaliCalendar", + "purpose": "Support the Jalali (Persian) calendar", + "section": "Utilities", + "output": [ "publicFeature" ] + }, + "hijricalendar": { + "label": "QHijriCalendar", + "purpose": "Generic basis for Islamic calendars, providing shared locale data", + "section": "Utilities", + "output": [ "privateFeature" ] + }, + "islamiccivilcalendar": { + "label": "QIslamicCivilCalendar", + "purpose": "Support the Islamic Civil calendar", + "section": "Utilities", + "condition": "features.hijricalendar", + "output": [ "publicFeature" ] + }, "timezone": { "label": "QTimeZone", "purpose": "Provides support for time-zone handling.", @@ -1013,6 +1082,10 @@ If enabled, a binary dump of the Public Suffix List (http://www.publicsuffix.org Mozilla License) is included. The data is then also used in QNetworkCookieJar::validateCookie.", "section": "Utilities", "output": [ "publicFeature" ] + }, + "win32_system_libs": { + "label": "Windows System Libraries", + "condition": "config.win32 && libs.advapi32 && libs.gdi32 && libs.kernel32 && libs.netapi32 && libs.ole32 && libs.shell32 && libs.uuid && libs.user32 && libs.winmm && libs.ws2_32" } }, @@ -1042,6 +1115,17 @@ You need to use libdouble-conversion for double/string conversion." "message": "detected a std::atomic implementation that fails for function pointers. Please apply the patch corresponding to your Standard Library vendor, found in qtbase/config.tests/atomicfptr" + }, + { + "type": "error", + "condition": [ + "config.unix || config.integrity", + "!features.poll_ppoll", + "!features.poll_pollts", + "!features.poll_poll", + "!features.poll_select" + ], + "message": "Qt requires poll(), ppoll(), poll_ts() or select() on this platform" } ], @@ -1071,6 +1155,7 @@ Please apply the patch corresponding to your Standard Library vendor, found in "args": "qqnx_pps", "condition": "config.qnx" }, + "pcre2", "system-pcre2" ] } |