diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-12-17 14:55:57 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-01-07 15:32:28 +0100 |
commit | ad2da2d27a590333fc89a56fc58700a09c3017b3 (patch) | |
tree | 7d916e7a15150d1ba3ca4af7f167e33f9d3c6cc6 | |
parent | fca3ea040c9d05f112c6fc018f0c8e8c68892642 (diff) |
Remove the qmake project files
Remove the qmake project files for most of Qt.
Leave the qmake project files for examples, because we still test those
in the CI to ensure qmake does not regress.
Also leave the qmake project files for utils and other minor parts that
lack CMake project files.
Task-number: QTBUG-88742
Change-Id: I6cdf059e6204816f617f9624f3ea9822703f73cc
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
1141 files changed, 2 insertions, 18338 deletions
diff --git a/config.tests/arch/arch.pro b/config.tests/arch/arch.pro deleted file mode 100644 index c607898b71..0000000000 --- a/config.tests/arch/arch.pro +++ /dev/null @@ -1,2 +0,0 @@ -SOURCES = arch.cpp -include(write_info.pri) diff --git a/config.tests/arch/arch_host.pro b/config.tests/arch/arch_host.pro deleted file mode 100644 index ea0d1fa572..0000000000 --- a/config.tests/arch/arch_host.pro +++ /dev/null @@ -1,3 +0,0 @@ -option(host_build) -SOURCES = arch.cpp -include(write_info.pri) diff --git a/config.tests/arch/write_info.pri b/config.tests/arch/write_info.pri deleted file mode 100644 index 5b43ce1cd5..0000000000 --- a/config.tests/arch/write_info.pri +++ /dev/null @@ -1,11 +0,0 @@ -targetinfofile = $$basename(_PRO_FILE_) -targetinfofile ~= s/pro$/target.txt/ - -win32 { - ext = .exe -} else:wasm { - ext = .wasm -} - -content = $${file_prefix}$${TARGET}$${ext} -write_file($$OUT_PWD/$$targetinfofile, content) diff --git a/config.tests/avx512/avx512.pro b/config.tests/avx512/avx512.pro deleted file mode 100644 index d295f6320c..0000000000 --- a/config.tests/avx512/avx512.pro +++ /dev/null @@ -1,10 +0,0 @@ -SOURCES = avx512.cpp - -!defined(AVX512, "var"): error("You must set the AVX512 variable!") - -varname = QMAKE_CFLAGS_AVX512$$AVX512 -value = $$eval($$varname) -!defined($$varname, "var"): error("This compiler does not support AVX512") - -QMAKE_CXXFLAGS += $$value -DEFINES += WANT_AVX512=$$AVX512 WANT_AVX512$$AVX512 diff --git a/config.tests/separate_debug_info/separate_debug_info.pro b/config.tests/separate_debug_info/separate_debug_info.pro deleted file mode 100644 index 577aa734d6..0000000000 --- a/config.tests/separate_debug_info/separate_debug_info.pro +++ /dev/null @@ -1,7 +0,0 @@ -TARGET = objcopytest -SOURCES += main.cpp -load(resolve_target) -QMAKE_POST_LINK += \ - $$QMAKE_OBJCOPY --only-keep-debug $$QMAKE_RESOLVED_TARGET objcopytest.debug && \ - $$QMAKE_OBJCOPY --strip-debug $$QMAKE_RESOLVED_TARGET && \ - $$QMAKE_OBJCOPY --add-gnu-debuglink=objcopytest.debug $$QMAKE_RESOLVED_TARGET diff --git a/config.tests/stl/stl.pro b/config.tests/stl/stl.pro deleted file mode 100644 index 91f29a232c..0000000000 --- a/config.tests/stl/stl.pro +++ /dev/null @@ -1 +0,0 @@ -SOURCES = stltest.cpp diff --git a/config.tests/verifyspec/verifyspec.pro b/config.tests/verifyspec/verifyspec.pro deleted file mode 100644 index 11a280e4ce..0000000000 --- a/config.tests/verifyspec/verifyspec.pro +++ /dev/null @@ -1,37 +0,0 @@ -SOURCES = verifyspec.cpp - -# Provide a function to be used by mkspecs -defineTest(deviceSanityCheckCompiler) { - equals(QMAKE_HOST.os, Windows): \ - sfx = .exe - else: \ - sfx = - - # Build the compiler filename using the first value in QMAKE_CXX in order to - # support tools like ccache, which give QMAKE_CXX values of the form: - # ccache <path_to_compiler> - compiler = $$first(QMAKE_CXX)$$sfx - - # Check if the binary exists with an absolute path. Do this check - # before the CROSS_COMPILE empty check below to allow the mkspec - # to derive the compiler path from other device options. - exists($$compiler): return() - - # Check for possible reasons of failure - # check if CROSS_COMPILE device-option is set - isEmpty(CROSS_COMPILE): \ - error("CROSS_COMPILE needs to be set via -device-option CROSS_COMPILE=<path>") - - # Check if QMAKE_CXX points to an executable. - ensurePathEnv() - for (dir, QMAKE_PATH_ENV) { - exists($$dir/$${compiler}): \ - return() - } - - # QMAKE_CXX does not point to a compiler. - error("Compiler $$QMAKE_CXX not found. Check the value of CROSS_COMPILE -device-option") -} - -defined(qtConfSanitizeMkspec, test): \ - qtConfSanitizeMkspec() diff --git a/config.tests/x86_simd/x86_simd.pro b/config.tests/x86_simd/x86_simd.pro deleted file mode 100644 index 5751432980..0000000000 --- a/config.tests/x86_simd/x86_simd.pro +++ /dev/null @@ -1,11 +0,0 @@ -SOURCES = main.cpp -for (config, SIMD) { - uc = $$upper($$config) - DEFINES += QT_COMPILER_SUPPORTS_$${uc} - - add_cflags { - cflags = QMAKE_CFLAGS_$${uc} - !defined($$cflags, var): error("This compiler does not support $${uc}") - QMAKE_CXXFLAGS += $$eval($$cflags) - } -} diff --git a/configure.pri b/configure.pri deleted file mode 100644 index f55b7cb448..0000000000 --- a/configure.pri +++ /dev/null @@ -1,1402 +0,0 @@ -# this must be done outside any function -QT_SOURCE_TREE = $$PWD -QT_BUILD_TREE = $$shadowed($$PWD) - -# custom command line handling - -defineTest(qtConfCommandline_qmakeArgs) { - contains(1, QMAKE_[A-Z0-9_]+ *[-+]?=.*) { - config.input.qmakeArgs += $$1 - export(config.input.qmakeArgs) - return(true) - } - return(false) -} - -defineTest(qtConfCommandline_cxxstd) { - arg = $${1} - val = $${2} - isEmpty(val): val = $$qtConfGetNextCommandlineArg() - !contains(val, "^-.*"):!isEmpty(val) { - contains(val, "(c\+\+)?11") { - qtConfCommandlineSetInput("c++14", "no") - qtConfCommandlineSetInput("c++1z", "no") - qtConfCommandlineSetInput("c++2a", "no") - } else: contains(val, "(c\+\+)?(14|1y)") { - qtConfCommandlineSetInput("c++14", "yes") - qtConfCommandlineSetInput("c++1z", "no") - qtConfCommandlineSetInput("c++2a", "no") - } else: contains(val, "(c\+\+)?(17|1z)") { - qtConfCommandlineSetInput("c++14", "yes") - qtConfCommandlineSetInput("c++1z", "yes") - qtConfCommandlineSetInput("c++2a", "no") - } else: contains(val, "(c\+\+)?(2a)") { - qtConfCommandlineSetInput("c++14", "yes") - qtConfCommandlineSetInput("c++1z", "yes") - qtConfCommandlineSetInput("c++2a", "yes") - } else { - qtConfAddError("Invalid argument $$val to command line parameter $$arg") - } - } else { - qtConfAddError("Missing argument to command line parameter $$arg") - } -} - -defineTest(qtConfCommandline_sanitize) { - arg = $${1} - val = $${2} - isEmpty(val): val = $$qtConfGetNextCommandlineArg() - !contains(val, "^-.*"):!isEmpty(val) { - equals(val, "address") { - qtConfCommandlineSetInput("sanitize_address", "yes") - } else: equals(val, "thread") { - qtConfCommandlineSetInput("sanitize_thread", "yes") - } else: equals(val, "memory") { - qtConfCommandlineSetInput("sanitize_memory", "yes") - } else: equals(val, "fuzzer-no-link") { - qtConfCommandlineSetInput("sanitize_fuzzer_no_link", "yes") - } else: equals(val, "undefined") { - qtConfCommandlineSetInput("sanitize_undefined", "yes") - } else { - qtConfAddError("Invalid argument $$val to command line parameter $$arg") - } - } else { - qtConfAddError("Missing argument to command line parameter $$arg") - } -} - -defineTest(qtConfCommandline_coverage) { - arg = $${1} - val = $${2} - isEmpty(val): val = $$qtConfGetNextCommandlineArg() - !contains(val, "^-.*"):!isEmpty(val) { - equals(val, "trace-pc-guard") { - qtConfCommandlineSetInput("coverage_trace_pc_guard", "yes") - } else: equals(val, "source-based") { - qtConfCommandlineSetInput("coverage_source_based", "yes") - } else: { - qtConfAddError("Invalid argument $$val to command line parameter $$arg") - } - } else { - qtConfAddError("Missing argument to command line parameter $$arg") - } -} - -# callbacks - -defineReplace(qtConfFunc_crossCompile) { - !isEmpty(config.input.xplatform): return(true) - !isEmpty(config.input.device-option): return(true) - !isEmpty(config.input.sysroot): return(true) - spec = $$[QMAKE_SPEC] - !equals(spec, $$[QMAKE_XSPEC]): return(true) - return(false) -} - -defineReplace(qtConfFunc_licenseCheck) { - exists($$QT_SOURCE_TREE/LICENSE.LGPL3)|exists($$QT_SOURCE_TREE/LICENSE.GPL2)|exists($$QT_SOURCE_TREE/LICENSE.GPL3): \ - hasOpenSource = true - else: \ - hasOpenSource = false - exists($$QT_SOURCE_TREE/LICENSE.QT-LICENSE-AGREEMENT): \ - hasCommercial = true - else: \ - hasCommercial = false - - commercial = $$config.input.commercial - isEmpty(commercial) { - $$hasOpenSource { - $$hasCommercial { - logn() - logn("Selecting Qt Edition.") - logn() - logn("Type 'c' if you want to use the Commercial Edition.") - logn("Type 'o' if you want to use the Open Source Edition.") - logn() - for(ever) { - val = $$lower($$prompt("Which edition of Qt do you want to use? ", false)) - equals(val, c) { - commercial = yes - QMAKE_SAVED_ARGS += -commercial - } else: equals(val, o) { - commercial = no - QMAKE_SAVED_ARGS += -opensource - } else { - next() - } - export(QMAKE_SAVED_ARGS) - break() - } - } else { - commercial = no - } - } else { - !$$hasCommercial: \ - qtConfFatalError("No license files. Cannot proceed. Try re-installing Qt.") - commercial = yes - } - } - - equals(commercial, no) { - !$$hasOpenSource: \ - qtConfFatalError("This is the Qt Commercial Edition." \ - "Cannot proceed with -opensource.") - - logn() - logn("This is the Qt Open Source Edition.") - - EditionString = "Open Source" - config.input.qt_edition = OpenSource - export(config.input.qt_edition) - } else { - !$$hasCommercial: \ - qtConfFatalError("This is the Qt Open Source Edition." \ - "Cannot proceed with -commercial.") - - !exists($$QT_SOURCE_TREE/.release-timestamp) { - # Build from git - - logn() - logn("This is the Qt Commercial Edition.") - - EditionString = "Commercial" - config.input.qt_edition = Commercial - export(config.input.qt_edition) - } else { - # Build from a released source package - - equals(QMAKE_HOST.os, Linux) { - !equals(QMAKE_HOST.arch, x86_64): \ - Licheck = licheck32 - else: \ - Licheck = licheck64 - } else: equals(QMAKE_HOST.os, Darwin) { - Licheck = licheck_mac - } else: equals(QMAKE_HOST.os, Windows) { - Licheck = licheck.exe - } else { - qtConfFatalError("Host operating system not supported by this edition of Qt.") - } - - !qtRunLoggedCommand("$$system_quote($$QT_SOURCE_TREE/bin/$$Licheck) \ - $$system_quote($$eval(config.input.confirm-license)) \ - $$system_quote($$QT_SOURCE_TREE) $$system_quote($$QT_BUILD_TREE) \ - $$[QMAKE_SPEC] $$[QMAKE_XSPEC]", \ - LicheckOutput, false): \ - return(false) - logn() - for (o, LicheckOutput) { - contains(o, "\\w+=.*"): \ - eval($$o) - else: \ - logn($$o) - } - config.input.qt_edition = $$Edition - config.input.qt_licheck = $$Licheck - config.input.qt_release_date = $$ReleaseDate - export(config.input.qt_edition) - export(config.input.qt_licheck) - export(config.input.qt_release_date) - return(true) - } - } - - !isEmpty(config.input.confirm-license) { - logn() - logn("You have already accepted the terms of the $$EditionString license.") - return(true) - } - - affix = the - equals(commercial, no) { - theLicense = "GNU Lesser General Public License (LGPL) version 3" - showWhat = "Type 'L' to view the GNU Lesser General Public License version 3 (LGPLv3)." - gpl2Ok = false - gpl3Ok = false - wasm { - gpl3Ok = true - theLicense = "GNU General Public License (GPL) version 3" - showWhat = "Type 'G' to view the GNU General Public License version 3 (GPLv3)." - } else: $$qtConfEvaluate("features.android-style-assets") { - notTheLicense = "Note: GPL version 2 is not available due to using Android style assets." - } else { - theLicense += "or the GNU General Public License (GPL) version 2" - showWhat += "Type 'G' to view the GNU General Public License version 2 (GPLv2)." - gpl2Ok = true - affix = either - } - } else { - theLicense = $$cat($$QT_SOURCE_TREE/LICENSE.QT-LICENSE-AGREEMENT, lines) - theLicense = $$first(theLicense) - showWhat = "Type '?' to view the $${theLicense}." - } - msg = \ - " " \ - "You are licensed to use this software under the terms of" \ - "the "$$theLicense"." \ - $$notTheLicense \ - " " \ - $$showWhat \ - "Type 'y' to accept this license offer." \ - "Type 'n' to decline this license offer." \ - " " - - for(ever) { - logn($$join(msg, $$escape_expand(\\n))) - for(ever) { - val = $$lower($$prompt("Do you accept the terms of $$affix license? ", false)) - equals(val, y)|equals(val, yes) { - logn() - QMAKE_SAVED_ARGS += -confirm-license - export(QMAKE_SAVED_ARGS) - return(true) - } else: equals(val, n)|equals(val, no) { - return(false) - } else: equals(commercial, yes):equals(val, ?) { - licenseFile = $$QT_SOURCE_TREE/LICENSE.QT-LICENSE-AGREEMENT - } else: equals(commercial, no):equals(val, l) { - licenseFile = $$QT_SOURCE_TREE/LICENSE.LGPL3 - } else: equals(commercial, no):equals(val, g):$$gpl2Ok { - licenseFile = $$QT_SOURCE_TREE/LICENSE.GPL2 - } else: equals(commercial, no):equals(val, g):$$gpl3Ok { - licenseFile = $$QT_SOURCE_TREE/LICENSE.GPL3 - } else { - next() - } - break() - } - system("more $$system_quote($$system_path($$licenseFile))") - logn() - logn() - } -} - -# custom tests - -# this is meant for linux device specs only -defineTest(qtConfTest_machineTuple) { - qtRunLoggedCommand("$$QMAKE_CXX -dumpmachine", $${1}.tuple)|return(false) - $${1}.cache += tuple - export($${1}.cache) - return(true) -} - -defineTest(qtConfTest_verifySpec) { - qtConfTest_compile($$1): return(true) - qtConfFatalError("Cannot compile a minimal program. The toolchain or QMakeSpec is broken.", log) -} - -defineTest(qtConfTest_architecture) { - !qtConfTest_compile($${1}): \ - error("Could not determine $$eval($${1}.label). See config.log for details.") - - test = $$eval($${1}.test) - output = $$eval($${1}.output) - test_out_dir = $$OUT_PWD/$$basename(QMAKE_CONFIG_TESTS_DIR)/$$test - test_out_file = $$test_out_dir/$$cat($$test_out_dir/$${output}.target.txt) - exists($$test_out_file): \ - content = $$cat($$test_out_file, blob) - else: \ - error("$$eval($${1}.label) detection binary not found.") - content = $$cat($$test_out_file, blob) - - arch_magic = ".*==Qt=magic=Qt== Architecture:([^\\0]*).*" - subarch_magic = ".*==Qt=magic=Qt== Sub-architecture:([^\\0]*).*" - buildabi_magic = ".*==Qt=magic=Qt== Build-ABI:([^\\0]*).*" - - !contains(content, $$arch_magic)|!contains(content, $$subarch_magic)|!contains(content, $$buildabi_magic): \ - error("$$eval($${1}.label) detection binary does not contain expected data.") - - $${1}.arch = $$replace(content, $$arch_magic, "\\1") - $${1}.subarch = $$replace(content, $$subarch_magic, "\\1") - $${1}.subarch = $$split($${1}.subarch, " ") - $${1}.buildabi = $$replace(content, $$buildabi_magic, "\\1") - export($${1}.arch) - export($${1}.subarch) - export($${1}.buildabi) - qtLog("Detected architecture: $$eval($${1}.arch) ($$eval($${1}.subarch))") - - $${1}.cache += arch subarch buildabi - export($${1}.cache) - return(true) -} - -defineTest(qtConfTest_gnumake) { - make = $$qtConfFindInPath("gmake") - isEmpty(make): make = $$qtConfFindInPath("make") - !isEmpty(make) { - qtRunLoggedCommand("$$make -v", version)|return(false) - contains(version, "^GNU Make.*"): return(true) - } - return(false) -} - -defineTest(qtConfTest_detectPkgConfig) { - pkgConfig = $$getenv("PKG_CONFIG") - !isEmpty(pkgConfig): { - qtLog("Found pkg-config from environment variable: $$pkgConfig") - } else { - pkgConfig = $$QMAKE_PKG_CONFIG - - !isEmpty(pkgConfig) { - qtLog("Found pkg-config from mkspec: $$pkgConfig") - } else { - pkgConfig = $$qtConfFindInPath("pkg-config") - - isEmpty(pkgConfig): \ - return(false) - - qtLog("Found pkg-config from path: $$pkgConfig") - } - } - - $$qtConfEvaluate("features.cross_compile") { - # cross compiling, check that pkg-config is set up sanely - sysroot = $$config.input.sysroot - - pkgConfigLibdir = $$getenv("PKG_CONFIG_LIBDIR") - isEmpty(pkgConfigLibdir) { - isEmpty(sysroot) { - qtConfAddWarning("Cross compiling without sysroot. Disabling pkg-config") - return(false) - } - !exists("$$sysroot/usr/lib/pkgconfig") { - qtConfAddWarning( \ - "Disabling pkg-config since PKG_CONFIG_LIBDIR is not set and" \ - "the host's .pc files would be used (even if you set PKG_CONFIG_PATH)." \ - "Set this variable to the directory that contains target .pc files" \ - "for pkg-config to function correctly when cross-compiling or" \ - "use -pkg-config to override this test.") - return(false) - } - - pkgConfigLibdir = $$sysroot/usr/lib/pkgconfig:$$sysroot/usr/share/pkgconfig - machineTuple = $$eval($${currentConfig}.tests.machineTuple.tuple) - !isEmpty(machineTuple): \ - pkgConfigLibdir = "$$pkgConfigLibdir:$$sysroot/usr/lib/$$machineTuple/pkgconfig" - - qtConfAddNote("PKG_CONFIG_LIBDIR automatically set to $$pkgConfigLibdir") - } - pkgConfigSysrootDir = $$getenv("PKG_CONFIG_SYSROOT_DIR") - isEmpty(pkgConfigSysrootDir) { - isEmpty(sysroot) { - qtConfAddWarning( \ - "Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set." \ - "Set this variable to your sysroot for pkg-config to function correctly when" \ - "cross-compiling or use -pkg-config to override this test.") - return(false) - } - - pkgConfigSysrootDir = $$sysroot - qtConfAddNote("PKG_CONFIG_SYSROOT_DIR automatically set to $$pkgConfigSysrootDir") - } - $${1}.pkgConfigLibdir = $$pkgConfigLibdir - export($${1}.pkgConfigLibdir) - $${1}.pkgConfigSysrootDir = $$pkgConfigSysrootDir - export($${1}.pkgConfigSysrootDir) - $${1}.cache += pkgConfigLibdir pkgConfigSysrootDir - } - $${1}.pkgConfig = $$pkgConfig - export($${1}.pkgConfig) - $${1}.cache += pkgConfig - export($${1}.cache) - - return(true) -} - -defineTest(qtConfTest_buildParts) { - parts = $$config.input.make - isEmpty(parts) { - parts = libs examples - - $$qtConfEvaluate("features.developer-build"): \ - parts += tests - !$$qtConfEvaluate("features.cross_compile"): \ - parts += tools - } - - parts -= $$config.input.nomake - - # always add libs, as it's required to build Qt - parts *= libs - - $${1}.value = $$parts - export($${1}.value) - $${1}.cache = - - export($${1}.cache) - return(true) -} - -defineTest(qtConfTest_x86Simd) { - simd = $$section(1, ".", -1) # last component - $${1}.args = CONFIG+=add_cflags DEFINES+=NO_ATTRIBUTE SIMD=$$simd - $${1}.test = x86_simd - qtConfTest_compile($${1}) -} - -defineTest(qtConfTest_x86SimdAlways) { - configs = - fpfx = $${currentConfig}.features - tpfx = $${currentConfig}.tests - - # Make a list of all passing features whose tests have type=x86Simd - for (f, $${tpfx}._KEYS_) { - !equals($${tpfx}.$${f}.type, "x86Simd"): \ - next() - qtConfCheckFeature($$f) - equals($${fpfx}.$${f}.available, true): configs += $$f - } - $${1}.literal_args = SIMD=$$join(configs, " ") - qtConfTest_compile($${1}) -} - -# custom outputs - -# this reloads the qmakespec as completely as reasonably possible. -defineTest(reloadSpec) { - bypassNesting() { - for (f, QMAKE_INTERNAL_INCLUDED_FILES) { - contains(f, .*/mkspecs/.*):\ - !contains(f, .*/(qt_build_config|qt_parts|qt_configure|configure_base)\\.prf): \ - discard_from($$f) - } - # nobody's going to try to re-load the features above, - # so don't bother with being selective. - QMAKE_INTERNAL_INCLUDED_FEATURES = \ - # loading it gets simulated below. - $$[QT_HOST_DATA/src]/mkspecs/features/device_config.prf \ - # must be delayed until qdevice.pri is ready. - $$[QT_HOST_DATA/src]/mkspecs/features/mac/toolchain.prf \ - $$[QT_HOST_DATA/src]/mkspecs/features/toolchain.prf - - saved_variables = CONFIG QMAKE_CXXFLAGS - for (name, saved_variables): \ - _SAVED_$$name = $$eval($$name) - load(spec_pre) - # qdevice.pri gets written too late (and we can't write it early - # enough, as it's populated in stages, with later ones depending - # on earlier ones). so inject its variables manually. - for (l, $${currentConfig}.output.devicePro): \ - eval($$l) - include($$QMAKESPEC/qmake.conf) - load(spec_post) - for (name, saved_variables): \ - $$name += $$eval(_SAVED_$$name) - load(default_pre) - - # ensure pristine environment for configuration. again. - discard_from($$[QT_HOST_DATA/get]/mkspecs/qconfig.pri) - discard_from($$[QT_HOST_DATA/get]/mkspecs/qmodule.pri) - } -} - -defineTest(qtConfOutput_prepareSpec) { - device = $$eval(config.input.device) - !isEmpty(device) { - devices = $$files($$[QT_HOST_DATA/src]/mkspecs/devices/*$$device*) - isEmpty(devices): \ - qtConfFatalError("No device matching '$$device'.") - !count(devices, 1) { - err = "Multiple matches for device '$$device'. Candidates are:" - for (d, devices): \ - err += " $$basename(d)" - qtConfFatalError($$err) - } - XSPEC = $$relative_path($$devices, $$[QT_HOST_DATA/src]/mkspecs) - } - xspec = $$eval(config.input.xplatform) - !isEmpty(xspec) { - !exists($$[QT_HOST_DATA/src]/mkspecs/$$xspec/qmake.conf): \ - qtConfFatalError("Invalid target platform '$$xspec'.") - XSPEC = $$xspec - } - isEmpty(XSPEC): \ - XSPEC = $$[QMAKE_SPEC] - export(XSPEC) - QMAKESPEC = $$[QT_HOST_DATA/src]/mkspecs/$$XSPEC - export(QMAKESPEC) - - notes = $$cat($$OUT_PWD/.config.notes, lines) - !isEmpty(notes): \ - qtConfAddNote("Also available for $$notes") - - # deviceOptions() below contains conditionals coming form the spec, - # so this cannot be delayed for a batch reload. - reloadSpec() -} - -defineTest(qtConfOutput_prepareOptions) { - $${currentConfig}.output.devicePro += \ - $$replace(config.input.device-option, "^([^=]+) *= *(.*)$", "\\1 = \\2") - darwin:!isEmpty(config.input.sdk) { - $${currentConfig}.output.devicePro += \ - "QMAKE_MAC_SDK = $$val_escape(config.input.sdk)" - } - android { - sdk_root = $$eval(config.input.android-sdk) - isEmpty(sdk_root): \ - sdk_root = $$getenv(ANDROID_SDK_ROOT) - isEmpty(sdk_root) { - for(ever) { - equals(QMAKE_HOST.os, Linux): \ - sdk_root = $$(HOME)/Android/Sdk - else: equals(QMAKE_HOST.os, Darwin): \ - sdk_root = $$(HOME)/Library/Android/sdk - else: \ - break() - !exists($$sdk_root): \ - sdk_root = - break() - } - } - isEmpty(sdk_root): \ - qtConfFatalError("Cannot find Android SDK." \ - "Please use -android-sdk option to specify one.") - - ndk_root = $$eval(config.input.android-ndk) - isEmpty(ndk_root): \ - ndk_root = $$getenv(ANDROID_NDK_ROOT) - isEmpty(ndk_root) { - for(ever) { - exists($$sdk_root/ndk-bundle) { - ndk_root = $$sdk_root/ndk-bundle - break() - } - equals(QMAKE_HOST.os, Linux): \ - ndk_root = $$(HOME)/Android/Sdk/ndk-bundle - else: equals(QMAKE_HOST.os, Darwin): \ - ndk_root = $$(HOME)/Library/Android/sdk/ndk-bundle - else: \ - break() - !exists($$ndk_root): \ - ndk_root = - break() - } - } - isEmpty(ndk_root): \ - qtConfFatalError("Cannot find Android NDK." \ - "Please use -android-ndk option to specify one.") - - ndk_tc_pfx = $$ndk_root/toolchains/llvm/prebuilt - ndk_host = $$eval(config.input.android-ndk-host) - isEmpty(ndk_host): \ - ndk_host = $$getenv(ANDROID_NDK_HOST) - isEmpty(ndk_host) { - equals(QMAKE_HOST.os, Linux) { - ndk_host_64 = linux-x86_64 - ndk_host_32 = linux-x86 - } else: equals(QMAKE_HOST.os, Darwin) { - ndk_host_64 = darwin-x86_64 - ndk_host_32 = darwin-x86 - } else: equals(QMAKE_HOST.os, Windows) { - ndk_host_64 = windows-x86_64 - ndk_host_32 = windows - } else { - qtConfFatalError("Host operating system not supported by Android.") - } - !exists($$ndk_tc_pfx/$$ndk_host_64/*): ndk_host_64 = - !exists($$ndk_tc_pfx/$$ndk_host_32/*): ndk_host_32 = - equals(QMAKE_HOST.arch, x86_64):!isEmpty(ndk_host_64) { - ndk_host = $$ndk_host_64 - } else: equals(QMAKE_HOST.arch, x86):!isEmpty(ndk_host_32) { - ndk_host = $$ndk_host_32 - } else { - !isEmpty(ndk_host_64): \ - ndk_host = $$ndk_host_64 - else: !isEmpty(ndk_host_32): \ - ndk_host = $$ndk_host_32 - else: \ - qtConfFatalError("Cannot detect the Android host." \ - "Please use -android-ndk-host option to specify one.") - qtConfAddNote("Available Android host does not match host architecture.") - } - } else { - !exists($$ndk_tc_pfx/$$ndk_host/*) { - err = "Specified Android NDK host '$$ndk_host' is invalid. Expected files in the following directory to exist:" - err += '$${ndk_tc_pfx}/$${ndk_host}/' - qtConfFatalError($$err) - } - } - - android_abis = $$eval(config.input.android-abis) - isEmpty(android_abis): \ - android_abis = $$eval(config.input.android-arch) - isEmpty(android_abis): \ - android_abis = armeabi-v7a,arm64-v8a,x86,x86_64 - platform = $$eval(config.input.android-ndk-platform) - isEmpty(platform): \ - platform = android-23 - - android_javac_target = $$eval(config.input.android-javac-target) - android_javac_source = $$eval(config.input.android-javac-source) - - $${currentConfig}.output.devicePro += \ - "DEFAULT_ANDROID_SDK_ROOT = $$val_escape(sdk_root)" \ - "DEFAULT_ANDROID_NDK_ROOT = $$val_escape(ndk_root)" \ - "DEFAULT_ANDROID_PLATFORM = $$platform" \ - "DEFAULT_ANDROID_NDK_HOST = $$ndk_host" \ - "DEFAULT_ANDROID_ABIS = $$split(android_abis, ',')" \ - "ANDROID_JAVAC_TARGET_VERSION = $$android_javac_target" \ - "ANDROID_JAVAC_SOURCE_VERSION = $$android_javac_source" - } - - export($${currentConfig}.output.devicePro) - - # if any settings were made, the spec will be reloaded later - # to make them take effect. -} - -defineTest(qtConfOutput_machineTuple) { - $${currentConfig}.output.devicePro += \ - "GCC_MACHINE_DUMP = $$eval($${currentConfig}.tests.machineTuple.tuple)" - export($${currentConfig}.output.devicePro) - - # for completeness, one could reload the spec here, - # but no downstream users actually need that. -} - -defineTest(qtConfOutput_commitOptions) { - # qdevice.pri needs to be written early, because the compile tests require it. - write_file($$QT_BUILD_TREE/mkspecs/qdevice.pri, $${currentConfig}.output.devicePro)|error() -} - -# Output is written after configuring each Qt module, -# but some tests within a module might depend on the -# configuration output of previous tests. -defineTest(qtConfOutput_commitConfig) { - qtConfProcessOutput() -} - -# type (empty or 'host'), option name, default value -defineTest(processQtPath) { - out_var = config.rel_input.$${2} - path = $$eval(config.input.$${2}) - isEmpty(path) { - $$out_var = $$3 - } else { - path = $$absolute_path($$path, $$OUT_PWD) - rel = $$relative_path($$path, $$eval(config.input.$${1}prefix)) - isEmpty(rel) { - $$out_var = . - } else: contains(rel, \.\..*) { - !equals(2, sysconfdir) { - PREFIX_COMPLAINTS += "-$$2 is not a subdirectory of -$${1}prefix." - export(PREFIX_COMPLAINTS) - !$$eval(have_$${1}prefix) { - PREFIX_REMINDER = true - export(PREFIX_REMINDER) - } - } - $$out_var = $$path - } else { - $$out_var = $$rel - } - } - export($$out_var) -} - -defineTest(addConfStr) { - QT_CONFIGURE_STR_OFFSETS += " $$QT_CONFIGURE_STR_OFF," - QT_CONFIGURE_STRS += " \"$$1\\0\"" - QT_CONFIGURE_STR_OFF = $$num_add($$QT_CONFIGURE_STR_OFF, $$str_size($$1), 1) - export(QT_CONFIGURE_STR_OFFSETS) - export(QT_CONFIGURE_STRS) - export(QT_CONFIGURE_STR_OFF) -} - -defineReplace(printInstallPath) { - val = $$eval(config.rel_input.$$2) - equals(val, $$3): return() - return("$$1=$$val") -} - -defineReplace(printInstallPaths) { - ret = \ - $$printInstallPath(Documentation, docdir, doc) \ - $$printInstallPath(Headers, headerdir, include) \ - $$printInstallPath(Libraries, libdir, lib) \ - $$printInstallPath(LibraryExecutables, libexecdir, $$DEFAULT_LIBEXEC) \ - $$printInstallPath(Binaries, bindir, bin) \ - $$printInstallPath(Plugins, plugindir, plugins) \ - $$printInstallPath(Qml2Imports, qmldir, qml) \ - $$printInstallPath(ArchData, archdatadir, .) \ - $$printInstallPath(Data, datadir, .) \ - $$printInstallPath(Translations, translationdir, translations) \ - $$printInstallPath(Examples, examplesdir, examples) \ - $$printInstallPath(Tests, testsdir, tests) - return($$ret) -} - -defineReplace(printHostPaths) { - ret = \ - "HostPrefix=$$config.input.hostprefix" \ - $$printInstallPath(HostBinaries, hostbindir, bin) \ - $$printInstallPath(HostLibraries, hostlibdir, lib) \ - $$printInstallPath(HostData, hostdatadir, .) \ - "Sysroot=$$config.input.sysroot" \ - "SysrootifyPrefix=$$qmake_sysrootify" \ - "TargetSpec=$$XSPEC" \ - "HostSpec=$$[QMAKE_SPEC]" - return($$ret) -} - -defineTest(qtConfOutput_preparePaths) { - isEmpty(config.input.prefix) { - $$qtConfEvaluate("features.developer-build") { - config.input.prefix = $$QT_BUILD_TREE # In Development, we use sandboxed builds by default - } else { - win32: \ - config.input.prefix = C:/Qt/Qt-$$[QT_VERSION] - else: \ - config.input.prefix = /usr/local/Qt-$$[QT_VERSION] - } - have_prefix = false - } else { - equals(XSPEC, $$[QMAKE_SPEC]) { - # Only make the user-specified prefix absolute if we're not cross-compiling. - config.input.prefix = $$absolute_path($$config.input.prefix, $$OUT_PWD) - } else { - # But we still must normalize path separators. - config.input.prefix = $$replace(config.input.prefix, \\\\, /) - } - have_prefix = true - } - - isEmpty(config.input.extprefix) { - config.input.extprefix = $$config.input.prefix - !isEmpty(config.input.sysroot): \ - qmake_sysrootify = true - else: \ - qmake_sysrootify = false - } else { - config.input.extprefix = $$absolute_path($$config.input.extprefix, $$OUT_PWD) - qmake_sysrootify = false - } - - isEmpty(config.input.hostprefix) { - $$qmake_sysrootify: \ - config.input.hostprefix = $$config.input.sysroot$$config.input.extprefix - else: \ - config.input.hostprefix = $$config.input.extprefix - have_hostprefix = false - } else { - isEqual(config.input.hostprefix, yes): \ - config.input.hostprefix = $$QT_BUILD_TREE - else: \ - config.input.hostprefix = $$absolute_path($$config.input.hostprefix, $$OUT_PWD) - have_hostprefix = true - } - - equals(config.input.prefix, $$config.input.extprefix): \ - qmake_crossbuild = false - else: \ - qmake_crossbuild = true - - PREFIX_COMPLAINTS = - PREFIX_REMINDER = false - win32: \ - DEFAULT_LIBEXEC = bin - else: \ - DEFAULT_LIBEXEC = libexec - darwin: \ - DEFAULT_SYSCONFDIR = /Library/Preferences/Qt - else: \ - DEFAULT_SYSCONFDIR = etc/xdg - - processQtPath("", headerdir, include) - processQtPath("", libdir, lib) - processQtPath("", bindir, bin) - processQtPath("", datadir, .) - !equals(config.rel_input.datadir, .): \ - data_pfx = $$config.rel_input.datadir/ - processQtPath("", docdir, $${data_pfx}doc) - processQtPath("", translationdir, $${data_pfx}translations) - processQtPath("", examplesdir, $${data_pfx}examples) - processQtPath("", testsdir, tests) - processQtPath("", archdatadir, .) - !equals(config.rel_input.archdatadir, .): \ - archdata_pfx = $$config.rel_input.archdatadir/ - processQtPath("", libexecdir, $${archdata_pfx}$$DEFAULT_LIBEXEC) - processQtPath("", plugindir, $${archdata_pfx}plugins) - processQtPath("", qmldir, $${archdata_pfx}qml) - processQtPath("", sysconfdir, $$DEFAULT_SYSCONFDIR) - $$have_hostprefix { - processQtPath(host, hostbindir, bin) - processQtPath(host, hostlibdir, lib) - processQtPath(host, hostdatadir, .) - } else { - processQtPath(host, hostbindir, $$config.rel_input.bindir) - processQtPath(host, hostlibdir, $$config.rel_input.libdir) - processQtPath(host, hostdatadir, $$config.rel_input.archdatadir) - } - - win32:$$qtConfEvaluate("features.shared") { - # Windows DLLs are in the bin dir. - libloc_absolute_path = $$absolute_path($$config.rel_input.bindir, $$config.input.prefix) - } else { - libloc_absolute_path = $$absolute_path($$config.rel_input.libdir, $$config.input.prefix) - } - config.input.liblocation_to_prefix = $$relative_path($$config.input.prefix, $$libloc_absolute_path) - config.qtbase.features.shared.available = - export(config.qtbase.features.shared.available) - - hostbindir_absolute_path = $$absolute_path($$config.rel_input.hostbindir, $$config.input.hostprefix) - config.input.hostbindir_to_hostprefix = $$relative_path($$config.input.hostprefix, $$hostbindir_absolute_path) - config.input.hostbindir_to_extprefix = $$relative_path($$config.input.extprefix, $$hostbindir_absolute_path) - - !isEmpty(PREFIX_COMPLAINTS) { - PREFIX_COMPLAINTS = "$$join(PREFIX_COMPLAINTS, "$$escape_expand(\\n)Note: ")" - $$PREFIX_REMINDER: \ - PREFIX_COMPLAINTS += "Maybe you forgot to specify -prefix/-hostprefix?" - qtConfAddNote($$PREFIX_COMPLAINTS) - } - - # populate qconfig.cpp (for qtcore) - - QT_CONFIGURE_STR_OFF = 0 - QT_CONFIGURE_STR_OFFSETS = - QT_CONFIGURE_STRS = - - addConfStr($$config.rel_input.docdir) - addConfStr($$config.rel_input.headerdir) - addConfStr($$config.rel_input.libdir) - addConfStr($$config.rel_input.libexecdir) - addConfStr($$config.rel_input.bindir) - addConfStr($$config.rel_input.plugindir) - addConfStr($$config.rel_input.qmldir) - addConfStr($$config.rel_input.archdatadir) - addConfStr($$config.rel_input.datadir) - addConfStr($$config.rel_input.translationdir) - addConfStr($$config.rel_input.examplesdir) - addConfStr($$config.rel_input.testsdir) - - QT_CONFIGURE_STR_OFFSETS_ALL = $$QT_CONFIGURE_STR_OFFSETS - QT_CONFIGURE_STRS_ALL = $$QT_CONFIGURE_STRS - QT_CONFIGURE_STR_OFFSETS = - QT_CONFIGURE_STRS = - - addConfStr($$config.input.sysroot) - addConfStr($$qmake_sysrootify) - addConfStr($$config.rel_input.hostbindir) - addConfStr($$config.rel_input.hostlibdir) - addConfStr($$config.rel_input.hostdatadir) - addConfStr($$XSPEC) - addConfStr($$[QMAKE_SPEC]) - - $${currentConfig}.output.qconfigSource = \ - "/* Installation Info */" \ - "static const char qt_configure_prefix_path_str [12+256] = \"qt_prfxpath=$$config.input.prefix\";" \ - "$${LITERAL_HASH}ifdef QT_BUILD_QMAKE" \ - "static const char qt_configure_ext_prefix_path_str [12+256] = \"qt_epfxpath=$$config.input.extprefix\";" \ - "static const char qt_configure_host_prefix_path_str [12+256] = \"qt_hpfxpath=$$config.input.hostprefix\";" \ - "$${LITERAL_HASH}endif" \ - "" \ - "static const short qt_configure_str_offsets[] = {" \ - $$QT_CONFIGURE_STR_OFFSETS_ALL \ - "$${LITERAL_HASH}ifdef QT_BUILD_QMAKE" \ - $$QT_CONFIGURE_STR_OFFSETS \ - "$${LITERAL_HASH}endif" \ - "};" \ - "static const char qt_configure_strs[] =" \ - $$QT_CONFIGURE_STRS_ALL \ - "$${LITERAL_HASH}ifdef QT_BUILD_QMAKE" \ - $$QT_CONFIGURE_STRS \ - "$${LITERAL_HASH}endif" \ - ";" \ - "" \ - "$${LITERAL_HASH}define QT_CONFIGURE_SETTINGS_PATH \"$$config.rel_input.sysconfdir\"" \ - "$${LITERAL_HASH}define QT_CONFIGURE_LIBLOCATION_TO_PREFIX_PATH \"$$config.input.liblocation_to_prefix\"" \ - "$${LITERAL_HASH}define QT_CONFIGURE_HOSTBINDIR_TO_EXTPREFIX_PATH \"$$config.input.hostbindir_to_extprefix\"" \ - "$${LITERAL_HASH}define QT_CONFIGURE_HOSTBINDIR_TO_HOSTPREFIX_PATH \"$$config.input.hostbindir_to_hostprefix\"" \ - "" \ - "$${LITERAL_HASH}ifdef QT_BUILD_QMAKE" \ - "$${LITERAL_HASH} define QT_CONFIGURE_SYSROOTIFY_PREFIX $$qmake_sysrootify" \ - "$${LITERAL_HASH} define QT_CONFIGURE_CROSSBUILD $$qmake_crossbuild" \ - "$${LITERAL_HASH}endif" \ - "" \ - "$${LITERAL_HASH}define QT_CONFIGURE_PREFIX_PATH qt_configure_prefix_path_str + 12" \ - "$${LITERAL_HASH}ifdef QT_BUILD_QMAKE" \ - "$${LITERAL_HASH} define QT_CONFIGURE_EXT_PREFIX_PATH qt_configure_ext_prefix_path_str + 12" \ - "$${LITERAL_HASH} define QT_CONFIGURE_HOST_PREFIX_PATH qt_configure_host_prefix_path_str + 12" \ - "$${LITERAL_HASH}endif" - export($${currentConfig}.output.qconfigSource) - - # create bin/qt.conf. this doesn't use the regular file output - # mechanism, as the file is relied upon by configure tests. - - cont = \ - "[EffectivePaths]" \ - "Prefix=.." \ - "[DevicePaths]" \ - "Prefix=$$config.input.prefix" \ - $$printInstallPaths() \ - "[Paths]" \ - "Prefix=$$config.input.extprefix" \ - $$printInstallPaths() \ - $$printHostPaths() - !equals(QT_SOURCE_TREE, $$QT_BUILD_TREE): \ - cont += \ - "[EffectiveSourcePaths]" \ - "Prefix=$$[QT_INSTALL_PREFIX/src]" - write_file($$QT_BUILD_TREE/bin/qt.conf, cont)|error() - reload_properties() - - # if a sysroot was configured, the spec will be reloaded later, - # as some specs contain $$[SYSROOT] references. -} - -defineTest(qtConfOutput_reloadSpec) { - !isEmpty($${currentConfig}.output.devicePro)| \ - !isEmpty(config.input.sysroot): \ - reloadSpec() - - # toolchain.prf uses this. - dummy = $$qtConfEvaluate("features.cross_compile") - - bypassNesting() { - QMAKE_INTERNAL_INCLUDED_FEATURES -= \ - $$[QT_HOST_DATA/src]/mkspecs/features/mac/toolchain.prf \ - $$[QT_HOST_DATA/src]/mkspecs/features/toolchain.prf - load(toolchain) - } -} - -defineTest(qtConfOutput_shared) { - !$${2}: return() - - # export this here, so later tests can use it - CONFIG += shared - export(CONFIG) -} - -defineTest(qtConfOutput_sanitizer) { - !$${2}: return() - - # Export this here, so that WebEngine can access it at configure time. - CONFIG += sanitizer - $$qtConfEvaluate("features.sanitize_address"): CONFIG += sanitize_address - $$qtConfEvaluate("features.sanitize_thread"): CONFIG += sanitize_thread - $$qtConfEvaluate("features.sanitize_memory"): CONFIG += sanitize_memory - $$qtConfEvaluate("features.sanitize_undefined"): CONFIG += sanitize_undefined - - export(CONFIG) -} - -defineTest(qtConfOutput_architecture) { - arch = $$qtConfEvaluate("tests.architecture.arch") - subarch = $$qtConfEvaluate('tests.architecture.subarch') - buildabi = $$qtConfEvaluate("tests.architecture.buildabi") - - $$qtConfEvaluate("features.cross_compile") { - host_arch = $$qtConfEvaluate("tests.host_architecture.arch") - host_buildabi = $$qtConfEvaluate("tests.host_architecture.buildabi") - - privatePro = \ - "host_build {" \ - " QT_CPU_FEATURES.$$host_arch = $$qtConfEvaluate('tests.host_architecture.subarch')" \ - "} else {" \ - " QT_CPU_FEATURES.$$arch = $$subarch" \ - "}" - publicPro = \ - "host_build {" \ - " QT_ARCH = $$host_arch" \ - " QT_BUILDABI = $$host_buildabi" \ - " QT_TARGET_ARCH = $$arch" \ - " QT_TARGET_BUILDABI = $$buildabi" \ - "} else {" \ - " QT_ARCH = $$arch" \ - " QT_BUILDABI = $$buildabi" \ - "}" - - } else { - privatePro = \ - "QT_CPU_FEATURES.$$arch = $$subarch" - publicPro = \ - "QT_ARCH = $$arch" \ - "QT_BUILDABI = $$buildabi" - } - - $${currentConfig}.output.publicPro += $$publicPro - export($${currentConfig}.output.publicPro) - $${currentConfig}.output.privatePro += $$privatePro - export($${currentConfig}.output.privatePro) - - # setup QT_ARCH and QT_CPU_FEATURES variables used by qtConfEvaluate - QT_ARCH = $$arch - export(QT_ARCH) - QT_CPU_FEATURES.$$arch = $$subarch - export(QT_CPU_FEATURES.$$arch) -} - -defineTest(qtConfOutput_qreal) { - qreal = $$config.input.qreal - isEmpty(qreal): qreal = "double" - qreal_string = $$replace(qreal, [^a-zA-Z0-9], "_") - qtConfOutputVar(assign, "privatePro", "QT_COORD_TYPE", $$qreal) - !equals(qreal, "double") { - qtConfOutputSetDefine("publicHeader", "QT_COORD_TYPE", $$qreal) - qtConfOutputSetDefine("publicHeader", "QT_COORD_TYPE_STRING", "\"$$qreal_string\"") - } -} - -defineTest(qtConfOutput_pkgConfig) { - !$${2}: return() - - PKG_CONFIG_EXECUTABLE = $$eval($${currentConfig}.tests.pkg-config.pkgConfig) - qtConfOutputVar(assign, "privatePro", "PKG_CONFIG_EXECUTABLE", $$PKG_CONFIG_EXECUTABLE) - export(PKG_CONFIG_EXECUTABLE) - # this method also exports PKG_CONFIG_(LIB|SYSROOT)DIR, so that tests using pkgConfig will work correctly - PKG_CONFIG_SYSROOT_DIR = $$eval($${currentConfig}.tests.pkg-config.pkgConfigSysrootDir) - !isEmpty(PKG_CONFIG_SYSROOT_DIR) { - qtConfOutputVar(assign, "publicPro", "PKG_CONFIG_SYSROOT_DIR", $$PKG_CONFIG_SYSROOT_DIR) - export(PKG_CONFIG_SYSROOT_DIR) - } - PKG_CONFIG_LIBDIR = $$eval($${currentConfig}.tests.pkg-config.pkgConfigLibdir) - !isEmpty(PKG_CONFIG_LIBDIR) { - qtConfOutputVar(assign, "publicPro", "PKG_CONFIG_LIBDIR", $$PKG_CONFIG_LIBDIR) - export(PKG_CONFIG_LIBDIR) - } -} - -defineTest(qtConfOutput_crossCompile) { - !$${2}: return() - - # We need to preempt the output here, as subsequent tests rely on it - CONFIG += cross_compile - export(CONFIG) -} - -defineTest(qtConfOutput_useBFDLinker) { - !$${2}: return() - - # We need to preempt the output here, so that qtConfTest_linkerSupportsFlag can work properly in qtbase - CONFIG += use_bfd_linker - export(CONFIG) -} - -defineTest(qtConfOutput_useGoldLinker) { - !$${2}: return() - - # We need to preempt the output here, so that qtConfTest_linkerSupportsFlag can work properly in qtbase - CONFIG += use_gold_linker - export(CONFIG) -} - -defineTest(qtConfOutput_useLLDLinker) { - !$${2}: return() - - # We need to preempt the output here, so that qtConfTest_linkerSupportsFlag can work properly in qtbase - CONFIG += use_lld_linker - export(CONFIG) -} - -defineTest(qtConfOutput_debugAndRelease) { - $$qtConfEvaluate("features.debug") { - qtConfOutputVar(append, "publicPro", "CONFIG", "debug") - $${2}: qtConfOutputVar(append, "publicPro", "QT_CONFIG", "release") - qtConfOutputVar(append, "publicPro", "QT_CONFIG", "debug") - } else { - qtConfOutputVar(append, "publicPro", "CONFIG", "release") - $${2}: qtConfOutputVar(append, "publicPro", "QT_CONFIG", "debug") - qtConfOutputVar(append, "publicPro", "QT_CONFIG", "release") - } -} - -defineTest(qtConfOutput_compilerFlags) { - # this output also exports the variables locally, so that subsequent compiler tests can use them - - output = - !isEmpty(config.input.wflags) { - wflags = $$join(config.input.wflags, " -W", "-W") - QMAKE_CFLAGS_WARN_ON += $$wflags - QMAKE_CXXFLAGS_WARN_ON += $$wflags - export(QMAKE_CFLAGS_WARN_ON) - export(QMAKE_CXXFLAGS_WARN_ON) - output += \ - "QMAKE_CFLAGS_WARN_ON += $$wflags" \ - "QMAKE_CXXFLAGS_WARN_ON += $$wflags" - } - !isEmpty(config.input.defines) { - EXTRA_DEFINES += $$config.input.defines - export(EXTRA_DEFINES) - output += "EXTRA_DEFINES += $$val_escape(config.input.defines)" - } - !isEmpty(config.input.includes) { - EXTRA_INCLUDEPATH += $$config.input.includes - export(EXTRA_INCLUDEPATH) - output += "EXTRA_INCLUDEPATH += $$val_escape(config.input.includes)" - } - - !isEmpty(config.input.lpaths) { - EXTRA_LIBDIR += $$config.input.lpaths - export(EXTRA_LIBDIR) - output += "EXTRA_LIBDIR += $$val_escape(config.input.lpaths)" - } - darwin:!isEmpty(config.input.fpaths) { - EXTRA_FRAMEWORKPATH += $$config.input.fpaths - export(EXTRA_FRAMEWORKPATH) - output += "EXTRA_FRAMEWORKPATH += $$val_escape(config.input.fpaths)" - } - - $${currentConfig}.output.privatePro += $$output - export($${currentConfig}.output.privatePro) -} - -defineTest(qtConfOutput_gccSysroot) { - !$${2}: return() - - # This variable also needs to be exported immediately, so the compilation tests - # can pick it up. - EXTRA_QMAKE_ARGS += \ - "\"QMAKE_CFLAGS += --sysroot=$$config.input.sysroot\"" \ - "\"QMAKE_CXXFLAGS += --sysroot=$$config.input.sysroot\"" \ - "\"QMAKE_LFLAGS += --sysroot=$$config.input.sysroot\"" - export(EXTRA_QMAKE_ARGS) - - # This one is for qtConfToolchainSupportsFlag(). - QMAKE_CXXFLAGS += --sysroot=$$config.input.sysroot - export(QMAKE_CXXFLAGS) - - output = \ - "!host_build {" \ - " QMAKE_CFLAGS += --sysroot=\$\$[QT_SYSROOT]" \ - " QMAKE_CXXFLAGS += --sysroot=\$\$[QT_SYSROOT]" \ - " QMAKE_LFLAGS += --sysroot=\$\$[QT_SYSROOT]" \ - "}" - $${currentConfig}.output.publicPro += $$output - export($${currentConfig}.output.publicPro) -} - -defineTest(qtConfOutput_qmakeArgs) { - !$${2}: return() - - $${currentConfig}.output.privatePro += "!host_build|!cross_compile {" - for (a, config.input.qmakeArgs) { - $${currentConfig}.output.privatePro += " $$a" - EXTRA_QMAKE_ARGS += $$system_quote($$a) - } - $${currentConfig}.output.privatePro += "}" - export(EXTRA_QMAKE_ARGS) - export($${currentConfig}.output.privatePro) -} - -defineReplace(qtConfOutputPostProcess_publicPro) { - qt_version = $$[QT_VERSION] - output = \ - $$1 \ - "QT_VERSION = $$qt_version" \ - "QT_MAJOR_VERSION = $$section(qt_version, '.', 0, 0)" \ - "QT_MINOR_VERSION = $$section(qt_version, '.', 1, 1)" \ - "QT_PATCH_VERSION = $$section(qt_version, '.', 2, 2)" - - #libinfix and namespace - !isEmpty(config.input.qt_libinfix): output += "QT_LIBINFIX = $$config.input.qt_libinfix" - !isEmpty(config.input.qt_namespace): output += "QT_NAMESPACE = $$config.input.qt_namespace" - - !isEmpty(QMAKE_GCC_MAJOR_VERSION) { - output += \ - "QT_GCC_MAJOR_VERSION = $$QMAKE_GCC_MAJOR_VERSION" \ - "QT_GCC_MINOR_VERSION = $$QMAKE_GCC_MINOR_VERSION" \ - "QT_GCC_PATCH_VERSION = $$QMAKE_GCC_PATCH_VERSION" - } - !isEmpty(QMAKE_MAC_SDK_VERSION): \ - output += "QT_MAC_SDK_VERSION = $$QMAKE_MAC_SDK_VERSION" - !isEmpty(QMAKE_CLANG_MAJOR_VERSION) { - output += \ - "QT_CLANG_MAJOR_VERSION = $$QMAKE_CLANG_MAJOR_VERSION" \ - "QT_CLANG_MINOR_VERSION = $$QMAKE_CLANG_MINOR_VERSION" \ - "QT_CLANG_PATCH_VERSION = $$QMAKE_CLANG_PATCH_VERSION" - } - !isEmpty(QMAKE_APPLE_CLANG_MAJOR_VERSION) { - output += \ - "QT_APPLE_CLANG_MAJOR_VERSION = $$QMAKE_APPLE_CLANG_MAJOR_VERSION" \ - "QT_APPLE_CLANG_MINOR_VERSION = $$QMAKE_APPLE_CLANG_MINOR_VERSION" \ - "QT_APPLE_CLANG_PATCH_VERSION = $$QMAKE_APPLE_CLANG_PATCH_VERSION" - } - !isEmpty(QMAKE_MSC_VER) { - output += \ - "QT_MSVC_MAJOR_VERSION = $$replace(QMAKE_MSC_FULL_VER, "(..)(..)(.*)", "\\1")" \ - "QT_MSVC_MINOR_VERSION = $$format_number($$replace(QMAKE_MSC_FULL_VER, "(..)(..)(.*)", "\\2"))" \ - "QT_MSVC_PATCH_VERSION = $$replace(QMAKE_MSC_FULL_VER, "(..)(..)(.*)", "\\3")" - } - !isEmpty(QMAKE_ICC_VER) { - output += \ - "QT_ICC_MAJOR_VERSION = $$replace(QMAKE_ICC_VER, "(..)(..)", "\\1")" \ - "QT_ICC_MINOR_VERSION = $$format_number($$replace(QMAKE_ICC_VER, "(..)(..)", "\\2"))" \ - "QT_ICC_PATCH_VERSION = $$QMAKE_ICC_UPDATE_VER" - } - !isEmpty(QMAKE_GHS_VERSION) { - output += \ - "QT_GHS_MAJOR_VERSION = $$replace(QMAKE_GHS_VERSION, "(.*)(.)(.)", "\\1")" \ - "QT_GHS_MINOR_VERSION = $$replace(QMAKE_GHS_VERSION, "(.*)(.)(.)", "\\2")" \ - "QT_GHS_PATCH_VERSION = $$replace(QMAKE_GHS_VERSION, "(.*)(.)(.)", "\\3")" - } - - output += "QT_EDITION = $$config.input.qt_edition" - !contains(config.input.qt_edition, "(OpenSource|Preview)") { - output += \ - "QT_LICHECK = $$config.input.qt_licheck" \ - "QT_RELEASE_DATE = $$config.input.qt_release_date" - } - - wasm: { - qt_emcc_version = $$qtSystemEmccVersion() - output += \ - "QT_EMCC_VERSION = $$qt_emcc_version" - } - - return($$output) -} - -defineReplace(qtConfOutputPostProcess_privatePro) { - output = $$1 - - !isEmpty(config.input.external-hostbindir): \ - output += "HOST_QT_TOOLS = $$val_escape(config.input.external-hostbindir)" - - return($$output) -} - -defineReplace(qtConfOutputPostProcess_publicHeader) { - qt_version = $$[QT_VERSION] - output = \ - $$1 \ - "$${LITERAL_HASH}define QT_VERSION_STR \"$$qt_version\"" \ - "$${LITERAL_HASH}define QT_VERSION_MAJOR $$section(qt_version, '.', 0, 0)" \ - "$${LITERAL_HASH}define QT_VERSION_MINOR $$section(qt_version, '.', 1, 1)" \ - "$${LITERAL_HASH}define QT_VERSION_PATCH $$section(qt_version, '.', 2, 2)" - - !$$qtConfEvaluate("features.shared") { - output += \ - "/* Qt was configured for a static build */" \ - "$${LITERAL_HASH}if !defined(QT_SHARED) && !defined(QT_STATIC)" \ - "$${LITERAL_HASH} define QT_STATIC" \ - "$${LITERAL_HASH}endif" - } - - !isEmpty(config.input.qt_libinfix): \ - output += "$${LITERAL_HASH}define QT_LIBINFIX \"$$eval(config.input.qt_libinfix)\"" - - wasm: { - qt_emcc_version = $$qtSystemEmccVersion() -output += \ - "$${LITERAL_HASH}define QT_EMCC_VERSION \"$$qt_emcc_version\"" - } - - return($$output) -} - - -# custom reporting - -defineTest(qtConfReport_buildParts) { - qtConfReportPadded($${1}, $$qtConfEvaluate("tests.build_parts.value")) -} - -defineReplace(qtConfReportArch) { - arch = $$qtConfEvaluate('tests.$${1}.arch') - subarch = $$qtConfEvaluate('tests.$${1}.subarch') - isEmpty(subarch): subarch = <none> - return("$$arch, CPU features: $$subarch") -} - -defineReplace(qtConfReportCompiler) { - clang_cl: { - return("clang-cl $${QMAKE_CLANG_MAJOR_VERSION}.$${QMAKE_CLANG_MINOR_VERSION}.$${QMAKE_CLANG_PATCH_VERSION}") - } else: clang { - !isEmpty(QMAKE_APPLE_CLANG_MAJOR_VERSION) { - return("clang (Apple) $${QMAKE_APPLE_CLANG_MAJOR_VERSION}.$${QMAKE_APPLE_CLANG_MINOR_VERSION}.$${QMAKE_APPLE_CLANG_PATCH_VERSION}") - } else { - return("clang $${QMAKE_CLANG_MAJOR_VERSION}.$${QMAKE_CLANG_MINOR_VERSION}.$${QMAKE_CLANG_PATCH_VERSION}") - } - } else: intel_icc { - return("intel_icc $$QMAKE_ICC_VER") - } else: intel_icl { - return("intel_icl $$QMAKE_ICC_VER") - } else: rim_qcc { - return("rim_qcc $${QMAKE_GCC_MAJOR_VERSION}.$${QMAKE_GCC_MINOR_VERSION}.$${QMAKE_GCC_PATCH_VERSION}") - } else: gcc { - return("gcc $${QMAKE_GCC_MAJOR_VERSION}.$${QMAKE_GCC_MINOR_VERSION}.$${QMAKE_GCC_PATCH_VERSION}") - } else: msvc { - return("msvc $$QMAKE_MSC_FULL_VER") - } else: ghs { - return("ghs $$QMAKE_GHS_VERSION") - } else { - return("unknown ($$QMAKE_COMPILER)") - } -} - - -defineTest(qtConfReport_buildTypeAndConfig) { - !$$qtConfEvaluate("features.cross_compile") { - qtConfAddReport("Build type: $$[QMAKE_SPEC] ($$qtConfReportArch(architecture))") - qtConfAddReport("Compiler: $$qtConfReportCompiler()") - } else { - qtConfAddReport("Building on: $$[QMAKE_SPEC] ($$qtConfReportArch(host_architecture))") - qtConfAddReport("Building for: $$[QMAKE_XSPEC] ($$qtConfReportArch(architecture))") - qtConfAddReport("Target compiler: $$qtConfReportCompiler()") - } - - qtConfAddReport() - qtConfAddReport("Configuration: $$eval($${currentConfig}.output.privatePro.append.CONFIG) $$eval($${currentConfig}.output.publicPro.append.QT_CONFIG)") - qtConfAddReport() -} - -defineTest(qtConfReport_buildMode) { - $$qtConfEvaluate("features.force_debug_info"): \ - release = "release (with debug info)" - else: \ - release = "release" - - $$qtConfEvaluate("features.debug") { - build_mode = "debug" - raw_build_mode = "debug" - } else { - build_mode = $$release - raw_build_mode = "release" - } - - $$qtConfEvaluate("features.debug_and_release"): \ - build_mode = "debug and $$release; default link: $$raw_build_mode" - - $$qtConfEvaluate("features.release_tools"): \ - build_mode = "$$build_mode; optimized tools" - - qtConfReportPadded($$1, $$build_mode) -} - -defineTest(qtConfReport_emccVersion) { - EMCC_VERSION = $$qtSystemEmccVersion() - REQ_VERSION = $$qtEmccRecommendedVersion() - !equals(EMCC_VERSION, $$REQ_VERSION) { - qtConfAddReport("You should use the recommended Emscripten version $$REQ_VERSION with this Qt. You have $$EMCC_VERSION $$QT_EMCC_VERSION") - } -} - -# ensure pristine environment for configuration -discard_from($$[QT_HOST_DATA/get]/mkspecs/qconfig.pri) -discard_from($$[QT_HOST_DATA/get]/mkspecs/qmodule.pri) -# ... and cause them to be reloaded afterwards -QMAKE_POST_CONFIGURE += \ - "include(\$\$[QT_HOST_DATA/get]/mkspecs/qconfig.pri)" \ - "include(\$\$[QT_HOST_DATA/get]/mkspecs/qmodule.pri)" - -defineTest(createConfigStatus) { - $$QMAKE_REDO_CONFIG: return() - cfg = $$relative_path($$_PRO_FILE_PWD_/configure, $$OUT_PWD) - ext = - equals(QMAKE_HOST.os, Windows) { - ext = .bat - cont = \ - "$$system_quote($$system_path($$cfg)$$ext) -redo %*" - } else { - !contains(cfg, .*/.*): cfg = ./$$cfg - cont = \ - "$${LITERAL_HASH}!/bin/sh" \ - "exec $$system_quote($$cfg) -redo \"$@\"" - } - write_file($$OUT_PWD/config.status$$ext, cont, exe)|error() -} - -QMAKE_POST_CONFIGURE += \ - "createConfigStatus()" diff --git a/doc/doc.pro b/doc/doc.pro deleted file mode 100644 index 802bd12222..0000000000 --- a/doc/doc.pro +++ /dev/null @@ -1,9 +0,0 @@ -TEMPLATE = aux - -global_docs.files = \ - $$PWD/global \ - $$PWD/config -global_docs.path = $$[QT_INSTALL_DOCS] -INSTALLS += global_docs -!prefix_build:!equals(OUT_PWD, $$PWD): \ - COPIES += global_docs diff --git a/qmake/qmake-aux.pro b/qmake/qmake-aux.pro deleted file mode 100644 index f432fab05d..0000000000 --- a/qmake/qmake-aux.pro +++ /dev/null @@ -1,25 +0,0 @@ -option(host_build) -TEMPLATE = aux - -# qmake documentation -QMAKE_DOCS = $$PWD/doc/qmake.qdocconf - -# qmake binary -win32: EXTENSION = .exe - -!build_pass { - qmake_exe.target = $$OUT_PWD/qmake$$EXTENSION - qmake_exe.commands = $(MAKE) binary - qmake_exe.CONFIG = phony - QMAKE_EXTRA_TARGETS += qmake_exe - - QMAKE_DISTCLEAN += qmake$$EXTENSION - - first.depends += qmake_exe - QMAKE_EXTRA_TARGETS += first -} - -qmake.path = $$[QT_HOST_BINS] -qmake.files = $$OUT_PWD/qmake$$EXTENSION -qmake.CONFIG = no_check_exist executable -INSTALLS += qmake diff --git a/qmake/qmake.pro b/qmake/qmake.pro deleted file mode 100644 index 7474d5d54d..0000000000 --- a/qmake/qmake.pro +++ /dev/null @@ -1,266 +0,0 @@ -# This project is not actually used to build qmake, but to support development -# with Qt Creator. The real build system is made up by the Makefile templates -# and the configures. - -option(host_build) -CONFIG += cmdline -CONFIG -= qt - -DEFINES += \ - PROEVALUATOR_FULL \ - QT_BOOTSTRAPPED \ - QT_BUILD_QMAKE \ - QT_USE_QSTRINGBUILDER \ - QT_NO_FOREACH \ - $$shell_quote(QT_VERSION_STR=\"$$QT_VERSION\") \ - QT_VERSION_MAJOR=$$QT_MAJOR_VERSION \ - QT_VERSION_MINOR=$$QT_MINOR_VERSION \ - QT_VERSION_PATCH=$$QT_PATCH_VERSION \ - PCRE2_DISABLE_JIT - -win32: DEFINES += \ - UNICODE \ - _ENABLE_EXTENDED_ALIGNED_STORAGE \ - _CRT_SECURE_NO_WARNINGS _SCL_SECURE_NO_WARNINGS - -# qmake code - -PRECOMPILED_HEADER = qmake_pch.h - -INCLUDEPATH += \ - . \ - library \ - generators \ - generators/unix \ - generators/win32 \ - generators/mac \ - ../src/3rdparty/tinycbor/src - -SOURCES += \ - main.cpp \ - meta.cpp \ - option.cpp \ - project.cpp \ - property.cpp \ - library/ioutils.cpp \ - library/proitems.cpp \ - library/qmakebuiltins.cpp \ - library/qmakeevaluator.cpp \ - library/qmakeglobals.cpp \ - library/qmakeparser.cpp \ - library/qmakevfs.cpp \ - generators/makefile.cpp \ - generators/makefiledeps.cpp \ - generators/metamakefile.cpp \ - generators/projectgenerator.cpp \ - generators/xmloutput.cpp \ - generators/mac/pbuilder_pbx.cpp \ - generators/unix/unixmake.cpp \ - generators/unix/unixmake2.cpp \ - generators/win32/mingw_make.cpp \ - generators/win32/msbuild_objectmodel.cpp \ - generators/win32/msvc_nmake.cpp \ - generators/win32/msvc_objectmodel.cpp \ - generators/win32/msvc_vcproj.cpp \ - generators/win32/msvc_vcxproj.cpp \ - generators/win32/winmakefile.cpp - -HEADERS += \ - cachekeys.h \ - meta.h \ - option.h \ - project.h \ - property.h \ - library/ioutils.h \ - library/proitems.h \ - library/qmake_global.h \ - library/qmakeevaluator.h \ - library/qmakeevaluator_p.h \ - library/qmakeglobals.h \ - library/qmakeparser.h \ - library/qmakevfs.h \ - generators/makefile.h \ - generators/makefiledeps.h \ - generators/metamakefile.h \ - generators/projectgenerator.h \ - generators/xmloutput.h \ - generators/mac/pbuilder_pbx.h \ - generators/unix/unixmake.h \ - generators/win32/mingw_make.h \ - generators/win32/msbuild_objectmodel.h \ - generators/win32/msvc_nmake.h \ - generators/win32/msvc_objectmodel.h \ - generators/win32/msvc_vcproj.h \ - generators/win32/msvc_vcxproj.h \ - generators/win32/winmakefile.h - -# qt code - -bp = $$shadowed(..) -INCLUDEPATH += \ - $$bp/include $$bp/include/QtCore \ - $$bp/include/QtCore/$$QT_VERSION $$bp/include/QtCore/$$QT_VERSION/QtCore \ - $$bp/src/corelib/global - -VPATH += \ - ../src/corelib/global \ - ../src/corelib/text \ - ../src/corelib/tools \ - ../src/corelib/kernel \ - ../src/corelib/plugin \ - ../src/corelib/io \ - ../src/corelib/time \ - ../src/corelib/serialization - -SOURCES += \ - qabstractfileengine.cpp \ - qarraydata.cpp \ - qbitarray.cpp \ - qbuffer.cpp \ - qbytearray.cpp \ - qbytearraymatcher.cpp \ - qcalendar.cpp \ - qcborstreamwriter.cpp \ - qcborvalue.cpp \ - qcryptographichash.cpp \ - qdatetime.cpp \ - qdir.cpp \ - qdiriterator.cpp \ - qfile.cpp \ - qfiledevice.cpp \ - qfileinfo.cpp \ - qfilesystemengine.cpp \ - qfilesystementry.cpp \ - qfsfileengine.cpp \ - qfsfileengine_iterator.cpp \ - qglobal.cpp \ - qgregoriancalendar.cpp \ - qhash.cpp \ - qiodevice.cpp \ - qiterable.cpp \ - qjsonarray.cpp \ - qjsoncbor.cpp \ - qjsondocument.cpp \ - qjsonobject.cpp \ - qjsonparser.cpp \ - qjsonvalue.cpp \ - qlibraryinfo.cpp \ - qlocale.cpp \ - qlocale_tools.cpp \ - qlogging.cpp \ - qmalloc.cpp \ - qmetacontainer.cpp \ - qmetatype.cpp \ - qnumeric.cpp \ - qregularexpression.cpp \ - qromancalendar.cpp \ - qsettings.cpp \ - qstring.cpp \ - qstringbuilder.cpp \ - qstringconverter.cpp \ - qstringlist.cpp \ - qsystemerror.cpp \ - qtemporaryfile.cpp \ - qtextstream.cpp \ - quuid.cpp \ - qvariant.cpp \ - qversionnumber.cpp \ - qvsnprintf.cpp \ - -HEADERS += \ - qabstractfileengine_p.h \ - qarraydata.h \ - qarraydataops.h \ - qarraydatapointer.h \ - qbitarray.h \ - qbuffer.h \ - qbytearray.h \ - qbytearraymatcher.h \ - qcalendar.h \ - qcalendarbackend_p.h \ - qcalendarmath_p.h \ - qcborstreamwriter.h \ - qcborvalue.h \ - qcborvalue_p.h \ - qchar.h \ - qcontainerinfo.h \ - qcryptographichash.h \ - qdatetime.h \ - qdatetime_p.h \ - qduplicatetracker_p.h \ - qdir.h \ - qdir_p.h \ - qdiriterator.h \ - qfile.h \ - qfileinfo.h \ - qglobal.h \ - qgregoriancalendar_p.h \ - qhash.h \ - qiodevice.h \ - qiterable.h \ - qjson_p.h \ - qjsonarray.h \ - qjsondocument.h \ - qjsonobject.h \ - qjsonparser_p.h \ - qjsonvalue.h \ - qjsonwriter_p.h \ - qlist.h \ - qlocale.h \ - qlocale_tools_p.h \ - qmap.h \ - qmetacontainer.h \ - qmetatype.h \ - qnumeric.h \ - qregularexpression.h \ - qromancalendar_p.h \ - qstring.h \ - qstringbuilder.h \ - qstringconverter_p.h \ - qstringconverter.h \ - qstringlist.h \ - qstringmatcher.h \ - qsystemerror_p.h \ - qtemporaryfile.h \ - qtextstream.h \ - quuid.h \ - qvector.h \ - qversionnumber.h \ - -include(../src/3rdparty/pcre2/pcre2.pri) - -unix { - SOURCES += \ - qcore_unix.cpp \ - qfilesystemengine_unix.cpp \ - qfilesystemiterator_unix.cpp \ - qfsfileengine_unix.cpp \ - qlocale_unix.cpp - macos { - SOURCES += \ - qcore_foundation.mm \ - qcore_mac.mm \ - qoperatingsystemversion_darwin.mm \ - qsettings_mac.cpp - LIBS += \ - -framework ApplicationServices \ - -framework CoreServices \ - -framework Foundation - QMAKE_CXXFLAGS += -fconstant-cfstrings - } -} else { - SOURCES += \ - qfilesystemengine_win.cpp \ - qfilesystemiterator_win.cpp \ - qfsfileengine_win.cpp \ - qlocale_win.cpp \ - qoperatingsystemversion_win.cpp \ - qsettings_win.cpp \ - qsystemlibrary.cpp \ - library/registry.cpp - LIBS += -lole32 -ladvapi32 -lkernel32 -lnetapi32 - mingw: LIBS += -luuid - clang: QMAKE_CXXFLAGS += -fms-compatibility-version=19.00.23506 -Wno-microsoft-enum-value -} - -load(qt_tool) diff --git a/qtbase.pro b/qtbase.pro deleted file mode 100644 index 4f1871fe0a..0000000000 --- a/qtbase.pro +++ /dev/null @@ -1,98 +0,0 @@ - - -##################################################################### -# Main projectfile -##################################################################### - -load(qt_parts) - -sub_qmake.file = qmake/qmake-aux.pro -sub_doc.subdir = doc -sub_src.depends += sub_qmake - -SUBDIRS += sub_qmake sub_doc - -cross_compile: CONFIG += nostrip - -confclean.depends += distclean -confclean.commands = echo The confclean target is obsolete. Please use distclean instead. -QMAKE_EXTRA_TARGETS += confclean - -qmake-clean.commands += (cd qmake && $(MAKE) clean) -QMAKE_EXTRA_TARGETS += qmake-clean -CLEAN_DEPS += qmake-clean - -# We don't distclean qmake, as it may be needed for rebuilding Makefiles as a -# recursive distclean proceeds, including beyond qtbase. -DISTCLEAN_DEPS += qmake-clean - -# Files created by configure. -# config.status (and configure.cache, which is the same for Windows) -# are omitted for convenience of rebuilds. -QMAKE_DISTCLEAN += \ - config.summary \ - config.tests/.qmake.cache \ - mkspecs/qconfig.pri \ - mkspecs/qdevice.pri \ - mkspecs/qmodule.pri \ - src/corelib/global/qconfig.h \ - src/corelib/global/qconfig_p.h \ - src/corelib/global/qconfig.cpp \ - bin/qt.conf - -CONFIG -= qt - -### installations #### - -#licheck -licheck.path = $$[QT_HOST_BINS] -licheck.files = $$PWD/bin/$$QT_LICHECK -!isEmpty(QT_LICHECK): INSTALLS += licheck - -#fixqt4headers.pl -fixqt4headers.path = $$[QT_HOST_BINS] -fixqt4headers.files = $$PWD/bin/fixqt4headers.pl -INSTALLS += fixqt4headers - -#syncqt -syncqt.path = $$[QT_HOST_BINS] -syncqt.files = $$PWD/bin/syncqt.pl -INSTALLS += syncqt - -# If we are doing a prefix build, create a "module" pri which enables -# qtPrepareTool() to find the non-installed syncqt. -prefix_build|!equals(PWD, $$OUT_PWD) { - - cmd = perl -w $$system_path($$PWD/bin/syncqt.pl) - - TOOL_PRI = $$OUT_PWD/mkspecs/modules/qt_tool_syncqt.pri - - TOOL_PRI_CONT = "QT_TOOL.syncqt.binary = $$val_escape(cmd)" - write_file($$TOOL_PRI, TOOL_PRI_CONT)|error("Aborting.") - - # Then, inject the new tool into the current cache state - !contains(QMAKE_INTERNAL_INCLUDED_FILES, $$TOOL_PRI) { # before the actual include()! - added = $$TOOL_PRI - cache(QMAKE_INTERNAL_INCLUDED_FILES, add transient, added) - } - include($$TOOL_PRI) - cache(QT_TOOL.syncqt.binary, transient) - -} - -#mkspecs -mkspecs.path = $$[QT_HOST_DATA]/mkspecs -mkspecs.files = \ - $$OUT_PWD/mkspecs/qconfig.pri $$OUT_PWD/mkspecs/qmodule.pri \ - $$OUT_PWD/mkspecs/qdevice.pri \ - $$files($$PWD/mkspecs/*) -mkspecs.files -= $$PWD/mkspecs/modules $$PWD/mkspecs/modules-inst -INSTALLS += mkspecs - -OTHER_FILES += \ - configure \ - header.BSD \ - header.FDL \ - header.LGPL \ - header.LGPL-ONLY \ - sync.profile diff --git a/src/3rdparty/VulkanMemoryAllocator.pri b/src/3rdparty/VulkanMemoryAllocator.pri deleted file mode 100644 index 7466200dfc..0000000000 --- a/src/3rdparty/VulkanMemoryAllocator.pri +++ /dev/null @@ -1 +0,0 @@ -INCLUDEPATH += $$PWD/VulkanMemoryAllocator diff --git a/src/3rdparty/double-conversion/double-conversion.pri b/src/3rdparty/double-conversion/double-conversion.pri deleted file mode 100644 index 395c4682f9..0000000000 --- a/src/3rdparty/double-conversion/double-conversion.pri +++ /dev/null @@ -1,22 +0,0 @@ -INCLUDEPATH += $$PWD/.. $$PWD/include -SOURCES += \ - $$PWD/bignum.cc \ - $$PWD/bignum-dtoa.cc \ - $$PWD/cached-powers.cc \ - $$PWD/diy-fp.cc \ - $$PWD/double-conversion.cc \ - $$PWD/fast-dtoa.cc \ - $$PWD/fixed-dtoa.cc \ - $$PWD/strtod.cc - -HEADERS += \ - $$PWD/bignum-dtoa.h \ - $$PWD/bignum.h \ - $$PWD/cached-powers.h \ - $$PWD/diy-fp.h \ - $$PWD/include/double-conversion/double-conversion.h \ - $$PWD/fast-dtoa.h \ - $$PWD/fixed-dtoa.h \ - $$PWD/ieee.h \ - $$PWD/strtod.h \ - $$PWD/include/double-conversion/utils.h diff --git a/src/3rdparty/freetype/freetype.pro b/src/3rdparty/freetype/freetype.pro deleted file mode 100644 index 7dce10a902..0000000000 --- a/src/3rdparty/freetype/freetype.pro +++ /dev/null @@ -1,84 +0,0 @@ -TARGET = qtfreetype - -CONFIG += \ - static \ - hide_symbols \ - exceptions_off rtti_off warn_off \ - installed - -MODULE_INCLUDEPATH += $$PWD/include -MODULE_EXT_HEADERS_DIR = $$PWD/include - -load(qt_helper_lib) - -SOURCES += \ - $$PWD/src/autofit/afdummy.c \ - $$PWD/src/autofit/afhints.c \ - $$PWD/src/autofit/aflatin.c \ - $$PWD/src/autofit/autofit.c \ - $$PWD/src/base/ftbase.c \ - $$PWD/src/base/ftbitmap.c \ - $$PWD/src/base/ftbbox.c \ - $$PWD/src/base/ftdebug.c \ - $$PWD/src/base/ftglyph.c \ - $$PWD/src/base/ftfntfmt.c \ - $$PWD/src/base/ftinit.c \ - $$PWD/src/base/ftlcdfil.c \ - $$PWD/src/base/ftmm.c \ - $$PWD/src/base/ftsynth.c \ - $$PWD/src/base/fttype1.c \ - $$PWD/src/bdf/bdf.c \ - $$PWD/src/cache/ftcache.c \ - $$PWD/src/cff/cff.c \ - $$PWD/src/cid/type1cid.c \ - $$PWD/src/gzip/ftgzip.c \ - $$PWD/src/lzw/ftlzw.c \ - $$PWD/src/otvalid/otvalid.c \ - $$PWD/src/otvalid/otvbase.c \ - $$PWD/src/otvalid/otvcommn.c \ - $$PWD/src/otvalid/otvgdef.c \ - $$PWD/src/otvalid/otvgpos.c \ - $$PWD/src/otvalid/otvgsub.c \ - $$PWD/src/otvalid/otvjstf.c \ - $$PWD/src/otvalid/otvmod.c \ - $$PWD/src/pcf/pcf.c \ - $$PWD/src/pfr/pfr.c \ - $$PWD/src/psaux/psaux.c \ - $$PWD/src/pshinter/pshinter.c \ - $$PWD/src/psnames/psmodule.c \ - $$PWD/src/raster/raster.c \ - $$PWD/src/sfnt/sfnt.c \ - $$PWD/src/smooth/smooth.c \ - $$PWD/src/truetype/truetype.c \ - $$PWD/src/type1/type1.c \ - $$PWD/src/type42/type42.c \ - $$PWD/src/winfonts/winfnt.c - -# These source files are included by one of the sources above -# which means they should not be compiled as separate object files. -OTHER_FILES += \ - $$PWD/src/autofit/afangles.c \ - $$PWD/src/autofit/afglobal.c \ - $$PWD/src/autofit/afloader.c \ - $$PWD/src/autofit/afmodule.c - -win32 { - SOURCES += $$PWD/src/base/ftsystem.c -} else { - SOURCES += $$PWD/builds/unix/ftsystem.c - INCLUDEPATH += $$PWD/builds/unix -} - -DEFINES += FT2_BUILD_LIBRARY - -DEFINES += FT_CONFIG_OPTION_SYSTEM_ZLIB -include(../zlib_dependency.pri) - -include($$OUT_PWD/../../gui/qtgui-config.pri) -QT_FOR_CONFIG += gui-private -qtConfig(png) { - DEFINES += FT_CONFIG_OPTION_USE_PNG - QMAKE_USE_PRIVATE += libpng -} - -DEFINES += TT_CONFIG_OPTION_SUBPIXEL_HINTING diff --git a/src/3rdparty/gradle/gradle.pro b/src/3rdparty/gradle/gradle.pro deleted file mode 100644 index 5d8efdcfd3..0000000000 --- a/src/3rdparty/gradle/gradle.pro +++ /dev/null @@ -1,32 +0,0 @@ -TEMPLATE = aux -TARGET = dummy # Avoid a conflict with the existing gradle directory -CONFIG -= qt android_install - -gradle_files.files = \ - $$PWD/gradlew \ - $$PWD/gradlew.bat \ - $$PWD/gradle.properties -gradle_dirs.files = \ - $$PWD/gradle - -gradle_files.path = $$[QT_INSTALL_PREFIX]/src/3rdparty/gradle -gradle_dirs.path = $${gradle_files.path} - -INSTALLS += gradle_files gradle_dirs -!prefix_build:!equals(OUT_PWD, $$PWD) { - # For COPIES to work, files and directory entries need to be separate objects. - COPIES += gradle_files gradle_dirs -} - -!prefix_build:!equals(OUT_PWD, $$PWD) { - RETURN = $$escape_expand(\\n\\t) - equals(QMAKE_HOST.os, Windows) { - RETURN = $$escape_expand(\\r\\n\\t) - } - OUT_PATH = $$shell_path($$OUT_PWD) - - QMAKE_POST_LINK += \ - $${QMAKE_COPY} $$shell_path($$PWD/gradlew) $$OUT_PATH $$RETURN \ - $${QMAKE_COPY} $$shell_path($$PWD/gradlew.bat) $$OUT_PATH $$RETURN \ - $${QMAKE_COPY_DIR} $$shell_path($$PWD/gradle) $$OUT_PATH -} diff --git a/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro b/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro deleted file mode 100644 index 8b53f3e990..0000000000 --- a/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro +++ /dev/null @@ -1,187 +0,0 @@ -TARGET = qtharfbuzz - -CONFIG += \ - static \ - hide_symbols \ - exceptions_off rtti_off warn_off - -MODULE_INCLUDEPATH += $$PWD/include/harfbuzz - - -# built-in shapers list configuration: -SHAPERS += opentype # HB's main shaper; enabling it should be enough most of the time - -# native shaper on Apple platforms; could be used alone to handle both OT and AAT fonts -darwin: SHAPERS += coretext - -# fallback shaper: not really useful with opentype or coretext shaper -#SHAPERS += fallback - -DEFINES += HAVE_CONFIG_H -DEFINES += HB_NO_UNICODE_FUNCS -DEFINES += HB_NDEBUG -DEFINES += HB_EXTERN= - -# platform/compiler specific definitions -DEFINES += HAVE_ATEXIT -unix: DEFINES += HAVE_PTHREAD HAVE_SCHED_H HAVE_SCHED_YIELD -win32: DEFINES += HB_NO_WIN1256 - -# Harfbuzz-NG inside Qt uses the Qt atomics (inline code only) -INCLUDEPATH += $$QT.core.includes -DEFINES += QT_NO_VERSION_TAGGING - -SOURCES += \ - $$PWD/src/hb-aat-layout.cc \ - $$PWD/src/hb-aat-map.cc \ - $$PWD/src/hb-blob.cc \ - $$PWD/src/hb-buffer.cc \ - $$PWD/src/hb-buffer-serialize.cc \ - $$PWD/src/hb-face.cc \ - $$PWD/src/hb-fallback-shape.cc \ - $$PWD/src/hb-font.cc \ - $$PWD/src/hb-map.cc \ - $$PWD/src/hb-number.cc \ - $$PWD/src/hb-set.cc \ - $$PWD/src/hb-shape.cc \ - $$PWD/src/hb-shape-plan.cc \ - $$PWD/src/hb-shaper.cc \ - $$PWD/src/hb-subset.cc \ - $$PWD/src/hb-subset-cff-common.cc \ - $$PWD/src/hb-subset-cff1.cc \ - $$PWD/src/hb-subset-cff2.cc \ - $$PWD/src/hb-subset-input.cc \ - $$PWD/src/hb-subset-plan.cc \ - $$PWD/src/hb-unicode.cc \ - $$PWD/hb-dummy.cc - -OTHER_FILES += \ - $$PWD/src/harfbuzz.cc - -HEADERS += \ - $$PWD/src/hb-atomic.hh \ - $$PWD/src/hb-algs.hh \ - $$PWD/src/hb-buffer.hh \ - $$PWD/src/hb-buffer-deserialize-json.hh \ - $$PWD/src/hb-buffer-deserialize-text.hh \ - $$PWD/src/hb-cache.hh \ - $$PWD/src/hb-debug.hh \ - $$PWD/src/hb-face.hh \ - $$PWD/src/hb-font.hh \ - $$PWD/src/hb-mutex.hh \ - $$PWD/src/hb-object.hh \ - $$PWD/src/hb-open-file.hh \ - $$PWD/src/hb-open-type.hh \ - $$PWD/src/hb-set-digest.hh \ - $$PWD/src/hb-set.hh \ - $$PWD/src/hb-shape-plan.hh \ - $$PWD/src/hb-shaper-impl.hh \ - $$PWD/src/hb-shaper-list.hh \ - $$PWD/src/hb-shaper.hh \ - $$PWD/src/hb-string-array.hh \ - $$PWD/src/hb-unicode.hh \ - $$PWD/src/hb-utf.hh - -HEADERS += \ - $$PWD/src/hb.h \ - $$PWD/src/hb-blob.h \ - $$PWD/src/hb-buffer.h \ - $$PWD/src/hb-common.h \ - $$PWD/src/hb-deprecated.h \ - $$PWD/src/hb-face.h \ - $$PWD/src/hb-font.h \ - $$PWD/src/hb-set.h \ - $$PWD/src/hb-shape.h \ - $$PWD/src/hb-shape-plan.h \ - $$PWD/src/hb-unicode.h \ - $$PWD/src/hb-version.h - -contains(SHAPERS, opentype) { - DEFINES += HAVE_OT - - SOURCES += \ - $$PWD/src/hb-ot-cff1-table.cc \ - $$PWD/src/hb-ot-cff2-table.cc \ - $$PWD/src/hb-ot-color.cc \ - $$PWD/src/hb-ot-face.cc \ - $$PWD/src/hb-ot-font.cc \ - $$PWD/src/hb-ot-layout.cc \ - $$PWD/src/hb-ot-map.cc \ - $$PWD/src/hb-ot-math.cc \ - $$PWD/src/hb-ot-meta.cc \ - $$PWD/src/hb-ot-metrics.cc \ - $$PWD/src/hb-ot-name.cc \ - $$PWD/src/hb-ot-shape.cc \ - $$PWD/src/hb-ot-tag.cc \ - $$PWD/src/hb-ot-shape-complex-arabic.cc \ - $$PWD/src/hb-ot-shape-complex-default.cc \ - $$PWD/src/hb-ot-shape-complex-hangul.cc \ - $$PWD/src/hb-ot-shape-complex-hebrew.cc \ - $$PWD/src/hb-ot-shape-complex-indic.cc \ - $$PWD/src/hb-ot-shape-complex-indic-table.cc \ - $$PWD/src/hb-ot-shape-complex-khmer.cc \ - $$PWD/src/hb-ot-shape-complex-myanmar.cc \ - $$PWD/src/hb-ot-shape-complex-thai.cc \ - $$PWD/src/hb-ot-shape-complex-use.cc \ - $$PWD/src/hb-ot-shape-complex-use-table.cc \ - $$PWD/src/hb-ot-shape-complex-vowel-constraints.cc \ - $$PWD/src/hb-ot-shape-fallback.cc \ - $$PWD/src/hb-ot-shape-normalize.cc \ - $$PWD/src/hb-ot-var.cc - - HEADERS += \ - $$PWD/src/hb-ot-cmap-table.hh \ - $$PWD/src/hb-ot-color-cbdt-table.hh \ - $$PWD/src/hb-ot-glyf-table.hh \ - $$PWD/src/hb-ot-head-table.hh \ - $$PWD/src/hb-ot-hhea-table.hh \ - $$PWD/src/hb-ot-hmtx-table.hh \ - $$PWD/src/hb-ot-kern-table.hh \ - $$PWD/src/hb-ot-layout.hh \ - $$PWD/src/hb-ot-layout-gdef-table.hh \ - $$PWD/src/hb-ot-layout-gpos-table.hh \ - $$PWD/src/hb-ot-layout-gsub-table.hh \ - $$PWD/src/hb-ot-layout-jstf-table.hh \ - $$PWD/src/hb-ot-map.hh \ - $$PWD/src/hb-ot-math-table.hh \ - $$PWD/src/hb-ot-maxp-table.hh \ - $$PWD/src/hb-ot-name-table.hh \ - $$PWD/src/hb-ot-os2-table.hh \ - $$PWD/src/hb-ot-post-table.hh \ - $$PWD/src/hb-ot-post-macroman.hh \ - $$PWD/src/hb-ot-shape.hh \ - $$PWD/src/hb-ot-shape-complex-arabic.hh \ - $$PWD/src/hb-ot-shape-complex-arabic-fallback.hh \ - $$PWD/src/hb-ot-shape-complex-arabic-table.hh \ -# $$PWD/src/hb-ot-shape-complex-arabic-win1256.hh \ # disabled with HB_NO_WIN1256 - $$PWD/src/hb-ot-shape-complex-indic.hh \ - $$PWD/src/hb-ot-shape-complex-indic-machine.hh \ - $$PWD/src/hb-ot-shape-complex-myanmar-machine.hh \ - $$PWD/src/hb-ot-shape-complex-use.hh \ - $$PWD/src/hb-ot-shape-complex-use-machine.hh \ - $$PWD/src/hb-ot-shape-fallback.hh \ - $$PWD/src/hb-ot-shape-normalize.hh \ - $$PWD/src/hb-ot-var-avar-table.hh \ - $$PWD/src/hb-ot-var-fvar-table.hh \ - $$PWD/src/hb-ot-var-hvar-table.hh \ - $$PWD/src/hb-ot-var-mvar-table.hh - - HEADERS += \ - $$PWD/src/hb-ot.h \ - $$PWD/src/hb-ot-font.h \ - $$PWD/src/hb-ot-layout.h \ - $$PWD/src/hb-ot-math.h \ - $$PWD/src/hb-ot-shape.h \ - $$PWD/src/hb-ot-var.h -} - -MODULE_EXT_HEADERS = $$HEADERS - -contains(SHAPERS, fallback)|isEmpty(SHAPERS) { - DEFINES += HAVE_FALLBACK - - SOURCES += \ - $$PWD/src/hb-fallback-shape.cc -} - -load(qt_helper_lib) diff --git a/src/3rdparty/iaccessible2/iaccessible2.pri b/src/3rdparty/iaccessible2/iaccessible2.pri deleted file mode 100644 index f60e67681d..0000000000 --- a/src/3rdparty/iaccessible2/iaccessible2.pri +++ /dev/null @@ -1,18 +0,0 @@ - -ARCH_SUBDIR=x86 -contains(QT_ARCH, x86_64): ARCH_SUBDIR = amd64 - -MIDL_GENERATED = $$PWD/generated/$${ARCH_SUBDIR} - -INCLUDEPATH += $$MIDL_GENERATED - -SOURCES += $${MIDL_GENERATED}/ia2_api_all_i.c - -HEADERS += $${MIDL_GENERATED}/ia2_api_all.h - -OTHER_FILES = \ - $$PWD/idl/ia2_api_all.idl - -LIBS += -lrpcrt4 - -TR_EXCLUDE += $$PWD/* diff --git a/src/3rdparty/libjpeg.pri b/src/3rdparty/libjpeg.pri deleted file mode 100644 index 364dbb11a6..0000000000 --- a/src/3rdparty/libjpeg.pri +++ /dev/null @@ -1,63 +0,0 @@ -# Disable warnings in 3rdparty code due to unused arguments -gcc: QMAKE_CFLAGS_WARN_ON += -Wno-unused-parameter -Wno-main - -# Do not warn about sprintf, getenv, sscanf ... use -msvc: DEFINES += _CRT_SECURE_NO_WARNINGS - -INCLUDEPATH += \ - $$PWD/libjpeg \ - $$PWD/libjpeg/src - -SOURCES += \ - $$PWD/libjpeg/src/jaricom.c \ - $$PWD/libjpeg/src/jcapimin.c \ - $$PWD/libjpeg/src/jcapistd.c \ - $$PWD/libjpeg/src/jcarith.c \ - $$PWD/libjpeg/src/jccoefct.c \ - $$PWD/libjpeg/src/jccolor.c \ - $$PWD/libjpeg/src/jcdctmgr.c \ - $$PWD/libjpeg/src/jchuff.c \ - $$PWD/libjpeg/src/jcinit.c \ - $$PWD/libjpeg/src/jcmainct.c \ - $$PWD/libjpeg/src/jcmarker.c \ - $$PWD/libjpeg/src/jcmaster.c \ - $$PWD/libjpeg/src/jcomapi.c \ - $$PWD/libjpeg/src/jcparam.c \ - $$PWD/libjpeg/src/jcprepct.c \ - $$PWD/libjpeg/src/jcsample.c \ - $$PWD/libjpeg/src/jctrans.c \ - $$PWD/libjpeg/src/jdapimin.c \ - $$PWD/libjpeg/src/jdapistd.c \ - $$PWD/libjpeg/src/jdarith.c \ - $$PWD/libjpeg/src/jdatadst.c \ - $$PWD/libjpeg/src/jdatasrc.c \ - $$PWD/libjpeg/src/jdcoefct.c \ - $$PWD/libjpeg/src/jdcolor.c \ - $$PWD/libjpeg/src/jddctmgr.c \ - $$PWD/libjpeg/src/jdhuff.c \ - $$PWD/libjpeg/src/jdinput.c \ - $$PWD/libjpeg/src/jdmainct.c \ - $$PWD/libjpeg/src/jdmarker.c \ - $$PWD/libjpeg/src/jdmaster.c \ - $$PWD/libjpeg/src/jdmerge.c \ - $$PWD/libjpeg/src/jdpostct.c \ - $$PWD/libjpeg/src/jdsample.c \ - $$PWD/libjpeg/src/jdtrans.c \ - $$PWD/libjpeg/src/jerror.c \ - $$PWD/libjpeg/src/jfdctflt.c \ - $$PWD/libjpeg/src/jfdctfst.c \ - $$PWD/libjpeg/src/jfdctint.c \ - $$PWD/libjpeg/src/jidctflt.c \ - $$PWD/libjpeg/src/jidctfst.c \ - $$PWD/libjpeg/src/jidctint.c \ - $$PWD/libjpeg/src/jquant1.c \ - $$PWD/libjpeg/src/jquant2.c \ - $$PWD/libjpeg/src/jutils.c \ - $$PWD/libjpeg/src/jmemmgr.c \ - $$PWD/libjpeg/src/jsimd_none.c \ - $$PWD/libjpeg/src/jcphuff.c \ - $$PWD/libjpeg/src/jidctred.c \ - $$PWD/libjpeg/src/jdphuff.c \ - $$PWD/libjpeg/src/jmemnobs.c - -TR_EXCLUDE += $$PWD/* diff --git a/src/3rdparty/libpng/libpng.pro b/src/3rdparty/libpng/libpng.pro deleted file mode 100644 index b71dfefd20..0000000000 --- a/src/3rdparty/libpng/libpng.pro +++ /dev/null @@ -1,34 +0,0 @@ -TARGET = qtlibpng - -CONFIG += \ - static \ - hide_symbols \ - exceptions_off rtti_off warn_off \ - installed - -MODULE_INCLUDEPATH = $$PWD -MODULE_EXT_HEADERS = png.h pngconf.h - -load(qt_helper_lib) - -DEFINES += PNG_ARM_NEON_OPT=0 PNG_POWERPC_VSX_OPT=0 -SOURCES += \ - png.c \ - pngerror.c \ - pngget.c \ - pngmem.c \ - pngpread.c \ - pngread.c \ - pngrio.c \ - pngrtran.c \ - pngrutil.c \ - pngset.c \ - pngtrans.c \ - pngwio.c \ - pngwrite.c \ - pngwtran.c \ - pngwutil.c - -TR_EXCLUDE += $$PWD/* - -include(../zlib_dependency.pri) diff --git a/src/3rdparty/md4c.pri b/src/3rdparty/md4c.pri deleted file mode 100644 index 8de2991ac2..0000000000 --- a/src/3rdparty/md4c.pri +++ /dev/null @@ -1,4 +0,0 @@ -INCLUDEPATH += $$PWD/md4c -HEADERS += $$PWD/md4c/md4c.h -SOURCES += $$PWD/md4c/md4c.c -DEFINES += MD4C_USE_UTF8 diff --git a/src/3rdparty/pcre2/pcre2.pri b/src/3rdparty/pcre2/pcre2.pri deleted file mode 100644 index ace72ec93e..0000000000 --- a/src/3rdparty/pcre2/pcre2.pri +++ /dev/null @@ -1,46 +0,0 @@ -MODULE_INCLUDEPATH += $$PWD/src - -MODULE_DEFINES += PCRE2_CODE_UNIT_WIDTH=16 -win32: MODULE_DEFINES += PCRE2_STATIC - -DEFINES += HAVE_CONFIG_H - -qtConfig(intelcet) { - QMAKE_CFLAGS += $$QMAKE_CFLAGS_SHSTK - QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_SHSTK -} - -SOURCES += \ - $$PWD/src/pcre2_auto_possess.c \ - $$PWD/src/pcre2_chartables.c \ - $$PWD/src/pcre2_compile.c \ - $$PWD/src/pcre2_config.c \ - $$PWD/src/pcre2_context.c \ - $$PWD/src/pcre2_dfa_match.c \ - $$PWD/src/pcre2_error.c \ - $$PWD/src/pcre2_extuni.c \ - $$PWD/src/pcre2_find_bracket.c \ - $$PWD/src/pcre2_jit_compile.c \ - $$PWD/src/pcre2_maketables.c \ - $$PWD/src/pcre2_match.c \ - $$PWD/src/pcre2_match_data.c \ - $$PWD/src/pcre2_newline.c \ - $$PWD/src/pcre2_ord2utf.c \ - $$PWD/src/pcre2_pattern_info.c \ - $$PWD/src/pcre2_script_run.c \ - $$PWD/src/pcre2_serialize.c \ - $$PWD/src/pcre2_string_utils.c \ - $$PWD/src/pcre2_study.c \ - $$PWD/src/pcre2_substitute.c \ - $$PWD/src/pcre2_substring.c \ - $$PWD/src/pcre2_tables.c \ - $$PWD/src/pcre2_ucd.c \ - $$PWD/src/pcre2_valid_utf.c \ - $$PWD/src/pcre2_xclass.c - -HEADERS += \ - $$PWD/src/config.h \ - $$PWD/src/pcre2.h \ - $$PWD/src/pcre2_internal.h \ - $$PWD/src/pcre2_intmodedep.h \ - $$PWD/src/pcre2_ucp.h diff --git a/src/3rdparty/pcre2/pcre2.pro b/src/3rdparty/pcre2/pcre2.pro deleted file mode 100644 index 95f11f6f23..0000000000 --- a/src/3rdparty/pcre2/pcre2.pro +++ /dev/null @@ -1,16 +0,0 @@ -TARGET = qtpcre2 - -CONFIG += \ - static \ - hide_symbols \ - exceptions_off rtti_off warn_off - -include(pcre2.pri) - -# platform/compiler specific definitions -uikit|qnx: DEFINES += PCRE2_DISABLE_JIT -win32:contains(QT_ARCH, "arm"): DEFINES += PCRE2_DISABLE_JIT -win32:contains(QT_ARCH, "arm64"): DEFINES += PCRE2_DISABLE_JIT -macos:contains(QT_ARCH, "arm64"): DEFINES += PCRE2_DISABLE_JIT - -load(qt_helper_lib) diff --git a/src/3rdparty/sqlite.pri b/src/3rdparty/sqlite.pri deleted file mode 100644 index f4c8062468..0000000000 --- a/src/3rdparty/sqlite.pri +++ /dev/null @@ -1,17 +0,0 @@ -CONFIG(release, debug|release):DEFINES *= NDEBUG -QT_FOR_CONFIG += core-private -DEFINES += SQLITE_ENABLE_COLUMN_METADATA SQLITE_OMIT_COMPLETE SQLITE_ENABLE_FTS3 SQLITE_ENABLE_FTS3_PARENTHESIS SQLITE_ENABLE_FTS5 SQLITE_ENABLE_RTREE SQLITE_ENABLE_JSON1 -!contains(CONFIG, largefile):DEFINES += SQLITE_DISABLE_LFS -qtConfig(posix_fallocate): DEFINES += HAVE_POSIX_FALLOCATE=1 -qnx: DEFINES += _QNX_SOURCE -!win32: DEFINES += HAVE_USLEEP=1 -qtConfig(dlopen) { - QMAKE_USE += libdl -} else { - DEFINES += SQLITE_OMIT_LOAD_EXTENSION -} -integrity: QMAKE_CFLAGS += -include qplatformdefs.h -INCLUDEPATH += $$PWD/sqlite -SOURCES += $$PWD/sqlite/sqlite3.c - -TR_EXCLUDE += $$PWD/* diff --git a/src/3rdparty/tinycbor/tests/encoder/encoder.pro b/src/3rdparty/tinycbor/tests/encoder/encoder.pro deleted file mode 100644 index 62d9b7e409..0000000000 --- a/src/3rdparty/tinycbor/tests/encoder/encoder.pro +++ /dev/null @@ -1,9 +0,0 @@ -SOURCES += tst_encoder.cpp - -CONFIG += testcase parallel_test c++11 -QT = core testlib - -INCLUDEPATH += ../../src -msvc: POST_TARGETDEPS = ../../lib/tinycbor.lib -else: POST_TARGETDEPS += ../../lib/libtinycbor.a -LIBS += $$POST_TARGETDEPS diff --git a/src/3rdparty/tinycbor/tests/parser/parser.pro b/src/3rdparty/tinycbor/tests/parser/parser.pro deleted file mode 100644 index a61291a9e4..0000000000 --- a/src/3rdparty/tinycbor/tests/parser/parser.pro +++ /dev/null @@ -1,10 +0,0 @@ -SOURCES += tst_parser.cpp ../../src/cborparser.c - -CONFIG += testcase parallel_test c++11 -QT = core testlib -DEFINES += CBOR_PARSER_MAX_RECURSIONS=16 - -INCLUDEPATH += ../../src -msvc: POST_TARGETDEPS = ../../lib/tinycbor.lib -else: POST_TARGETDEPS += ../../lib/libtinycbor.a -LIBS += $$POST_TARGETDEPS diff --git a/src/3rdparty/zlib.pri b/src/3rdparty/zlib.pri deleted file mode 100644 index 4d8af3f0c6..0000000000 --- a/src/3rdparty/zlib.pri +++ /dev/null @@ -1,19 +0,0 @@ -INCLUDEPATH = $$PWD/zlib/src $$INCLUDEPATH -SOURCES+= \ - $$PWD/zlib/src/adler32.c \ - $$PWD/zlib/src/compress.c \ - $$PWD/zlib/src/crc32.c \ - $$PWD/zlib/src/deflate.c \ - $$PWD/zlib/src/gzclose.c \ - $$PWD/zlib/src/gzlib.c \ - $$PWD/zlib/src/gzread.c \ - $$PWD/zlib/src/gzwrite.c \ - $$PWD/zlib/src/infback.c \ - $$PWD/zlib/src/inffast.c \ - $$PWD/zlib/src/inflate.c \ - $$PWD/zlib/src/inftrees.c \ - $$PWD/zlib/src/trees.c \ - $$PWD/zlib/src/uncompr.c \ - $$PWD/zlib/src/zutil.c - -TR_EXCLUDE += $$PWD/* diff --git a/src/3rdparty/zlib_dependency.pri b/src/3rdparty/zlib_dependency.pri deleted file mode 100644 index f35f310c19..0000000000 --- a/src/3rdparty/zlib_dependency.pri +++ /dev/null @@ -1,10 +0,0 @@ -# zlib dependency satisfied by bundled 3rd party zlib or system zlib -qtConfig(system-zlib) { - QMAKE_USE_PRIVATE += zlib -} else { - INCLUDEPATH += $$PWD/zlib/src - !no_core_dep { - CONFIG += qt - QT_PRIVATE += core - } -} diff --git a/src/android/android.pro b/src/android/android.pro deleted file mode 100644 index 1174084591..0000000000 --- a/src/android/android.pro +++ /dev/null @@ -1,3 +0,0 @@ -TEMPLATE = subdirs -CONFIG += ordered -SUBDIRS = jar java templates diff --git a/src/android/jar/jar.pro b/src/android/jar/jar.pro deleted file mode 100644 index de86f855ed..0000000000 --- a/src/android/jar/jar.pro +++ /dev/null @@ -1,29 +0,0 @@ -TARGET = Qt$${QT_MAJOR_VERSION}Android - -CONFIG += java - -DESTDIR = $$[QT_INSTALL_PREFIX/get]/jar - -PATHPREFIX = $$PWD/src/org/qtproject/qt/android/ - -JAVACLASSPATH += $$PWD/src/ -JAVASOURCES += \ - $$PATHPREFIX/accessibility/QtAccessibilityDelegate.java \ - $$PATHPREFIX/accessibility/QtNativeAccessibility.java \ - $$PATHPREFIX/QtActivityDelegate.java \ - $$PATHPREFIX/QtEditText.java \ - $$PATHPREFIX/QtInputConnection.java \ - $$PATHPREFIX/QtLayout.java \ - $$PATHPREFIX/QtMessageDialogHelper.java \ - $$PATHPREFIX/QtNative.java \ - $$PATHPREFIX/QtNativeLibrariesDir.java \ - $$PATHPREFIX/QtSurface.java \ - $$PATHPREFIX/ExtractStyle.java \ - $$PATHPREFIX/EditContextView.java \ - $$PATHPREFIX/EditPopupMenu.java \ - $$PATHPREFIX/CursorHandle.java \ - $$PATHPREFIX/QtThread.java - -# install -target.path = $$[QT_INSTALL_PREFIX]/jar -INSTALLS += target diff --git a/src/android/java/java.pro b/src/android/java/java.pro deleted file mode 100644 index e8967a82db..0000000000 --- a/src/android/java/java.pro +++ /dev/null @@ -1,27 +0,0 @@ -TEMPLATE = aux -TARGET = dummy - -CONFIG += single_arch -CONFIG -= qt android_install - -javaresources.files = \ - $$PWD/res \ - $$PWD/src - -javaresources.path = $$[QT_INSTALL_PREFIX]/src/android/java - -INSTALLS += javaresources - -!prefix_build:!equals(OUT_PWD, $$PWD) { - COPIES += javaresources - - RETURN = $$escape_expand(\\n\\t) - equals(QMAKE_HOST.os, Windows) { - RETURN = $$escape_expand(\\r\\n\\t) - } - OUT_PATH = $$shell_path($$OUT_PWD) - - QMAKE_POST_LINK += \ - $${QMAKE_COPY_DIR} $$shell_path($$PWD/res) $$OUT_PATH $$RETURN \ - $${QMAKE_COPY_DIR} $$shell_path($$PWD/src) $$OUT_PATH -} diff --git a/src/android/templates/templates.pro b/src/android/templates/templates.pro deleted file mode 100644 index 35a63498f8..0000000000 --- a/src/android/templates/templates.pro +++ /dev/null @@ -1,31 +0,0 @@ -TEMPLATE = aux -TARGET = dummy - -CONFIG += single_arch -CONFIG -= qt android_install - -templates.files = \ - $$PWD/AndroidManifest.xml \ - $$PWD/build.gradle - -templates_dirs.files += $$PWD/res - -templates.path = $$[QT_INSTALL_PREFIX]/src/android/templates -templates_dirs.path = $${templates.path} - -INSTALLS += templates templates_dirs - -!prefix_build:!equals(OUT_PWD, $$PWD) { - COPIES += templates templates_dirs - - RETURN = $$escape_expand(\\n\\t) - equals(QMAKE_HOST.os, Windows) { - RETURN = $$escape_expand(\\r\\n\\t) - } - OUT_PATH = $$shell_path($$OUT_PWD) - - QMAKE_POST_LINK += \ - $${QMAKE_COPY} $$shell_path($$PWD/AndroidManifest.xml) $$OUT_PATH $$RETURN \ - $${QMAKE_COPY} $$shell_path($$PWD/build.gradle) $$OUT_PATH $$RETURN \ - $${QMAKE_COPY_DIR} $$shell_path($$PWD/res) $$OUT_PATH -} diff --git a/src/concurrent/concurrent.pro b/src/concurrent/concurrent.pro deleted file mode 100644 index 21c33e4c99..0000000000 --- a/src/concurrent/concurrent.pro +++ /dev/null @@ -1,41 +0,0 @@ -TARGET = QtConcurrent -QT = core-private -CONFIG += exceptions - -DEFINES += QT_NO_USING_NAMESPACE QT_NO_FOREACH - -msvc:equals(QT_ARCH, i386): QMAKE_LFLAGS += /BASE:0x66000000 - -QMAKE_DOCS = $$PWD/doc/qtconcurrent.qdocconf - -PRECOMPILED_HEADER = ../corelib/global/qt_pch.h - -SOURCES += \ - qtconcurrentfilter.cpp \ - qtconcurrentmap.cpp \ - qtconcurrentrun.cpp \ - qtconcurrentthreadengine.cpp \ - qtconcurrentiteratekernel.cpp - -HEADERS += \ - qtconcurrent_global.h \ - qtconcurrentcompilertest.h \ - qtconcurrentfilter.h \ - qtconcurrentfilterkernel.h \ - qtconcurrentfunctionwrappers.h \ - qtconcurrentiteratekernel.h \ - qtconcurrentmap.h \ - qtconcurrentmapkernel.h \ - qtconcurrentmedian.h \ - qtconcurrentreducekernel.h \ - qtconcurrentrun.h \ - qtconcurrentrunbase.h \ - qtconcurrentstoredfunctioncall.h \ - qtconcurrentthreadengine.h \ - qtaskbuilder.h \ - qtconcurrenttask.h - -# private headers -HEADERS += \ - -load(qt_module) diff --git a/src/concurrent/doc/snippets/snippets.pro b/src/concurrent/doc/snippets/snippets.pro deleted file mode 100644 index 6e99051951..0000000000 --- a/src/concurrent/doc/snippets/snippets.pro +++ /dev/null @@ -1,3 +0,0 @@ -#! [qmake_use] -QT += concurrent -#! [qmake_use] diff --git a/src/corelib/animation/animation.pri b/src/corelib/animation/animation.pri deleted file mode 100644 index cb7850c7d6..0000000000 --- a/src/corelib/animation/animation.pri +++ /dev/null @@ -1,25 +0,0 @@ -# Qt core animation module - -HEADERS += \ - animation/qabstractanimation.h \ - animation/qabstractanimation_p.h \ - animation/qvariantanimation.h \ - animation/qvariantanimation_p.h \ - animation/qpropertyanimation.h \ - animation/qpropertyanimation_p.h \ - animation/qanimationgroup.h \ - animation/qanimationgroup_p.h \ - animation/qsequentialanimationgroup.h \ - animation/qsequentialanimationgroup_p.h \ - animation/qparallelanimationgroup.h \ - animation/qparallelanimationgroup_p.h \ - animation/qpauseanimation.h - -SOURCES += \ - animation/qabstractanimation.cpp \ - animation/qvariantanimation.cpp \ - animation/qpropertyanimation.cpp \ - animation/qanimationgroup.cpp \ - animation/qsequentialanimationgroup.cpp \ - animation/qparallelanimationgroup.cpp \ - animation/qpauseanimation.cpp diff --git a/src/corelib/corelib.pro b/src/corelib/corelib.pro deleted file mode 100644 index a32ab7abeb..0000000000 --- a/src/corelib/corelib.pro +++ /dev/null @@ -1,163 +0,0 @@ -TARGET = QtCore -QT = -CONFIG += exceptions - -MODULE = core # not corelib, as per project file -MODULE_CONFIG = moc resources -qtConfig(gc_binaries): MODULE_CONFIG += gc_binaries -!isEmpty(QT_NAMESPACE): MODULE_DEFINES = QT_NAMESPACE=$$QT_NAMESPACE - -TRACEPOINT_PROVIDER = $$PWD/qtcore.tracepoints -CONFIG += qt_tracepoints - -CONFIG += $$MODULE_CONFIG -DEFINES += $$MODULE_DEFINES -android: DEFINES += LIBS_SUFFIX='\\"_$${QT_ARCH}.so\\"' -DEFINES += QT_NO_USING_NAMESPACE QT_NO_FOREACH -msvc:equals(QT_ARCH, i386): QMAKE_LFLAGS += /BASE:0x67000000 - -CONFIG += simd optimize_full -CONFIG += metatypes install_metatypes - -QMAKE_DOCS = $$PWD/doc/qtcore.qdocconf - -ANDROID_LIB_DEPENDENCIES = \ - plugins/platforms/libplugins_platforms_qtforandroid.so -ANDROID_BUNDLED_JAR_DEPENDENCIES = \ - jar/Qt$${QT_MAJOR_VERSION}Android.jar -ANDROID_PERMISSIONS = \ - android.permission.INTERNET \ - android.permission.WRITE_EXTERNAL_STORAGE - -# QtCore can't be compiled with -Wl,-no-undefined because it uses the "environ" -# variable and on FreeBSD and OpenBSD, this variable is in the final executable itself. -# OpenBSD 6.0 will include environ in libc. -freebsd|openbsd: QMAKE_LFLAGS_NOUNDEF = - -qtConfig(animation): include(animation/animation.pri) -include(global/global.pri) -include(thread/thread.pri) -include(tools/tools.pri) -include(text/text.pri) -include(time/time.pri) -include(io/io.pri) -include(itemmodels/itemmodels.pri) -include(plugin/plugin.pri) -include(kernel/kernel.pri) -include(serialization/serialization.pri) -include(mimetypes/mimetypes.pri) -include(platform/platform.pri) - -win32 { - QMAKE_USE_PRIVATE += ws2_32 - QMAKE_USE_PRIVATE += advapi32 kernel32 ole32 shell32 uuid user32 winmm -} - -darwin { - osx { - LIBS_PRIVATE += -framework ApplicationServices - LIBS_PRIVATE += -framework CoreServices - } - LIBS_PRIVATE += -framework CoreFoundation - LIBS_PRIVATE += -framework Foundation -} - -integrity { - LIBS_PRIVATE += -lposix -livfs -lsocket -lnet -lshm_client -} - -QMAKE_DYNAMIC_LIST_FILE = $$PWD/QtCore.dynlist - -HOST_BINS = $$[QT_HOST_BINS] -host_bins.name = host_bins -host_bins.variable = HOST_BINS - -qt_conf.name = qt_config -qt_conf.variable = QT_CONFIG - -QMAKE_PKGCONFIG_VARIABLES += host_bins qt_conf - -load(qt_module) - -# Override qt_module, so the symbols are actually included into the library. -win32: DEFINES -= QT_NO_CAST_TO_ASCII - -ctest_macros_file.input = $$PWD/Qt5CTestMacros.cmake -ctest_macros_file.output = $$DESTDIR/cmake/Qt5Core/Qt5CTestMacros.cmake -ctest_macros_file.CONFIG = verbatim - -cmake_umbrella_config_file.input = $$PWD/Qt5Config.cmake.in -cmake_umbrella_config_file.output = $$DESTDIR/cmake/Qt5/Qt5Config.cmake - -cmake_umbrella_config_module_location.input = $$PWD/Qt5ModuleLocation.cmake.in -cmake_umbrella_config_module_location.output = $$DESTDIR/cmake/Qt5/Qt5ModuleLocation.cmake - -cmake_umbrella_config_module_location_for_install.input = $$PWD/Qt5ModuleLocationForInstall.cmake.in -cmake_umbrella_config_module_location_for_install.output = $$DESTDIR/cmake/install/Qt5/Qt5ModuleLocation.cmake - -cmake_umbrella_config_version_file.input = $$PWD/../../mkspecs/features/data/cmake/Qt5ConfigVersion.cmake.in -cmake_umbrella_config_version_file.output = $$DESTDIR/cmake/Qt5/Qt5ConfigVersion.cmake - -android { - cmake_android_support.input = $$PWD/Qt5AndroidSupport.cmake - cmake_android_support.output = $$DESTDIR/cmake/Qt5Core/Qt5AndroidSupport.cmake - cmake_android_support.CONFIG = verbatim -} - -load(cmake_functions) - -defineTest(pathIsAbsolute) { - p = $$clean_path($$1) - !isEmpty(p):isEqual(p, $$absolute_path($$p)): return(true) - return(false) -} - -##### This requires fixing, so that the feature system works with cmake as well -CMAKE_DISABLED_FEATURES = $$join(QT_DISABLED_FEATURES, "$$escape_expand(\\n) ") - -CMAKE_HOST_DATA_DIR = $$cmakeRelativePath($$[QT_HOST_DATA/src], $$[QT_INSTALL_PREFIX]) -pathIsAbsolute($$CMAKE_HOST_DATA_DIR) { - CMAKE_HOST_DATA_DIR = $$[QT_HOST_DATA/src]/ - CMAKE_HOST_DATA_DIR_IS_ABSOLUTE = True -} - -cmake_extras_mkspec_dir.input = $$PWD/Qt5CoreConfigExtrasMkspecDir.cmake.in -cmake_extras_mkspec_dir.output = $$DESTDIR/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake - -CMAKE_INSTALL_DATA_DIR = $$cmakeRelativePath($$[QT_HOST_DATA], $$[QT_INSTALL_PREFIX]) -pathIsAbsolute($$CMAKE_INSTALL_DATA_DIR) { - CMAKE_INSTALL_DATA_DIR = $$[QT_HOST_DATA]/ - CMAKE_INSTALL_DATA_DIR_IS_ABSOLUTE = True -} - -cmake_extras_mkspec_dir_for_install.input = $$PWD/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in -cmake_extras_mkspec_dir_for_install.output = $$DESTDIR/cmake/install/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake - -cmake_qt5_umbrella_module_files.files = \ - $$cmake_umbrella_config_file.output \ - $$cmake_umbrella_config_version_file.output \ - $$cmake_umbrella_config_module_location_for_install.output - -cmake_qt5_umbrella_module_files.path = $$[QT_INSTALL_LIBS]/cmake/Qt5 - -QMAKE_SUBSTITUTES += \ - ctest_macros_file \ - cmake_umbrella_config_file \ - cmake_umbrella_config_module_location \ - cmake_umbrella_config_module_location_for_install \ - cmake_umbrella_config_version_file \ - cmake_extras_mkspec_dir \ - cmake_extras_mkspec_dir_for_install - -android { - QMAKE_SUBSTITUTES += cmake_android_support - ctest_qt5_module_files.files += $$cmake_android_support.output -} - -ctest_qt5_module_files.files += $$ctest_macros_file.output $$cmake_extras_mkspec_dir_for_install.output - -ctest_qt5_module_files.path = $$[QT_INSTALL_LIBS]/cmake/Qt5Core - -INSTALLS += ctest_qt5_module_files cmake_qt5_umbrella_module_files - -QMAKE_DSYM_DEBUG_SCRIPT = $$PWD/debug_script.py diff --git a/src/corelib/doc/snippets/code/doc_src_qplugin.pro b/src/corelib/doc/snippets/code/doc_src_qplugin.pro deleted file mode 100644 index 52fb9e3163..0000000000 --- a/src/corelib/doc/snippets/code/doc_src_qplugin.pro +++ /dev/null @@ -1,4 +0,0 @@ -#! [3] -TEMPLATE = app -QTPLUGIN += qjpeg qgif # image formats -#! [3] diff --git a/src/corelib/doc/snippets/code/src_corelib_kernel_qabstractnativeeventfilter.pro b/src/corelib/doc/snippets/code/src_corelib_kernel_qabstractnativeeventfilter.pro deleted file mode 100644 index 8f447be514..0000000000 --- a/src/corelib/doc/snippets/code/src_corelib_kernel_qabstractnativeeventfilter.pro +++ /dev/null @@ -1,5 +0,0 @@ -#! [0] -HEADERS += mycocoaeventfilter.h -OBJECTIVE_SOURCES += mycocoaeventfilter.mm -LIBS += -framework AppKit -#! [0] diff --git a/src/corelib/doc/snippets/qbytearraylist/qbytearraylist.pro b/src/corelib/doc/snippets/qbytearraylist/qbytearraylist.pro deleted file mode 100644 index 87397b491d..0000000000 --- a/src/corelib/doc/snippets/qbytearraylist/qbytearraylist.pro +++ /dev/null @@ -1,2 +0,0 @@ -QT = core -SOURCES = main.cpp diff --git a/src/corelib/doc/snippets/qmetaobject-invokable/qmetaobject-invokable.pro b/src/corelib/doc/snippets/qmetaobject-invokable/qmetaobject-invokable.pro deleted file mode 100644 index 4df19215f0..0000000000 --- a/src/corelib/doc/snippets/qmetaobject-invokable/qmetaobject-invokable.pro +++ /dev/null @@ -1,3 +0,0 @@ -HEADERS = window.h -SOURCES = main.cpp \ - window.cpp diff --git a/src/corelib/doc/snippets/qmetaobject-revision/qmetaobject-revision.pro b/src/corelib/doc/snippets/qmetaobject-revision/qmetaobject-revision.pro deleted file mode 100644 index ec9d7db658..0000000000 --- a/src/corelib/doc/snippets/qmetaobject-revision/qmetaobject-revision.pro +++ /dev/null @@ -1,4 +0,0 @@ -QT += widgets -HEADERS = window.h -SOURCES = main.cpp \ - window.cpp diff --git a/src/corelib/doc/snippets/resource-system/application.pro b/src/corelib/doc/snippets/resource-system/application.pro deleted file mode 100644 index 0f451754f2..0000000000 --- a/src/corelib/doc/snippets/resource-system/application.pro +++ /dev/null @@ -1,12 +0,0 @@ -QT += widgets - -HEADERS = mainwindow.h -SOURCES = main.cpp \ - mainwindow.cpp -#! [0] -RESOURCES = application.qrc -#! [0] - -# install -target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mainwindows/application -INSTALLS += target diff --git a/src/corelib/doc/snippets/streaming/streaming.pro b/src/corelib/doc/snippets/streaming/streaming.pro deleted file mode 100644 index 8c5eb91f05..0000000000 --- a/src/corelib/doc/snippets/streaming/streaming.pro +++ /dev/null @@ -1,2 +0,0 @@ -SOURCES = main.cpp -CONFIG += CONSOLE
\ No newline at end of file diff --git a/src/corelib/global/global.pri b/src/corelib/global/global.pri deleted file mode 100644 index 14067f638a..0000000000 --- a/src/corelib/global/global.pri +++ /dev/null @@ -1,132 +0,0 @@ -# Qt kernel library base module - -HEADERS += \ - global/qglobal.h \ - global/qoperatingsystemversion.h \ - global/qoperatingsystemversion_p.h \ - global/qsystemdetection.h \ - global/qcompare.h \ - global/qcompilerdetection.h \ - global/qcontainerinfo.h \ - global/qprocessordetection.h \ - global/qnamespace.h \ - global/qendian.h \ - global/qendian_p.h \ - global/qnumeric_p.h \ - global/qnumeric.h \ - global/qfloat16.h \ - global/qglobalstatic.h \ - global/qlibraryinfo.h \ - global/qlogging.h \ - global/qtypeinfo.h \ - global/qsysinfo.h \ - global/qsimd.h \ - global/qsimd_p.h \ - global/qflags.h \ - global/qrandom.h \ - global/qrandom_p.h \ - global/qhooks_p.h \ - global/qversiontagging.h - -SOURCES += \ - global/archdetect.cpp \ - global/qendian.cpp \ - global/qglobal.cpp \ - global/qlibraryinfo.cpp \ - global/qmalloc.cpp \ - global/qnumeric.cpp \ - global/qfloat16.cpp \ - global/qoperatingsystemversion.cpp \ - global/qlogging.cpp \ - global/qrandom.cpp \ - global/qsimd.cpp \ - global/qhooks.cpp - -# To get listed in IDEs -false: SOURCES += \ - global/qfloat16tables.cpp - -# Only add global/qfloat16_f16c.c if qfloat16.cpp can't #include it. -# Any compiler: if it is already generating F16C code, let qfloat16.cpp do it -# Clang: ICE if not generating F16C code, so use qfloat16_f16c.c -# ICC: miscompiles if not generating F16C code, so use qfloat16_f16c.c -# GCC: if it can use F16C intrinsics, let qfloat16.cpp do it -# MSVC: if it is already generating AVX code, let qfloat16.cpp do it -# MSVC: otherwise, it generates poorly-performing code, so use qfloat16_f16c.c -contains(QT_CPU_FEATURES.$$QT_ARCH, f16c): \ - f16c_cxx = true -else: clang|intel_icl|intel_icc: \ - f16c_cxx = false -else: gcc:f16c:x86SimdAlways: \ - f16c_cxx = true -else: msvc:contains(QT_CPU_FEATURES.$$QT_ARCH, avx): \ - f16c_cxx = true -else: \ - f16c_cxx = false -$$f16c_cxx: DEFINES += QFLOAT16_INCLUDE_FAST -else: F16C_SOURCES += global/qfloat16_f16c.c -unset(f16c_cxx) - -VERSIONTAGGING_SOURCES = global/qversiontagging.cpp - -darwin: SOURCES += global/qoperatingsystemversion_darwin.mm -win32 { - SOURCES += global/qoperatingsystemversion_win.cpp - HEADERS += global/qoperatingsystemversion_win_p.h -} - -# qlibraryinfo.cpp includes qconfig.cpp -INCLUDEPATH += $$QT_BUILD_TREE/src/corelib/global - -# Only used on platforms with CONFIG += precompile_header -PRECOMPILED_HEADER = global/qt_pch.h - -# qlogging.cpp uses backtrace(3), which is in a separate library on the BSDs. -LIBS_PRIVATE += $$QMAKE_LIBS_EXECINFO - -if(linux*|hurd*):!cross_compile:!static:!*-armcc* { - QMAKE_LFLAGS += -Wl,-e,qt_core_boilerplate - prog=$$quote(if (/program interpreter: (.*)]/) { print $1; }) - DEFINES += ELF_INTERPRETER=\\\"$$system(LC_ALL=C readelf -l /bin/ls | perl -n -e \'$$prog\')\\\" -} - -linux:!static { - precompile_header { - # we'll get an error if we just use SOURCES += - no_pch_assembler.commands = $$QMAKE_CC -c $(CFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} - no_pch_assembler.dependency_type = TYPE_C - no_pch_assembler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} - no_pch_assembler.input = NO_PCH_ASM - no_pch_assembler.name = compiling[no_pch] ${QMAKE_FILE_IN} - silent: no_pch_assembler.commands = @echo compiling[no_pch] ${QMAKE_FILE_IN} && $$no_pch_assembler.commands - QMAKE_EXTRA_COMPILERS += no_pch_assembler - NO_PCH_ASM += global/minimum-linux.S - } else { - SOURCES += global/minimum-linux.S - } - HEADERS += global/minimum-linux_p.h -} - -qtConfig(slog2): \ - LIBS_PRIVATE += -lslog2 - -qtConfig(journald): \ - QMAKE_USE_PRIVATE += journald - -gcc:ltcg { - versiontagging_compiler.commands = $$QMAKE_CXX -c $(CXXFLAGS) $(INCPATH) - - # Disable LTO, as the symbols disappear somehow under GCC - versiontagging_compiler.commands += -fno-lto - - versiontagging_compiler.commands += -o ${QMAKE_FILE_OUT} ${QMAKE_FILE_IN} - versiontagging_compiler.dependency_type = TYPE_C - versiontagging_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} - versiontagging_compiler.input = VERSIONTAGGING_SOURCES - versiontagging_compiler.variable_out = OBJECTS - versiontagging_compiler.name = compiling[versiontagging] ${QMAKE_FILE_IN} - silent: versiontagging_compiler.commands = @echo compiling[versiontagging] ${QMAKE_FILE_IN} && $$versiontagging_compiler.commands - QMAKE_EXTRA_COMPILERS += versiontagging_compiler -} else { - SOURCES += $$VERSIONTAGGING_SOURCES -} diff --git a/src/corelib/io/io.pri b/src/corelib/io/io.pri deleted file mode 100644 index 0808114bd3..0000000000 --- a/src/corelib/io/io.pri +++ /dev/null @@ -1,197 +0,0 @@ -# Qt core io module - -HEADERS += \ - io/qabstractfileengine_p.h \ - io/qbuffer.h \ - io/qdataurl_p.h \ - io/qdebug.h \ - io/qdebug_p.h \ - io/qdir.h \ - io/qdir_p.h \ - io/qdiriterator.h \ - io/qfile.h \ - io/qfiledevice.h \ - io/qfiledevice_p.h \ - io/qfileinfo.h \ - io/qfileinfo_p.h \ - io/qipaddress_p.h \ - io/qiodevicebase.h \ - io/qiodevice.h \ - io/qiodevice_p.h \ - io/qlockfile.h \ - io/qlockfile_p.h \ - io/qnoncontiguousbytedevice_p.h \ - io/qtemporarydir.h \ - io/qtemporaryfile.h \ - io/qtemporaryfile_p.h \ - io/qresource_p.h \ - io/qresource_iterator_p.h \ - io/qsavefile.h \ - io/qstandardpaths.h \ - io/qstorageinfo.h \ - io/qstorageinfo_p.h \ - io/qurl.h \ - io/qurl_p.h \ - io/qurlquery.h \ - io/qfsfileengine_p.h \ - io/qfsfileengine_iterator_p.h \ - io/qfilesystementry_p.h \ - io/qfilesystemengine_p.h \ - io/qfilesystemmetadata_p.h \ - io/qfilesystemiterator_p.h \ - io/qfileselector.h \ - io/qfileselector_p.h \ - io/qloggingcategory.h \ - io/qloggingregistry_p.h - -SOURCES += \ - io/qabstractfileengine.cpp \ - io/qbuffer.cpp \ - io/qdataurl.cpp \ - io/qdebug.cpp \ - io/qdir.cpp \ - io/qdiriterator.cpp \ - io/qfile.cpp \ - io/qfiledevice.cpp \ - io/qfileinfo.cpp \ - io/qipaddress.cpp \ - io/qiodevice.cpp \ - io/qlockfile.cpp \ - io/qnoncontiguousbytedevice.cpp \ - io/qstorageinfo.cpp \ - io/qtemporarydir.cpp \ - io/qtemporaryfile.cpp \ - io/qresource.cpp \ - io/qresource_iterator.cpp \ - io/qsavefile.cpp \ - io/qstandardpaths.cpp \ - io/qurl.cpp \ - io/qurlidna.cpp \ - io/qurlquery.cpp \ - io/qurlrecode.cpp \ - io/qfsfileengine.cpp \ - io/qfsfileengine_iterator.cpp \ - io/qfilesystementry.cpp \ - io/qfilesystemengine.cpp \ - io/qfileselector.cpp \ - io/qloggingcategory.cpp \ - io/qloggingregistry.cpp - -qtConfig(zstd): QMAKE_USE_PRIVATE += zstd - -qtConfig(filesystemwatcher) { - HEADERS += \ - io/qfilesystemwatcher.h \ - io/qfilesystemwatcher_p.h \ - io/qfilesystemwatcher_polling_p.h - SOURCES += \ - io/qfilesystemwatcher.cpp \ - io/qfilesystemwatcher_polling.cpp - - win32 { - SOURCES += io/qfilesystemwatcher_win.cpp - HEADERS += io/qfilesystemwatcher_win_p.h - } else:macos { - OBJECTIVE_SOURCES += io/qfilesystemwatcher_fsevents.mm - HEADERS += io/qfilesystemwatcher_fsevents_p.h - } else:qtConfig(inotify) { - SOURCES += io/qfilesystemwatcher_inotify.cpp - HEADERS += io/qfilesystemwatcher_inotify_p.h - } else { - freebsd|darwin|openbsd|netbsd { - SOURCES += io/qfilesystemwatcher_kqueue.cpp - HEADERS += io/qfilesystemwatcher_kqueue_p.h - } - } -} - -qtConfig(processenvironment) { - SOURCES += \ - io/qprocess.cpp - HEADERS += \ - io/qprocess.h \ - io/qprocess_p.h - - win32: \ - SOURCES += io/qprocess_win.cpp - else: unix: \ - SOURCES += io/qprocess_unix.cpp -} - -qtConfig(settings) { - SOURCES += \ - io/qsettings.cpp - HEADERS += \ - io/qsettings.h \ - io/qsettings_p.h - - win32 { - SOURCES += io/qsettings_win.cpp - } else: darwin:!nacl { - SOURCES += io/qsettings_mac.cpp - } - wasm : SOURCES += io/qsettings_wasm.cpp -} - -win32 { - SOURCES += io/qfsfileengine_win.cpp - SOURCES += io/qlockfile_win.cpp - SOURCES += io/qfilesystemengine_win.cpp - - qtConfig(filesystemiterator) { - SOURCES += io/qfilesystemiterator_win.cpp - } - - HEADERS += \ - io/qwindowspipereader_p.h \ - io/qwindowspipewriter_p.h - - SOURCES += \ - io/qstandardpaths_win.cpp \ - io/qstorageinfo_win.cpp \ - io/qwindowspipereader.cpp \ - io/qwindowspipewriter.cpp - - LIBS += -lmpr -luserenv - QMAKE_USE_PRIVATE += netapi32 -} else:unix { - SOURCES += \ - io/qfsfileengine_unix.cpp \ - io/qfilesystemengine_unix.cpp \ - io/qlockfile_unix.cpp \ - io/qfilesystemiterator_unix.cpp - - qtConfig(process) { - SOURCES += io/forkfd_qt.cpp - HEADERS += \ - ../3rdparty/forkfd/forkfd.h - INCLUDEPATH += ../3rdparty/forkfd - } - mac { - SOURCES += io/qstorageinfo_mac.cpp - qtConfig(processenvironment): \ - OBJECTIVE_SOURCES += io/qprocess_darwin.mm - OBJECTIVE_SOURCES += \ - io/qstandardpaths_mac.mm \ - io/qfilesystemengine_mac.mm - osx { - LIBS += -framework DiskArbitration -framework IOKit - } else { - LIBS += -framework MobileCoreServices - } - } else:android:!android-embedded { - SOURCES += \ - io/qstandardpaths_android.cpp \ - io/qstorageinfo_unix.cpp - } else:haiku { - SOURCES += \ - io/qstandardpaths_haiku.cpp \ - io/qstorageinfo_unix.cpp - LIBS += -lbe - } else { - SOURCES += \ - io/qstandardpaths_unix.cpp \ - io/qstorageinfo_unix.cpp - } -} - diff --git a/src/corelib/itemmodels/itemmodels.pri b/src/corelib/itemmodels/itemmodels.pri deleted file mode 100644 index ebeac6e211..0000000000 --- a/src/corelib/itemmodels/itemmodels.pri +++ /dev/null @@ -1,63 +0,0 @@ -# Qt itemmodels core module - -!qtConfig(itemmodel): return() - -HEADERS += \ - itemmodels/qabstractitemmodel.h \ - itemmodels/qabstractitemmodel_p.h \ - itemmodels/qitemselectionmodel.h \ - itemmodels/qitemselectionmodel_p.h - -SOURCES += \ - itemmodels/qabstractitemmodel.cpp \ - itemmodels/qitemselectionmodel.cpp - -qtConfig(proxymodel) { - HEADERS += \ - itemmodels/qabstractproxymodel.h \ - itemmodels/qabstractproxymodel_p.h - - SOURCES += \ - itemmodels/qabstractproxymodel.cpp - - qtConfig(concatenatetablesproxymodel) { - HEADERS += \ - itemmodels/qconcatenatetablesproxymodel.h - - SOURCES += \ - itemmodels/qconcatenatetablesproxymodel.cpp - } - - qtConfig(identityproxymodel) { - HEADERS += \ - itemmodels/qidentityproxymodel.h - - SOURCES += \ - itemmodels/qidentityproxymodel.cpp - } - - qtConfig(sortfilterproxymodel) { - HEADERS += \ - itemmodels/qsortfilterproxymodel.h - - SOURCES += \ - itemmodels/qsortfilterproxymodel.cpp - } - - qtConfig(transposeproxymodel) { - HEADERS += \ - itemmodels/qtransposeproxymodel.h \ - itemmodels/qtransposeproxymodel_p.h - - SOURCES += \ - itemmodels/qtransposeproxymodel.cpp - } -} - -qtConfig(stringlistmodel) { - HEADERS += \ - itemmodels/qstringlistmodel.h - - SOURCES += \ - itemmodels/qstringlistmodel.cpp -} diff --git a/src/corelib/kernel/kernel.pri b/src/corelib/kernel/kernel.pri deleted file mode 100644 index 0b6c8cbc76..0000000000 --- a/src/corelib/kernel/kernel.pri +++ /dev/null @@ -1,195 +0,0 @@ -# Qt core object module - -HEADERS += \ - kernel/qabstracteventdispatcher.h \ - kernel/qabstractnativeeventfilter.h \ - kernel/qbasictimer.h \ - kernel/qdeadlinetimer.h \ - kernel/qdeadlinetimer_p.h \ - kernel/qelapsedtimer.h \ - kernel/qeventloop.h \ - kernel/qpointer.h \ - kernel/qcorecmdlineargs_p.h \ - kernel/qcoreapplication.h \ - kernel/qcoreevent.h \ - kernel/qmetacontainer.h \ - kernel/qmetaobject.h \ - kernel/qmetatype.h \ - kernel/qmimedata.h \ - kernel/qobject.h \ - kernel/qobject_impl.h \ - kernel/qobjectdefs.h \ - kernel/qobjectdefs_impl.h \ - kernel/qsignalmapper.h \ - kernel/qsocketnotifier.h \ - kernel/qtimer.h \ - kernel/qtranslator.h \ - kernel/qtranslator_p.h \ - kernel/qvariant.h \ - kernel/qabstracteventdispatcher_p.h \ - kernel/qcoreapplication_p.h \ - kernel/qobjectcleanuphandler.h \ - kernel/qvariant_p.h \ - kernel/qmetaobject_p.h \ - kernel/qmetaobject_moc_p.h \ - kernel/qmetaobjectbuilder_p.h \ - kernel/qobject_p.h \ - kernel/qcoreglobaldata_p.h \ - kernel/qiterable.h \ - kernel/qiterable_p.h \ - kernel/qsequentialiterable.h \ - kernel/qassociativeiterable.h \ - kernel/qsharedmemory.h \ - kernel/qsharedmemory_p.h \ - kernel/qsystemsemaphore.h \ - kernel/qsystemsemaphore_p.h \ - kernel/qfunctions_p.h \ - kernel/qmath.h \ - kernel/qsystemerror_p.h \ - kernel/qmetatype_p.h \ - kernel/qtestsupport_core.h \ - kernel/qproperty.h \ - kernel/qpropertyprivate.h \ - kernel/qproperty_p.h - -SOURCES += \ - kernel/qabstracteventdispatcher.cpp \ - kernel/qabstractnativeeventfilter.cpp \ - kernel/qbasictimer.cpp \ - kernel/qdeadlinetimer.cpp \ - kernel/qelapsedtimer.cpp \ - kernel/qeventloop.cpp \ - kernel/qcoreapplication.cpp \ - kernel/qcoreevent.cpp \ - kernel/qmetacontainer.cpp \ - kernel/qmetaobject.cpp \ - kernel/qmetatype.cpp \ - kernel/qmetaobjectbuilder.cpp \ - kernel/qmimedata.cpp \ - kernel/qobject.cpp \ - kernel/qobjectcleanuphandler.cpp \ - kernel/qsignalmapper.cpp \ - kernel/qsocketnotifier.cpp \ - kernel/qtimer.cpp \ - kernel/qtranslator.cpp \ - kernel/qvariant.cpp \ - kernel/qcoreglobaldata.cpp \ - kernel/qiterable.cpp \ - kernel/qsequentialiterable.cpp \ - kernel/qassociativeiterable.cpp \ - kernel/qsharedmemory.cpp \ - kernel/qsystemsemaphore.cpp \ - kernel/qpointer.cpp \ - kernel/qmath.cpp \ - kernel/qsystemerror.cpp \ - kernel/qtestsupport_core.cpp \ - kernel/qproperty.cpp \ - -win32 { - SOURCES += \ - kernel/qcoreapplication_win.cpp \ - kernel/qelapsedtimer_win.cpp \ - kernel/qwineventnotifier.cpp \ - kernel/qsharedmemory_win.cpp \ - kernel/qsystemsemaphore_win.cpp - HEADERS += \ - kernel/qwineventnotifier.h \ - kernel/qwineventnotifier_p.h \ - kernel/qfunctions_winrt_p.h - - SOURCES += kernel/qeventdispatcher_win.cpp \ - kernel/qwinregistry.cpp - HEADERS += kernel/qeventdispatcher_win_p.h \ - kernel/qwinregistry_p.h - - LIBS_PRIVATE += -lversion -} - -mac { - HEADERS += \ - kernel/qcfsocketnotifier_p.h \ - kernel/qcore_mac_p.h \ - kernel/qeventdispatcher_cf_p.h - - SOURCES += \ - kernel/qcfsocketnotifier.cpp \ - kernel/qcoreapplication_mac.cpp \ - kernel/qcore_foundation.mm \ - kernel/qcore_mac.mm \ - kernel/qelapsedtimer_mac.cpp \ - kernel/qeventdispatcher_cf.mm - - LIBS_PRIVATE += -framework Foundation - - osx: LIBS_PRIVATE += -framework CoreServices -framework AppKit -framework Security - - ios|tvos { - # We need UIKit for UIApplication in qeventdispatcher_cf.mm - LIBS_PRIVATE += -framework UIKit - } - - watchos { - # We need WatchKit for WKExtension in qeventdispatcher_cf.mm - LIBS_PRIVATE += -framework WatchKit - } -} - -unix|integrity { - SOURCES += \ - kernel/qcore_unix.cpp \ - kernel/qeventdispatcher_unix.cpp \ - kernel/qtimerinfo_unix.cpp - !darwin: SOURCES += kernel/qelapsedtimer_unix.cpp - - HEADERS += \ - kernel/qcore_unix_p.h \ - kernel/qeventdispatcher_unix_p.h \ - kernel/qpoll_p.h \ - kernel/qtimerinfo_unix_p.h - - qtConfig(poll_select): SOURCES += kernel/qpoll.cpp - - qtConfig(glib) { - SOURCES += \ - kernel/qeventdispatcher_glib.cpp - HEADERS += \ - kernel/qeventdispatcher_glib_p.h - QMAKE_USE_PRIVATE += glib - } - - qtConfig(clock-gettime): QMAKE_USE_PRIVATE += librt - - !android { - SOURCES += kernel/qsharedmemory_posix.cpp \ - kernel/qsharedmemory_systemv.cpp \ - kernel/qsharedmemory_unix.cpp \ - kernel/qsystemsemaphore_posix.cpp \ - kernel/qsystemsemaphore_systemv.cpp \ - kernel/qsystemsemaphore_unix.cpp - } else { - SOURCES += kernel/qsharedmemory_android.cpp \ - kernel/qsystemsemaphore_android.cpp - } - - # This is needed by QMetaType::typeName array implementation - integrity: QMAKE_CXXFLAGS += --pending_instantiations=128 -} - -vxworks { - SOURCES += \ - kernel/qfunctions_vxworks.cpp - HEADERS += \ - kernel/qfunctions_vxworks.h -} - -android:!android-embedded { - SOURCES += \ - kernel/qjnionload.cpp \ - kernel/qjnihelpers.cpp \ - kernel/qjni.cpp - HEADERS += \ - kernel/qjnihelpers_p.h \ - kernel/qjni_p.h -} - -!darwin:!unix:!win32: SOURCES += kernel/qelapsedtimer_generic.cpp diff --git a/src/corelib/mimetypes/mimetypes.pri b/src/corelib/mimetypes/mimetypes.pri deleted file mode 100644 index 288ccf063e..0000000000 --- a/src/corelib/mimetypes/mimetypes.pri +++ /dev/null @@ -1,55 +0,0 @@ -# Qt core mimetype module - -qtConfig(mimetype) { - HEADERS += \ - mimetypes/qmimedatabase.h \ - mimetypes/qmimetype.h \ - mimetypes/qmimemagicrulematcher_p.h \ - mimetypes/qmimetype_p.h \ - mimetypes/qmimetypeparser_p.h \ - mimetypes/qmimedatabase_p.h \ - mimetypes/qmimemagicrule_p.h \ - mimetypes/qmimeglobpattern_p.h \ - mimetypes/qmimeprovider_p.h - - SOURCES += \ - mimetypes/qmimedatabase.cpp \ - mimetypes/qmimetype.cpp \ - mimetypes/qmimemagicrulematcher.cpp \ - mimetypes/qmimetypeparser.cpp \ - mimetypes/qmimemagicrule.cpp \ - mimetypes/qmimeglobpattern.cpp \ - mimetypes/qmimeprovider.cpp - - MIME_DATABASE = mimetypes/mime/packages/freedesktop.org.xml - OTHER_FILES += $$MIME_DATABASE - - qtConfig(mimetype-database) { - outpath = .rcc - android { - outpath = $$outpath/$${QT_ARCH} - } - debug_and_release { - CONFIG(debug, debug|release): outpath = $$outpath/debug - else: outpath = $$outpath/release - } - - mimedb.depends = $$PWD/mime/generate.pl - equals(MAKEFILE_GENERATOR, MSVC.NET)|equals(MAKEFILE_GENERATOR, MSBUILD)|isEmpty(QMAKE_SH) { - mimedb.commands = cmd /c $$shell_path($$PWD/mime/generate.bat) - mimedb.depends += $$PWD/mime/generate.bat $$PWD/mime/hexdump.ps1 - } else { - mimedb.commands = perl $${mimedb.depends} - } - - qtConfig(zstd): mimedb.commands += --zstd - mimedb.commands += ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT} - - mimedb.output = $$outpath/qmimeprovider_database.cpp - mimedb.input = MIME_DATABASE - mimedb.variable_out = INCLUDED_SOURCES - QMAKE_EXTRA_COMPILERS += mimedb - INCLUDEPATH += $$outpath - unset(outpath) - } -} diff --git a/src/corelib/platform/platform.pri b/src/corelib/platform/platform.pri deleted file mode 100644 index 1fe2db81b0..0000000000 --- a/src/corelib/platform/platform.pri +++ /dev/null @@ -1 +0,0 @@ -wasm:include(wasm/wasm.pri) diff --git a/src/corelib/platform/wasm/wasm.pri b/src/corelib/platform/wasm/wasm.pri deleted file mode 100644 index 73447030fb..0000000000 --- a/src/corelib/platform/wasm/wasm.pri +++ /dev/null @@ -1,3 +0,0 @@ -INCLUDEDIR += $$PWD -HEADERS += $$PWD/qstdweb_p.h -SOURCES += $$PWD/qstdweb.cpp diff --git a/src/corelib/plugin/plugin.pri b/src/corelib/plugin/plugin.pri deleted file mode 100644 index 13153e8d0a..0000000000 --- a/src/corelib/plugin/plugin.pri +++ /dev/null @@ -1,38 +0,0 @@ -# Qt core library plugin module - -HEADERS += \ - plugin/qfactoryinterface.h \ - plugin/qpluginloader.h \ - plugin/qplugin.h \ - plugin/qplugin_p.h \ - plugin/quuid.h \ - plugin/qfactoryloader_p.h - -SOURCES += \ - plugin/qfactoryinterface.cpp \ - plugin/qpluginloader.cpp \ - plugin/qfactoryloader.cpp \ - plugin/quuid.cpp - -win32 { - HEADERS += plugin/qsystemlibrary_p.h - SOURCES += plugin/qsystemlibrary.cpp -} - -qtConfig(library) { - HEADERS += \ - plugin/qlibrary.h \ - plugin/qlibrary_p.h \ - plugin/qelfparser_p.h \ - plugin/qmachparser_p.h - - SOURCES += \ - plugin/qlibrary.cpp \ - plugin/qelfparser_p.cpp \ - plugin/qmachparser.cpp - - unix: SOURCES += plugin/qlibrary_unix.cpp - else: SOURCES += plugin/qlibrary_win.cpp - - qtConfig(dlopen): QMAKE_USE_PRIVATE += libdl -} diff --git a/src/corelib/qtzlib.pro b/src/corelib/qtzlib.pro deleted file mode 100644 index 744750fbbe..0000000000 --- a/src/corelib/qtzlib.pro +++ /dev/null @@ -1,7 +0,0 @@ -TARGET = QtZlib -MODULE = zlib -MAKEFILE = Makefile.qtzlib -CONFIG += internal_module header_module alien_syncqt -QT = - -load(qt_module) diff --git a/src/corelib/serialization/serialization.pri b/src/corelib/serialization/serialization.pri deleted file mode 100644 index 5e52d82ed6..0000000000 --- a/src/corelib/serialization/serialization.pri +++ /dev/null @@ -1,65 +0,0 @@ -# Qt data formats core module - -HEADERS += \ - serialization/qcborarray.h \ - serialization/qcborcommon.h \ - serialization/qcborcommon_p.h \ - serialization/qcbormap.h \ - serialization/qcborstream.h \ - serialization/qcborvalue.h \ - serialization/qcborvalue_p.h \ - serialization/qdatastream.h \ - serialization/qdatastream_p.h \ - serialization/qjson_p.h \ - serialization/qjsondocument.h \ - serialization/qjsonobject.h \ - serialization/qjsonvalue.h \ - serialization/qjsonarray.h \ - serialization/qjsonwriter_p.h \ - serialization/qjsonparser_p.h \ - serialization/qtextstream.h \ - serialization/qtextstream_p.h \ - serialization/qxmlstream.h \ - serialization/qxmlstream_p.h \ - serialization/qxmlstreamgrammar_p.h \ - serialization/qxmlstreamparser_p.h \ - serialization/qxmlutils_p.h - -SOURCES += \ - serialization/qcborcommon.cpp \ - serialization/qcbordiagnostic.cpp \ - serialization/qcborvalue.cpp \ - serialization/qdatastream.cpp \ - serialization/qjsoncbor.cpp \ - serialization/qjsondocument.cpp \ - serialization/qjsonobject.cpp \ - serialization/qjsonarray.cpp \ - serialization/qjsonvalue.cpp \ - serialization/qjsonwriter.cpp \ - serialization/qjsonparser.cpp \ - serialization/qtextstream.cpp \ - serialization/qxmlstream.cpp \ - serialization/qxmlstreamgrammar.cpp \ - serialization/qxmlutils.cpp - -qtConfig(cborstreamreader): { - SOURCES += \ - serialization/qcborstreamreader.cpp - - HEADERS += \ - serialization/qcborstreamreader.h -} - -qtConfig(cborstreamwriter): { - SOURCES += \ - serialization/qcborstreamwriter.cpp - - HEADERS += \ - serialization/qcborstreamwriter.h -} - -false: SOURCES += \ - serialization/qcborarray.cpp \ - serialization/qcbormap.cpp - -INCLUDEPATH += ../3rdparty/tinycbor/src diff --git a/src/corelib/text/text.pri b/src/corelib/text/text.pri deleted file mode 100644 index 0704426f09..0000000000 --- a/src/corelib/text/text.pri +++ /dev/null @@ -1,90 +0,0 @@ -# Qt text / string / character / unicode / byte array module - -HEADERS += \ - text/qanystringview.h \ - text/qbytearray.h \ - text/qbytearray_p.h \ - text/qbytearrayalgorithms.h \ - text/qbytearraylist.h \ - text/qbytearraymatcher.h \ - text/qbytearrayview.h \ - text/qbytedata_p.h \ - text/qchar.h \ - text/qcollator.h \ - text/qcollator_p.h \ - text/qdoublescanprint_p.h \ - text/qlocale.h \ - text/qlocale_p.h \ - text/qlocale_tools_p.h \ - text/qlocale_data_p.h \ - text/qstring.h \ - text/qstringalgorithms.h \ - text/qstringalgorithms_p.h \ - text/qstringbuilder.h \ - text/qstringconverter.h \ - text/qstringconverter_p.h \ - text/qstringiterator_p.h \ - text/qstringlist.h \ - text/qstringliteral.h \ - text/qstringmatcher.h \ - text/qstringview.h \ - text/qstringtokenizer.h \ - text/qtextboundaryfinder.h \ - text/qunicodetables_p.h \ - text/qunicodetools_p.h \ - text/qutf8stringview.h - -SOURCES += \ - text/qbytearray.cpp \ - text/qbytearraylist.cpp \ - text/qbytearraymatcher.cpp \ - text/qcollator.cpp \ - text/qlocale.cpp \ - text/qlocale_tools.cpp \ - text/qstring.cpp \ - text/qstringbuilder.cpp \ - text/qstringconverter.cpp \ - text/qstringlist.cpp \ - text/qstringview.cpp \ - text/qstringtokenizer.cpp \ - text/qtextboundaryfinder.cpp \ - text/qunicodetools.cpp \ - text/qvsnprintf.cpp - -!nacl:darwin: { - SOURCES += text/qlocale_mac.mm -} -else:unix { - SOURCES += text/qlocale_unix.cpp -} -else:win32 { - SOURCES += text/qlocale_win.cpp -} else:integrity { - SOURCES += text/qlocale_unix.cpp -} - -qtConfig(icu) { - QMAKE_USE_PRIVATE += icu - - SOURCES += text/qlocale_icu.cpp \ - text/qcollator_icu.cpp -} else: win32 { - SOURCES += text/qcollator_win.cpp -} else: macos { - SOURCES += text/qcollator_macx.cpp -} else { - SOURCES += text/qcollator_posix.cpp -} - -qtConfig(regularexpression) { - QMAKE_USE_PRIVATE += pcre2 - - HEADERS += \ - text/qregularexpression.h - SOURCES += text/qregularexpression.cpp -} - -TR_EXCLUDE += ../3rdparty/* - -# MIPS DSP -MIPS_DSP_ASM += text/qstring_mips_dsp_asm.S diff --git a/src/corelib/thread/thread.pri b/src/corelib/thread/thread.pri deleted file mode 100644 index 5237f8941a..0000000000 --- a/src/corelib/thread/thread.pri +++ /dev/null @@ -1,83 +0,0 @@ -# Qt core thread module - -HEADERS += \ - thread/qmutex.h \ - thread/qreadwritelock.h \ - thread/qrunnable.h \ - thread/qthread.h \ - thread/qthreadstorage.h \ - thread/qwaitcondition_p.h \ - thread/qwaitcondition.h - -SOURCES += \ - thread/qrunnable.cpp \ - thread/qthread.cpp - -win32 { - SOURCES += thread/qthread_win.cpp -} else { - SOURCES += thread/qthread_unix.cpp -} - -qtConfig(thread) { - HEADERS += \ - thread/qatomic.h \ - thread/qatomic_bootstrap.h \ - thread/qatomic_cxx11.h \ - thread/qbasicatomic.h \ - thread/qfutex_p.h \ - thread/qgenericatomic.h \ - thread/qlocking_p.h \ - thread/qmutex_p.h \ - thread/qorderedmutexlocker_p.h \ - thread/qreadwritelock_p.h \ - thread/qsemaphore.h \ - thread/qthreadpool.h \ - thread/qthreadpool_p.h \ - thread/qthread_p.h - - SOURCES += \ - thread/qatomic.cpp \ - thread/qmutex.cpp \ - thread/qreadwritelock.cpp \ - thread/qsemaphore.cpp \ - thread/qthreadpool.cpp \ - thread/qthreadstorage.cpp - - win32 { - SOURCES += \ - thread/qmutex_win.cpp \ - thread/qwaitcondition_win.cpp - } else { - darwin { - SOURCES += thread/qmutex_mac.cpp - } else: linux { - SOURCES += thread/qmutex_linux.cpp - } else { - SOURCES += thread/qmutex_unix.cpp - } - SOURCES += thread/qwaitcondition_unix.cpp - } -} - -qtConfig(future) { - HEADERS += \ - thread/qexception.h \ - thread/qfuture.h \ - thread/qfuture_impl.h \ - thread/qfutureinterface.h \ - thread/qfutureinterface_p.h \ - thread/qfuturesynchronizer.h \ - thread/qfuturewatcher.h \ - thread/qfuturewatcher_p.h \ - thread/qresultstore.h \ - thread/qpromise.h - - SOURCES += \ - thread/qexception.cpp \ - thread/qfutureinterface.cpp \ - thread/qfuturewatcher.cpp \ - thread/qresultstore.cpp -} - -qtConfig(std-atomic64): QMAKE_USE += libatomic diff --git a/src/corelib/time/time.pri b/src/corelib/time/time.pri deleted file mode 100644 index 84efbfbfd2..0000000000 --- a/src/corelib/time/time.pri +++ /dev/null @@ -1,71 +0,0 @@ -# Qt time / date / zone / calendar module - -HEADERS += \ - time/qcalendar.h \ - time/qcalendarbackend_p.h \ - time/qcalendarmath_p.h \ - time/qdatetime.h \ - time/qdatetime_p.h \ - time/qgregoriancalendar_p.h \ - time/qjuliancalendar_p.h \ - time/qmilankoviccalendar_p.h \ - time/qromancalendar_p.h \ - time/qromancalendar_data_p.h - -SOURCES += \ - time/qdatetime.cpp \ - time/qcalendar.cpp \ - time/qgregoriancalendar.cpp \ - time/qjuliancalendar.cpp \ - time/qmilankoviccalendar.cpp \ - time/qromancalendar.cpp - -qtConfig(hijricalendar) { - SOURCES += \ - time/qhijricalendar.cpp - HEADERS += \ - time/qhijricalendar_p.h \ - time/qhijricalendar_data_p.h -} - -qtConfig(islamiccivilcalendar) { - SOURCES += \ - time/qislamiccivilcalendar.cpp - HEADERS += \ - time/qislamiccivilcalendar_p.h -} - -qtConfig(jalalicalendar) { - SOURCES += \ - time/qjalalicalendar.cpp - HEADERS += \ - time/qjalalicalendar_p.h \ - time/qjalalicalendar_data_p.h -} - -qtConfig(timezone) { - HEADERS += \ - time/qtimezone.h \ - time/qtimezoneprivate_p.h \ - time/qtimezoneprivate_data_p.h - SOURCES += \ - time/qtimezone.cpp \ - time/qtimezoneprivate.cpp - !nacl:darwin: { - SOURCES += time/qtimezoneprivate_mac.mm - } else: android:!android-embedded: { - SOURCES += time/qtimezoneprivate_android.cpp - } else: unix: { - SOURCES += time/qtimezoneprivate_tz.cpp - qtConfig(icu): SOURCES += time/qtimezoneprivate_icu.cpp - } else: qtConfig(icu): { - SOURCES += time/qtimezoneprivate_icu.cpp - } else: win32: { - SOURCES += time/qtimezoneprivate_win.cpp - } -} - -qtConfig(datetimeparser) { - HEADERS += time/qdatetimeparser_p.h - SOURCES += time/qdatetimeparser.cpp -} diff --git a/src/corelib/tools/tools.pri b/src/corelib/tools/tools.pri deleted file mode 100644 index 9c94da0969..0000000000 --- a/src/corelib/tools/tools.pri +++ /dev/null @@ -1,116 +0,0 @@ -# Qt tools module - -intel_icc: QMAKE_CXXFLAGS += -fp-model strict - -HEADERS += \ - tools/qalgorithms.h \ - tools/qarraydata.h \ - tools/qarraydataops.h \ - tools/qarraydatapointer.h \ - tools/qbitarray.h \ - tools/qcache.h \ - tools/qcontainerfwd.h \ - tools/qcontainertools_impl.h \ - tools/qcryptographichash.h \ - tools/qduplicatetracker_p.h \ - tools/qflatmap_p.h \ - tools/qfreelist_p.h \ - tools/qhash.h \ - tools/qhashfunctions.h \ - tools/qiterator.h \ - tools/qline.h \ - tools/qlist.h \ - tools/qmakearray_p.h \ - tools/qmap.h \ - tools/qmargins.h \ - tools/qmessageauthenticationcode.h \ - tools/qcontiguouscache.h \ - tools/qoffsetstringarray_p.h \ - tools/qpair.h \ - tools/qpoint.h \ - tools/qqueue.h \ - tools/qrect.h \ - tools/qringbuffer_p.h \ - tools/qrefcount.h \ - tools/qscopeguard.h \ - tools/qscopedpointer.h \ - tools/qscopedvaluerollback.h \ - tools/qshareddata.h \ - tools/qshareddata_impl.h \ - tools/qsharedpointer.h \ - tools/qsharedpointer_impl.h \ - tools/qset.h \ - tools/qsize.h \ - tools/qstack.h \ - tools/qtools_p.h \ - tools/qtaggedpointer.h \ - tools/qvarlengtharray.h \ - tools/qvector.h \ - tools/qversionnumber.h - -SOURCES += \ - tools/qarraydata.cpp \ - tools/qbitarray.cpp \ - tools/qcryptographichash.cpp \ - tools/qfreelist.cpp \ - tools/qhash.cpp \ - tools/qline.cpp \ - tools/qpoint.cpp \ - tools/qmargins.cpp \ - tools/qmessageauthenticationcode.cpp \ - tools/qcontiguouscache.cpp \ - tools/qrect.cpp \ - tools/qrefcount.cpp \ - tools/qringbuffer.cpp \ - tools/qshareddata.cpp \ - tools/qsharedpointer.cpp \ - tools/qsize.cpp \ - tools/qversionnumber.cpp - -qtConfig(system-zlib) { - include($$PWD/../../3rdparty/zlib_dependency.pri) -} else { - CONFIG += no_core_dep - include($$PWD/../../3rdparty/zlib.pri) -} - -qtConfig(commandlineparser) { - HEADERS += \ - tools/qcommandlineoption.h \ - tools/qcommandlineparser.h - SOURCES += \ - tools/qcommandlineoption.cpp \ - tools/qcommandlineparser.cpp -} - -INCLUDEPATH += ../3rdparty/md5 \ - ../3rdparty/md4 \ - ../3rdparty/sha3 - -qtConfig(system-doubleconversion) { - QMAKE_USE_PRIVATE += doubleconversion -} else: qtConfig(doubleconversion) { - include($$PWD/../../3rdparty/double-conversion/double-conversion.pri) -} - -qtConfig(system-libb2) { - QMAKE_USE_PRIVATE += libb2 -} - -qtConfig(easingcurve) { - HEADERS += \ - tools/qeasingcurve.h \ - tools/qtimeline.h - - SOURCES += \ - tools/qeasingcurve.cpp \ - tools/qtimeline.cpp -} - -# Note: libm should be present by default becaue this is C++ -unix:!macx-icc:!vxworks:!haiku:!integrity:!wasm: LIBS_PRIVATE += -lm - -TR_EXCLUDE += ../3rdparty/* - -# MIPS DSP -MIPS_DSP_HEADERS += ../gui/painting/qt_mips_asm_dsp_p.h diff --git a/src/dbus/dbus.pro b/src/dbus/dbus.pro deleted file mode 100644 index 2cfd7e086c..0000000000 --- a/src/dbus/dbus.pro +++ /dev/null @@ -1,88 +0,0 @@ -TARGET = QtDBus -QT = core-private -MODULE_CONFIG = dbusadaptors dbusinterfaces - -DEFINES += DBUS_API_SUBJECT_TO_CHANGE -qtConfig(dbus-linked) { - QMAKE_USE_PRIVATE += dbus - DEFINES += QT_LINKED_LIBDBUS -} - -win32 { - QMAKE_USE_PRIVATE += \ - advapi32 \ - netapi32 \ - user32 \ - ws2_32 -} - -DEFINES += QT_NO_FOREACH - -QMAKE_DOCS = $$PWD/doc/qtdbus.qdocconf - -HEADERS += qtdbusglobal.h \ - qdbusargument.h \ - qdbusconnectioninterface.h \ - qdbuserror.h \ - qdbusextratypes.h \ - qdbusmessage.h \ - qdbusserver.h \ - qdbusconnection.h \ - qdbusabstractinterface.h \ - qdbusinterface.h \ - qdbusabstractadaptor.h \ - qdbusreply.h \ - qdbusmetatype.h \ - qdbuspendingcall.h \ - qdbuspendingreply.h \ - qdbuscontext.h \ - qdbusvirtualobject.h \ - qdbusservicewatcher.h \ - qdbusunixfiledescriptor.h \ - qtdbusglobal_p.h \ - qdbusconnection_p.h \ - qdbusconnectionmanager_p.h \ - qdbusmessage_p.h \ - qdbusinterface_p.h \ - qdbusxmlparser_p.h \ - qdbusabstractadaptor_p.h \ - qdbusargument_p.h \ - qdbusutil_p.h \ - qdbusabstractinterface_p.h \ - qdbuscontext_p.h \ - qdbusthreaddebug_p.h \ - qdbusintegrator_p.h \ - qdbuspendingcall_p.h \ - qdbus_symbols_p.h \ - qdbusintrospection_p.h \ - dbus_minimal_p.h -SOURCES += qdbusconnection.cpp \ - qdbusconnectioninterface.cpp \ - qdbuserror.cpp \ - qdbusintegrator.cpp \ - qdbusmessage.cpp \ - qdbusserver.cpp \ - qdbusabstractinterface.cpp \ - qdbusinterface.cpp \ - qdbusxmlparser.cpp \ - qdbusutil.cpp \ - qdbusintrospection.cpp \ - qdbusabstractadaptor.cpp \ - qdbusinternalfilters.cpp \ - qdbusmetaobject.cpp \ - qdbusxmlgenerator.cpp \ - qdbusmisc.cpp \ - qdbusargument.cpp \ - qdbusreply.cpp \ - qdbusmetatype.cpp \ - qdbusextratypes.cpp \ - qdbusmarshaller.cpp \ - qdbuscontext.cpp \ - qdbuspendingcall.cpp \ - qdbuspendingreply.cpp \ - qdbus_symbols.cpp \ - qdbusservicewatcher.cpp \ - qdbusunixfiledescriptor.cpp \ - qdbusvirtualobject.cpp - -load(qt_module) diff --git a/src/dbus/doc/snippets/snippets.pro b/src/dbus/doc/snippets/snippets.pro deleted file mode 100644 index 0447c3e2d8..0000000000 --- a/src/dbus/doc/snippets/snippets.pro +++ /dev/null @@ -1,19 +0,0 @@ -#! [qmake_use] -QT += dbus -#! [qmake_use] -TEMPLATE = lib - -TARGET = qtdbus_snippets - -QT += core dbus xml -load(qt_common) - -SOURCES += code/src_qdbus_qdbusabstractinterface.cpp \ - code/src_qdbus_qdbusinterface.cpp \ - code/src_qdbus_qdbuspendingcall.cpp \ - code/src_qdbus_qdbuspendingreply.cpp \ - code/src_qdbus_qdbusreply.cpp \ - code/doc_src_qdbusadaptors.cpp \ - code/src_qdbus_qdbusargument.cpp \ - code/src_qdbus_qdbuscontext.cpp \ - code/src_qdbus_qdbusmetatype.cpp diff --git a/src/entrypoint/entrypoint.pro b/src/entrypoint/entrypoint.pro deleted file mode 100644 index f3ba106720..0000000000 --- a/src/entrypoint/entrypoint.pro +++ /dev/null @@ -1,9 +0,0 @@ - -TEMPLATE = subdirs -CONFIG += ordered - -SUBDIRS += entrypoint_module.pro - -win32 { - SUBDIRS += entrypoint_implementation.pro -} diff --git a/src/entrypoint/entrypoint_implementation.pro b/src/entrypoint/entrypoint_implementation.pro deleted file mode 100644 index 3866163220..0000000000 --- a/src/entrypoint/entrypoint_implementation.pro +++ /dev/null @@ -1,40 +0,0 @@ - -TEMPLATE = lib - -TARGET = QtEntryPoint - -CONFIG += static no_module_headers internal_module -QT = core - -DEFINES += QT_NO_FOREACH - -win32 { - SOURCES = qtentrypoint_win.cpp - CONFIG -= qt - - QMAKE_USE_PRIVATE += shell32 - - msvc { - QMAKE_CFLAGS_DEBUG -= -Zi - QMAKE_CXXFLAGS_DEBUG -= -Zi - QMAKE_CFLAGS_DEBUG *= -Z7 - QMAKE_CXXFLAGS_DEBUG *= -Z7 - } - mingw { - DEFINES += QT_NEEDS_QMAIN - } -} - -# Minimal qt_helper_lib - -load(qt_build_paths) -load(qt_common) - -qtConfig(debug_and_release): CONFIG += debug_and_release -qtConfig(build_all): CONFIG += build_all - -DESTDIR = $$MODULE_BASE_OUTDIR/lib - -TARGET = $$qt5LibraryTarget($$TARGET) - -load(qt_installs) diff --git a/src/entrypoint/entrypoint_module.pro b/src/entrypoint/entrypoint_module.pro deleted file mode 100644 index dbf87fbfc5..0000000000 --- a/src/entrypoint/entrypoint_module.pro +++ /dev/null @@ -1,39 +0,0 @@ - -TARGET = QtEntryPoint -MODULE = entrypoint - -CONFIG += header_module no_module_headers internal_module - -QT = - -win32 { - MODULE_DEPENDS = entrypoint_implementation - - mingw { - MODULE_DEFINES += QT_NEEDS_QMAIN - - # This library needs to come before the entry-point library in the - # linker line, so that the static linker will pick up the WinMain - # symbol from the entry-point library. - MODULE_LDFLAGS += -lmingw32 - } -} - -uikit { - # The LC_MAIN load command available in iOS 6.0 and above allows dyld to - # directly call the entrypoint instead of going through _start in crt.o. - # Passing -e to the linker changes the entrypoint from _main to our custom - # wrapper that calls UIApplicationMain and dispatches back to main() once - # the application has started up and is ready to initialize QApplication. - MODULE_LDFLAGS += -Wl,-e,_qt_main_wrapper -} - -contains(MODULE_DEPENDS, entrypoint_implementation) { - MODULE_PRI_EXTRA_CONTENT = \ - "QT.entrypoint_implementation.name = QtEntryPointImplementation" \ - "QT.entrypoint_implementation.module = Qt6EntryPoint" \ - "QT.entrypoint_implementation.libs = \$\$QT_MODULE_LIB_BASE" \ - "QT.entrypoint_implementation.module_config = staticlib v2 internal_module" -} - -load(qt_module) diff --git a/src/gui/accessible/accessible.pri b/src/gui/accessible/accessible.pri deleted file mode 100644 index cc403ba9e9..0000000000 --- a/src/gui/accessible/accessible.pri +++ /dev/null @@ -1,30 +0,0 @@ -# Qt accessibility module - -qtConfig(accessibility) { - HEADERS += \ - accessible/qaccessible.h \ - accessible/qaccessiblecache_p.h \ - accessible/qaccessibleobject.h \ - accessible/qaccessibleplugin.h \ - accessible/qplatformaccessibility.h \ - accessible/qaccessiblebridge.h \ - accessible/qaccessiblebridgeutils_p.h - - SOURCES += accessible/qaccessible.cpp \ - accessible/qaccessiblecache.cpp \ - accessible/qaccessibleobject.cpp \ - accessible/qaccessibleplugin.cpp \ - accessible/qplatformaccessibility.cpp \ - accessible/qaccessiblebridge.cpp \ - accessible/qaccessiblebridgeutils.cpp - - mac { - OBJECTIVE_SOURCES += accessible/qaccessiblecache_mac.mm - - LIBS_PRIVATE += -framework Foundation - } - - win32: include(windows/windows.pri) - - qtConfig(accessibility-atspi-bridge): include(linux/linux.pri) -} diff --git a/src/gui/accessible/linux/linux.pri b/src/gui/accessible/linux/linux.pri deleted file mode 100644 index 928a96e62a..0000000000 --- a/src/gui/accessible/linux/linux.pri +++ /dev/null @@ -1,27 +0,0 @@ -accessibility_adaptors.files = accessible/linux/dbusxml/Cache.xml accessible/linux/dbusxml/DeviceEventController.xml -accessibility_adaptors.header_flags = -i QtGui/private/qspi_struct_marshallers_p.h -DBUS_ADAPTORS += accessibility_adaptors - -accessibility_interfaces.files = accessible/linux/dbusxml/Socket.xml accessible/linux/dbusxml/Bus.xml -accessibility_interfaces.header_flags = -i QtGui/private/qspi_struct_marshallers_p.h -DBUS_INTERFACES += accessibility_interfaces - -HEADERS += \ - accessible/linux/atspiadaptor_p.h \ - accessible/linux/dbusconnection_p.h \ - accessible/linux/qspi_constant_mappings_p.h \ - accessible/linux/qspi_struct_marshallers_p.h \ - accessible/linux/qspiaccessiblebridge_p.h \ - accessible/linux/qspiapplicationadaptor_p.h \ - accessible/linux/qspidbuscache_p.h - -SOURCES += \ - accessible/linux/atspiadaptor.cpp \ - accessible/linux/dbusconnection.cpp \ - accessible/linux/qspi_constant_mappings.cpp \ - accessible/linux/qspi_struct_marshallers.cpp \ - accessible/linux/qspiaccessiblebridge.cpp \ - accessible/linux/qspiapplicationadaptor.cpp \ - accessible/linux/qspidbuscache.cpp - -QMAKE_USE_PRIVATE += atspi/nolink diff --git a/src/gui/accessible/windows/apisupport/apisupport.pri b/src/gui/accessible/windows/apisupport/apisupport.pri deleted file mode 100644 index b5c0843abc..0000000000 --- a/src/gui/accessible/windows/apisupport/apisupport.pri +++ /dev/null @@ -1,15 +0,0 @@ -HEADERS += \ - accessible/windows/apisupport/qwindowsuiawrapper_p.h \ - accessible/windows/apisupport/uiaattributeids_p.h \ - accessible/windows/apisupport/uiacontroltypeids_p.h \ - accessible/windows/apisupport/uiaerrorids_p.h \ - accessible/windows/apisupport/uiaeventids_p.h \ - accessible/windows/apisupport/uiageneralids_p.h \ - accessible/windows/apisupport/uiaserverinterfaces_p.h \ - accessible/windows/apisupport/uiaclientinterfaces_p.h \ - accessible/windows/apisupport/uiapatternids_p.h \ - accessible/windows/apisupport/uiapropertyids_p.h \ - accessible/windows/apisupport/uiatypes_p.h - -SOURCES += \ - accessible/windows/apisupport/qwindowsuiawrapper.cpp diff --git a/src/gui/accessible/windows/windows.pri b/src/gui/accessible/windows/windows.pri deleted file mode 100644 index 9cebe1e2fb..0000000000 --- a/src/gui/accessible/windows/windows.pri +++ /dev/null @@ -1 +0,0 @@ -include(apisupport/apisupport.pri) diff --git a/src/gui/animation/animation.pri b/src/gui/animation/animation.pri deleted file mode 100644 index add9ae7119..0000000000 --- a/src/gui/animation/animation.pri +++ /dev/null @@ -1,2 +0,0 @@ -SOURCES += \ - animation/qguivariantanimation.cpp diff --git a/src/gui/configure.pri b/src/gui/configure.pri deleted file mode 100644 index 56f995392b..0000000000 --- a/src/gui/configure.pri +++ /dev/null @@ -1,46 +0,0 @@ -# custom tests - -defineTest(qtConfLibrary_freetype) { - input = $$eval($${2}.alias) - isEmpty(config.input.$${input}.incdir) { - TRY_INCLUDEPATHS = $$EXTRA_INCLUDEPATH $$QMAKE_INCDIR_X11 - haiku: TRY_INCLUDEPATHS += /system/develop/headers - TRY_INCLUDEPATHS += $$QMAKE_DEFAULT_INCDIRS - for (p, TRY_INCLUDEPATHS) { - includedir = $$p/freetype2 - exists($$includedir) { - config.input.$${input}.incdir = $$includedir - export(config.input.$${input}.incdir) - break() - } - } - } - qtConfLibrary_inline($$1, $$2): return(true) - return(false) -} - -defineTest(qtConfTest_qpaDefaultPlatform) { - name = - !isEmpty(config.input.qpa_default_platform): name = $$config.input.qpa_default_platform - else: !isEmpty(QT_QPA_DEFAULT_PLATFORM): name = $$QT_QPA_DEFAULT_PLATFORM - else: win32: name = windows - else: android: name = android - else: macos: name = cocoa - else: if(ios|tvos): name = ios - else: watchos: name = minimal - else: qnx: name = qnx - else: integrity: name = integrityfb - else: haiku: name = haiku - else: wasm: name = wasm - else: name = xcb - - $${1}.value = $$name - $${1}.plugin = q$$name - $${1}.name = "\"$$name\"" - export($${1}.value) - export($${1}.plugin) - export($${1}.name) - $${1}.cache += value plugin name - export($${1}.cache) - return(true) -} diff --git a/src/gui/doc/snippets/brush/brush.pro b/src/gui/doc/snippets/brush/brush.pro deleted file mode 100644 index a384e5fee6..0000000000 --- a/src/gui/doc/snippets/brush/brush.pro +++ /dev/null @@ -1,8 +0,0 @@ -TEMPLATE = lib -TARGET = brush_snippets -QT += core gui widgets - -SOURCES = \ - brush.cpp \ - gradientcreationsnippet.cpp - diff --git a/src/gui/doc/snippets/clipboard/clipboard.pro b/src/gui/doc/snippets/clipboard/clipboard.pro deleted file mode 100644 index 521b67aca9..0000000000 --- a/src/gui/doc/snippets/clipboard/clipboard.pro +++ /dev/null @@ -1,10 +0,0 @@ -TEMPLATE = lib -TARGET = clipboard_snippets -QT += core gui widgets - -HEADERS = \ - clipwindow.h - -SOURCES = \ - clipwindow.cpp \ - main.cpp diff --git a/src/gui/doc/snippets/code/code.pro b/src/gui/doc/snippets/code/code.pro deleted file mode 100644 index ee2c0d1c52..0000000000 --- a/src/gui/doc/snippets/code/code.pro +++ /dev/null @@ -1,48 +0,0 @@ -TEMPLATE = lib -TARGET = code_snippets -QT += core gui widgets - -SOURCES = \ - doc_src_coordsys.cpp \ - doc_src_richtext.cpp \ - src_gui_accessible_qaccessible.cpp \ - src_gui_image_qicon.cpp \ - src_gui_image_qimage.cpp \ - src_gui_image_qimagereader.cpp \ - src_gui_image_qimagewriter.cpp \ - src_gui_image_qmovie.cpp \ - src_gui_image_qpixmapcache.cpp \ - src_gui_image_qpixmap.cpp \ - src_gui_itemviews_qstandarditemmodel.cpp \ - src_gui_kernel_qapplication.cpp \ - src_gui_kernel_qclipboard.cpp \ - src_gui_kernel_qevent.cpp \ - src_gui_kernel_qguiapplication.cpp \ - src_gui_kernel_qguiapplication_x11.cpp \ - src_gui_kernel_qkeysequence.cpp \ - src_gui_kernel_qshortcutmap.cpp \ - src_gui_math3d_qquaternion.cpp \ - src_gui_opengl_qopenglbuffer.cpp \ - src_gui_opengl_qopengldebug.cpp \ - src_gui_opengl_qopenglfunctions.cpp \ - src_gui_painting_qbrush.cpp \ - src_gui_painting_qcolor.cpp \ - src_gui_painting_qpainter.cpp \ - src_gui_painting_qpainterpath.cpp \ - src_gui_painting_qpen.cpp \ - src_gui_painting_qregion.cpp \ - src_gui_painting_qregion_unix.cpp \ - src_gui_painting_qtransform.cpp \ - src_gui_qopenglshaderprogram.cpp \ - src_gui_text_qfont.cpp \ - src_gui_text_qfontmetrics.cpp \ - src_gui_text_qsyntaxhighlighter.cpp \ - src_gui_text_qtextcursor.cpp \ - src_gui_text_qtextdocument.cpp \ - src_gui_text_qtextdocumentwriter.cpp \ - src_gui_text_qtextlayout.cpp \ - src_gui_util_qdesktopservices.cpp \ - src_gui_util_qvalidator.cpp \ - src_gui_vulkan_qvulkanfunctions.cpp \ - src_gui_vulkan_qvulkaninstance.cpp \ - src_gui_vulkan_qvulkanwindow.cpp diff --git a/src/gui/doc/snippets/code/doc_src_qtgui.pro b/src/gui/doc/snippets/code/doc_src_qtgui.pro deleted file mode 100644 index a5eb5b576c..0000000000 --- a/src/gui/doc/snippets/code/doc_src_qtgui.pro +++ /dev/null @@ -1,3 +0,0 @@ -#! [1] -QT -= gui -#! [1] diff --git a/src/gui/doc/snippets/draganddrop/draganddrop.pro b/src/gui/doc/snippets/draganddrop/draganddrop.pro deleted file mode 100644 index 99261c2d51..0000000000 --- a/src/gui/doc/snippets/draganddrop/draganddrop.pro +++ /dev/null @@ -1,9 +0,0 @@ -TEMPLATE = lib -TARGET = draganddrop_snippets -QT += core gui widgets - -HEADERS = \ - dragwidget.h - -SOURCES = \ - dragwidget.cpp diff --git a/src/gui/doc/snippets/dragging/dragging.pro b/src/gui/doc/snippets/dragging/dragging.pro deleted file mode 100644 index 0a16eb19bf..0000000000 --- a/src/gui/doc/snippets/dragging/dragging.pro +++ /dev/null @@ -1,5 +0,0 @@ -QT += widgets -HEADERS += mainwindow.h -RESOURCES += images.qrc -SOURCES += main.cpp \ - mainwindow.cpp diff --git a/src/gui/doc/snippets/droparea/droparea.pro b/src/gui/doc/snippets/droparea/droparea.pro deleted file mode 100644 index 33318618e4..0000000000 --- a/src/gui/doc/snippets/droparea/droparea.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = lib -TARGET = droparea_snippets -QT += core gui widgets - -SOURCES = \ - droparea.cpp diff --git a/src/gui/doc/snippets/dropevents/dropevents.pro b/src/gui/doc/snippets/dropevents/dropevents.pro deleted file mode 100644 index 54c3ceeb5b..0000000000 --- a/src/gui/doc/snippets/dropevents/dropevents.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = lib -TARGET = dropevents_snippets -QT += core gui widgets - -SOURCES = \ - window.cpp diff --git a/src/gui/doc/snippets/droprectangle/droprectangle.pro b/src/gui/doc/snippets/droprectangle/droprectangle.pro deleted file mode 100644 index c8ed4d3694..0000000000 --- a/src/gui/doc/snippets/droprectangle/droprectangle.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = lib -TARGET = droprectangle_snippets -QT += core gui widgets - -SOURCES = \ - window.cpp diff --git a/src/gui/doc/snippets/image/image.pro b/src/gui/doc/snippets/image/image.pro deleted file mode 100644 index c9b5e30cd1..0000000000 --- a/src/gui/doc/snippets/image/image.pro +++ /dev/null @@ -1,8 +0,0 @@ -TEMPLATE = lib -TARGET = image_snippets -QT += core gui widgets - -SOURCES = \ - image.cpp \ - supportedformat.cpp - diff --git a/src/gui/doc/snippets/picture/picture.pro b/src/gui/doc/snippets/picture/picture.pro deleted file mode 100644 index 8a3f614546..0000000000 --- a/src/gui/doc/snippets/picture/picture.pro +++ /dev/null @@ -1,7 +0,0 @@ -TEMPLATE = lib -TARGET = picture_snippets -QT += core gui widgets - -SOURCES = \ - picture.cpp - diff --git a/src/gui/doc/snippets/plaintextlayout/plaintextlayout.pro b/src/gui/doc/snippets/plaintextlayout/plaintextlayout.pro deleted file mode 100644 index a0cf7a7b68..0000000000 --- a/src/gui/doc/snippets/plaintextlayout/plaintextlayout.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = lib -TARGET = plaintextlayout_snippets -QT += core gui widgets - -SOURCES = \ - window.cpp diff --git a/src/gui/doc/snippets/polygon/polygon.pro b/src/gui/doc/snippets/polygon/polygon.pro deleted file mode 100644 index 293502a33d..0000000000 --- a/src/gui/doc/snippets/polygon/polygon.pro +++ /dev/null @@ -1,7 +0,0 @@ -TEMPLATE = lib -TARGET = polygon_snippets -QT += core gui widgets - -SOURCES = \ - polygon.cpp - diff --git a/src/gui/doc/snippets/qfileopenevent/qfileopenevent.pro b/src/gui/doc/snippets/qfileopenevent/qfileopenevent.pro deleted file mode 100644 index 3466d6f21b..0000000000 --- a/src/gui/doc/snippets/qfileopenevent/qfileopenevent.pro +++ /dev/null @@ -1,7 +0,0 @@ -TEMPLATE = lib -TARGET = qfileopenevent_snippets -QT += core gui widgets - -SOURCES = \ - main.cpp - diff --git a/src/gui/doc/snippets/qfontdatabase/qfontdatabase.pro b/src/gui/doc/snippets/qfontdatabase/qfontdatabase.pro deleted file mode 100644 index 5c7e455360..0000000000 --- a/src/gui/doc/snippets/qfontdatabase/qfontdatabase.pro +++ /dev/null @@ -1,5 +0,0 @@ -TEMPLATE = lib -TARGET = qfontdatabase_snippets -QT += core gui widgets - -SOURCES = qfontdatabase_snippets.cpp diff --git a/src/gui/doc/snippets/qimagewriter/qimagewriter.pro b/src/gui/doc/snippets/qimagewriter/qimagewriter.pro deleted file mode 100644 index 077d24d49f..0000000000 --- a/src/gui/doc/snippets/qimagewriter/qimagewriter.pro +++ /dev/null @@ -1,7 +0,0 @@ -TEMPLATE = lib -TARGET = qimagewriter_snippets -QT += core gui widgets - -SOURCES = \ - main.cpp - diff --git a/src/gui/doc/snippets/qstatustipevent/qstatustipevent.pro b/src/gui/doc/snippets/qstatustipevent/qstatustipevent.pro deleted file mode 100644 index 8f94f6ce28..0000000000 --- a/src/gui/doc/snippets/qstatustipevent/qstatustipevent.pro +++ /dev/null @@ -1,7 +0,0 @@ -TEMPLATE = lib -TARGET = qstatustipevent_snippets -QT += core gui widgets - -SOURCES = \ - main.cpp - diff --git a/src/gui/doc/snippets/qtextobject/qtextobject.pro b/src/gui/doc/snippets/qtextobject/qtextobject.pro deleted file mode 100644 index 737609ba4c..0000000000 --- a/src/gui/doc/snippets/qtextobject/qtextobject.pro +++ /dev/null @@ -1,7 +0,0 @@ -TEMPLATE = lib -TARGET = textobjectinterface_snippets -QT += core gui widgets - -HEADERS = \ - textobjectinterface.h - diff --git a/src/gui/doc/snippets/scribe-overview/scribe-overview.pro b/src/gui/doc/snippets/scribe-overview/scribe-overview.pro deleted file mode 100644 index 092e6f7b2b..0000000000 --- a/src/gui/doc/snippets/scribe-overview/scribe-overview.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = lib -TARGET = scribe-overview_snippets -QT += core gui widgets - -SOURCES = \ - main.cpp diff --git a/src/gui/doc/snippets/separations/separations.pro b/src/gui/doc/snippets/separations/separations.pro deleted file mode 100644 index d16f0fb3f6..0000000000 --- a/src/gui/doc/snippets/separations/separations.pro +++ /dev/null @@ -1,13 +0,0 @@ -TEMPLATE = lib -TARGET = separations_snippets -QT += core gui widgets - -HEADERS = \ - finalwidget.h \ - screenwidget.h \ - viewer.h -SOURCES = \ - finalwidget.cpp \ - main.cpp \ - screenwidget.cpp \ - viewer.cpp diff --git a/src/gui/doc/snippets/snippets.pro b/src/gui/doc/snippets/snippets.pro deleted file mode 100644 index 6b83dc1ecc..0000000000 --- a/src/gui/doc/snippets/snippets.pro +++ /dev/null @@ -1,45 +0,0 @@ -TEMPLATE = subdirs -SUBDIRS = - -contains(QT_BUILD_PARTS, tests) { - SUBDIRS += \ - brush \ - clipboard \ - code \ - draganddrop \ - droparea \ - dropevents \ - droprectangle \ - image \ - picture \ - plaintextlayout \ - polygon \ - qfileopenevent \ - qfontdatabase \ - qimagewriter \ - qstatustipevent \ - qtextobject \ - scribe-overview \ - separations \ - textblock-formats \ - textblock-fragments \ - textdocument-blocks \ - textdocument-charformats \ - textdocument-css \ - textdocument-cursors \ - textdocument-end \ - textdocument-find \ - textdocument-frames \ - textdocument-imagedrop \ - textdocument-imageformat \ - textdocument-images \ - textdocument-listitems \ - textdocument-listitemstyles \ - textdocument-lists \ - textdocument-printing \ - textdocument-resources \ - textdocument-selections \ - textdocument-tables \ - textdocument-texttable \ - transform -} diff --git a/src/gui/doc/snippets/textblock-formats/textblock-formats.pro b/src/gui/doc/snippets/textblock-formats/textblock-formats.pro deleted file mode 100644 index e7f408716f..0000000000 --- a/src/gui/doc/snippets/textblock-formats/textblock-formats.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = lib -TARGET = gui_snippets_textblock_formats -QT += core gui widgets - -SOURCES = \ - main.cpp diff --git a/src/gui/doc/snippets/textblock-fragments/textblock-fragments.pro b/src/gui/doc/snippets/textblock-fragments/textblock-fragments.pro deleted file mode 100644 index b2fbea4fc3..0000000000 --- a/src/gui/doc/snippets/textblock-fragments/textblock-fragments.pro +++ /dev/null @@ -1,8 +0,0 @@ -TEMPLATE = lib -TARGET = gui_snippets_textblock_fragments -QT += core gui widgets xml - -HEADERS = \ - xmlwriter.h -SOURCES = \ - xmlwriter.cpp diff --git a/src/gui/doc/snippets/textdocument-blocks/textdocument-blocks.pro b/src/gui/doc/snippets/textdocument-blocks/textdocument-blocks.pro deleted file mode 100644 index 3b45ba9cb2..0000000000 --- a/src/gui/doc/snippets/textdocument-blocks/textdocument-blocks.pro +++ /dev/null @@ -1,10 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-blocks_snippets -QT += core gui widgets - -HEADERS = \ - mainwindow.h - -SOURCES = \ - main.cpp \ - mainwindow.cpp diff --git a/src/gui/doc/snippets/textdocument-charformats/textdocument-charformats.pro b/src/gui/doc/snippets/textdocument-charformats/textdocument-charformats.pro deleted file mode 100644 index 2c8654ccfa..0000000000 --- a/src/gui/doc/snippets/textdocument-charformats/textdocument-charformats.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-charformats -QT += core gui widgets - -SOURCES = \ - main.cpp diff --git a/src/gui/doc/snippets/textdocument-css/textdocument-css.pro b/src/gui/doc/snippets/textdocument-css/textdocument-css.pro deleted file mode 100644 index 40f64b200f..0000000000 --- a/src/gui/doc/snippets/textdocument-css/textdocument-css.pro +++ /dev/null @@ -1,5 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-css -QT += core gui widgets - -SOURCES += main.cpp diff --git a/src/gui/doc/snippets/textdocument-cursors/textdocument-cursors.pro b/src/gui/doc/snippets/textdocument-cursors/textdocument-cursors.pro deleted file mode 100644 index 6e27f32dc4..0000000000 --- a/src/gui/doc/snippets/textdocument-cursors/textdocument-cursors.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-cursors -QT += core gui widgets - -SOURCES = \ - main.cpp diff --git a/src/gui/doc/snippets/textdocument-end/textdocument-end.pro b/src/gui/doc/snippets/textdocument-end/textdocument-end.pro deleted file mode 100644 index 3c80ea77c2..0000000000 --- a/src/gui/doc/snippets/textdocument-end/textdocument-end.pro +++ /dev/null @@ -1,5 +0,0 @@ -TEMPLATE = lib -TARGET = textdocumentend_snippets -QT += core gui widgets - -SOURCES = textdocumentendsnippet.cpp diff --git a/src/gui/doc/snippets/textdocument-find/textdocument-find.pro b/src/gui/doc/snippets/textdocument-find/textdocument-find.pro deleted file mode 100644 index 5fc0c7be71..0000000000 --- a/src/gui/doc/snippets/textdocument-find/textdocument-find.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-find -QT += core gui widgets - -SOURCES = \ - main.cpp diff --git a/src/gui/doc/snippets/textdocument-frames/textdocument-frames.pro b/src/gui/doc/snippets/textdocument-frames/textdocument-frames.pro deleted file mode 100644 index c701a69e04..0000000000 --- a/src/gui/doc/snippets/textdocument-frames/textdocument-frames.pro +++ /dev/null @@ -1,10 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-frames_snippets -QT += core gui widgets - -HEADERS = \ - mainwindow.h - -SOURCES = \ - mainwindow.cpp \ - main.cpp diff --git a/src/gui/doc/snippets/textdocument-imagedrop/textdocument-imagedrop.pro b/src/gui/doc/snippets/textdocument-imagedrop/textdocument-imagedrop.pro deleted file mode 100644 index 5f1c55f038..0000000000 --- a/src/gui/doc/snippets/textdocument-imagedrop/textdocument-imagedrop.pro +++ /dev/null @@ -1,8 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-imagedrop -QT += core gui widgets - -HEADERS = \ - textedit.h -SOURCES = \ - main.cpp diff --git a/src/gui/doc/snippets/textdocument-imageformat/textdocument-imageformat.pro b/src/gui/doc/snippets/textdocument-imageformat/textdocument-imageformat.pro deleted file mode 100644 index f770f68593..0000000000 --- a/src/gui/doc/snippets/textdocument-imageformat/textdocument-imageformat.pro +++ /dev/null @@ -1,9 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-imageformat -QT += widgets core gui - -SOURCES = \ - main.cpp - -RESOURCES = \ - images.qrc diff --git a/src/gui/doc/snippets/textdocument-images/textdocument-images.pro b/src/gui/doc/snippets/textdocument-images/textdocument-images.pro deleted file mode 100644 index de6bd3a53a..0000000000 --- a/src/gui/doc/snippets/textdocument-images/textdocument-images.pro +++ /dev/null @@ -1,9 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-images -QT += widgets core gui - -SOURCES = \ - main.cpp - -RESOURCES = \ - images.qrc diff --git a/src/gui/doc/snippets/textdocument-listitems/textdocument-listitems.pro b/src/gui/doc/snippets/textdocument-listitems/textdocument-listitems.pro deleted file mode 100644 index a41f35fd50..0000000000 --- a/src/gui/doc/snippets/textdocument-listitems/textdocument-listitems.pro +++ /dev/null @@ -1,10 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-listitems -QT += widgets core gui - -HEADERS = \ - mainwindow.h -SOURCES = \ - main.cpp \ - mainwindow.cpp - diff --git a/src/gui/doc/snippets/textdocument-listitemstyles/textdocument-listitemstyles.pro b/src/gui/doc/snippets/textdocument-listitemstyles/textdocument-listitemstyles.pro deleted file mode 100644 index df710a4dcd..0000000000 --- a/src/gui/doc/snippets/textdocument-listitemstyles/textdocument-listitemstyles.pro +++ /dev/null @@ -1,10 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-listitemstyles -QT += core gui widgets - -HEADERS = \ - mainwindow.h - -SOURCES = \ - main.cpp \ - mainwindow.cpp diff --git a/src/gui/doc/snippets/textdocument-lists/textdocument-lists.pro b/src/gui/doc/snippets/textdocument-lists/textdocument-lists.pro deleted file mode 100644 index c37654876c..0000000000 --- a/src/gui/doc/snippets/textdocument-lists/textdocument-lists.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-lists -QT += core gui widgets - -SOURCES = \ - mainwindow.cpp diff --git a/src/gui/doc/snippets/textdocument-printing/textdocument-printing.pro b/src/gui/doc/snippets/textdocument-printing/textdocument-printing.pro deleted file mode 100644 index f6d7a6d74d..0000000000 --- a/src/gui/doc/snippets/textdocument-printing/textdocument-printing.pro +++ /dev/null @@ -1,10 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-printing -QT += core gui widgets printsupport - -HEADERS = \ - mainwindow.h - -SOURCES = \ - main.cpp \ - mainwindow.cpp diff --git a/src/gui/doc/snippets/textdocument-resources/textdocument-resources.pro b/src/gui/doc/snippets/textdocument-resources/textdocument-resources.pro deleted file mode 100644 index 7400f6981f..0000000000 --- a/src/gui/doc/snippets/textdocument-resources/textdocument-resources.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-resources -QT += core gui widgets - -SOURCES = \ - main.cpp diff --git a/src/gui/doc/snippets/textdocument-selections/textdocument-selections.pro b/src/gui/doc/snippets/textdocument-selections/textdocument-selections.pro deleted file mode 100644 index 79e36d3881..0000000000 --- a/src/gui/doc/snippets/textdocument-selections/textdocument-selections.pro +++ /dev/null @@ -1,10 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-selections -QT += core gui widgets - -HEADERS = \ - mainwindow.h - -SOURCES = \ - main.cpp \ - mainwindow.cpp diff --git a/src/gui/doc/snippets/textdocument-tables/textdocument-tables.pro b/src/gui/doc/snippets/textdocument-tables/textdocument-tables.pro deleted file mode 100644 index 97081aa333..0000000000 --- a/src/gui/doc/snippets/textdocument-tables/textdocument-tables.pro +++ /dev/null @@ -1,10 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-tables_snippets -QT += core gui widgets - -HEADERS = \ - mainwindow.h - -SOURCES = \ - main.cpp \ - mainwindow.cpp diff --git a/src/gui/doc/snippets/textdocument-texttable/textdocument-texttable.pro b/src/gui/doc/snippets/textdocument-texttable/textdocument-texttable.pro deleted file mode 100644 index ad475cef7e..0000000000 --- a/src/gui/doc/snippets/textdocument-texttable/textdocument-texttable.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = lib -TARGET = textdocument-texttable -QT += core gui widgets - -SOURCES = \ - main.cpp \ diff --git a/src/gui/doc/snippets/transform/transform.pro b/src/gui/doc/snippets/transform/transform.pro deleted file mode 100644 index 5d51b3fba3..0000000000 --- a/src/gui/doc/snippets/transform/transform.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = lib -TARGET = transform_snippets -QT += core gui widgets - -SOURCES = \ - main.cpp diff --git a/src/gui/gui.pro b/src/gui/gui.pro deleted file mode 100644 index 13631aba67..0000000000 --- a/src/gui/gui.pro +++ /dev/null @@ -1,86 +0,0 @@ -TARGET = QtGui -QT = core-private - -qtConfig(opengl.*): MODULE_CONFIG = opengl - -DEFINES += QT_NO_USING_NAMESPACE QT_NO_FOREACH - -QMAKE_DOCS = $$PWD/doc/qtgui.qdocconf - -MODULE_PLUGIN_TYPES = \ - accessiblebridge \ - platforms \ - platforms/darwin \ - xcbglintegrations \ - platformthemes \ - platforminputcontexts \ - generic \ - iconengines \ - imageformats \ - egldeviceintegrations - -# Code coverage with TestCocoon -# The following is required as extra compilers use $$QMAKE_CXX instead of $(CXX). -# Without this, testcocoon.prf is read only after $$QMAKE_CXX is used by the -# extra compilers. -testcocoon { - load(testcocoon) -} - -osx: LIBS_PRIVATE += -framework AppKit -darwin: LIBS_PRIVATE += -framework CoreGraphics - -CONFIG += simd optimize_full - -include(accessible/accessible.pri) -include(kernel/kernel.pri) -include(image/image.pri) -include(text/text.pri) -include(painting/painting.pri) -include(util/util.pri) -include(math3d/math3d.pri) -include(opengl/opengl.pri) -qtConfig(animation): include(animation/animation.pri) -include(itemmodels/itemmodels.pri) -include(vulkan/vulkan.pri) -include(platform/platform.pri) -include(rhi/rhi.pri) - -QMAKE_LIBS += $$QMAKE_LIBS_GUI - -load(qt_module) -load(cmake_functions) - -win32: { - CMAKE_WINDOWS_BUILD = True - QMAKE_USE_PRIVATE += shell32 -} - -qtConfig(egl) { - CMAKE_EGL_LIBS = $$cmakeProcessLibs($$QMAKE_LIBS_EGL) - !isEmpty(QMAKE_LIBDIR_EGL): CMAKE_EGL_LIBDIR += $$cmakeTargetPath($$QMAKE_LIBDIR_EGL) -} - -qtConfig(opengles2) { - !isEmpty(QMAKE_INCDIR_OPENGL_ES2): CMAKE_GL_INCDIRS = $$cmakeTargetPaths($$QMAKE_INCDIR_OPENGL_ES2) - CMAKE_OPENGL_INCDIRS = $$cmakePortablePaths($$QMAKE_INCDIR_OPENGL_ES2) - CMAKE_OPENGL_LIBS = $$cmakeProcessLibs($$QMAKE_LIBS_OPENGL_ES2) - !isEmpty(QMAKE_LIBDIR_OPENGL_ES2): CMAKE_OPENGL_LIBDIR = $$cmakePortablePaths($$QMAKE_LIBDIR_OPENGL_ES2) - CMAKE_GL_HEADER_NAME = GLES2/gl2.h - CMAKE_QT_OPENGL_IMPLEMENTATION = GLESv2 -} else: qtConfig(opengl) { - !isEmpty(QMAKE_INCDIR_OPENGL): CMAKE_GL_INCDIRS = $$cmakeTargetPaths($$QMAKE_INCDIR_OPENGL) - CMAKE_OPENGL_INCDIRS = $$cmakePortablePaths($$QMAKE_INCDIR_OPENGL) - !qtConfig(dynamicgl): CMAKE_OPENGL_LIBS = $$cmakeProcessLibs($$QMAKE_LIBS_OPENGL) - !isEmpty(QMAKE_LIBDIR_OPENGL): CMAKE_OPENGL_LIBDIR = $$cmakePortablePaths($$QMAKE_LIBDIR_OPENGL) - CMAKE_GL_HEADER_NAME = GL/gl.h - mac: CMAKE_GL_HEADER_NAME = gl.h - CMAKE_QT_OPENGL_IMPLEMENTATION = GL -} - -qtConfig(egl): CMAKE_EGL_INCDIRS = $$cmakePortablePaths($$QMAKE_INCDIR_EGL) - -QMAKE_DYNAMIC_LIST_FILE = $$PWD/QtGui.dynlist - -TRACEPOINT_PROVIDER = $$PWD/qtgui.tracepoints -CONFIG += qt_tracepoints metatypes install_metatypes diff --git a/src/gui/image/image.pri b/src/gui/image/image.pri deleted file mode 100644 index f503c97b82..0000000000 --- a/src/gui/image/image.pri +++ /dev/null @@ -1,107 +0,0 @@ -# -*-mode:sh-*- -# Qt image handling - -# Qt kernel module - -HEADERS += \ - image/qbitmap.h \ - image/qimage.h \ - image/qimage_p.h \ - image/qimageiohandler.h \ - image/qimagereader.h \ - image/qimagereaderwriterhelpers_p.h \ - image/qimagewriter.h \ - image/qpaintengine_pic_p.h \ - image/qpicture.h \ - image/qpicture_p.h \ - image/qpixmap.h \ - image/qpixmap_raster_p.h \ - image/qpixmap_blitter_p.h \ - image/qpixmapcache.h \ - image/qpixmapcache_p.h \ - image/qplatformpixmap.h \ - image/qimagepixmapcleanuphooks_p.h \ - image/qicon.h \ - image/qicon_p.h \ - image/qiconloader_p.h \ - image/qiconengine.h \ - image/qiconengineplugin.h \ - image/qabstractfileiconengine_p.h \ - image/qabstractfileiconprovider.h \ - image/qabstractfileiconprovider_p.h - -SOURCES += \ - image/qbitmap.cpp \ - image/qimage.cpp \ - image/qimage_conversions.cpp \ - image/qimageiohandler.cpp \ - image/qimagereader.cpp \ - image/qimagereaderwriterhelpers.cpp \ - image/qimagewriter.cpp \ - image/qpaintengine_pic.cpp \ - image/qpicture.cpp \ - image/qpixmap.cpp \ - image/qpixmapcache.cpp \ - image/qplatformpixmap.cpp \ - image/qpixmap_raster.cpp \ - image/qpixmap_blitter.cpp \ - image/qimagepixmapcleanuphooks.cpp \ - image/qicon.cpp \ - image/qiconloader.cpp \ - image/qiconengine.cpp \ - image/qiconengineplugin.cpp \ - image/qabstractfileiconengine.cpp \ - image/qabstractfileiconprovider.cpp - -qtConfig(movie) { - HEADERS += image/qmovie.h - SOURCES += image/qmovie.cpp -} - -win32: SOURCES += image/qpixmap_win.cpp - -darwin: OBJECTIVE_SOURCES += image/qimage_darwin.mm - -# Built-in image format support -HEADERS += \ - image/qbmphandler_p.h \ - image/qppmhandler_p.h \ - image/qxbmhandler_p.h \ - image/qxpmhandler_p.h - -SOURCES += \ - image/qbmphandler.cpp \ - image/qppmhandler.cpp \ - image/qxbmhandler.cpp \ - image/qxpmhandler.cpp - -qtConfig(png) { - HEADERS += image/qpnghandler_p.h - SOURCES += image/qpnghandler.cpp - QMAKE_USE_PRIVATE += libpng - - win32:mingw { - # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86048 - GCC_VERSION = "$${QMAKE_GCC_MAJOR_VERSION}.$${QMAKE_GCC_MINOR_VERSION}.$${QMAKE_GCC_PATCH_VERSION}" - equals(GCC_VERSION, "8.1.0") { - QMAKE_CXXFLAGS += -fno-reorder-blocks-and-partition - } - } -} - -# SIMD -!android { - SSSE3_SOURCES += image/qimage_ssse3.cpp - NEON_SOURCES += image/qimage_neon.cpp - MIPS_DSPR2_SOURCES += image/qimage_mips_dspr2.cpp - MIPS_DSPR2_ASM += image/qimage_mips_dspr2_asm.S -} else { - # see https://developer.android.com/ndk/guides/abis - arm64-v8a | armeabi-v7a { - SOURCES += image/qimage_neon.cpp - } - x86 | x86_64 { - DEFINES += QT_COMPILER_SUPPORTS_SSE2 QT_COMPILER_SUPPORTS_SSE3 QT_COMPILER_SUPPORTS_SSSE3 - SOURCES += image/qimage_ssse3.cpp - } -} diff --git a/src/gui/image/qpnghandler.pri b/src/gui/image/qpnghandler.pri deleted file mode 100644 index e69de29bb2..0000000000 --- a/src/gui/image/qpnghandler.pri +++ /dev/null diff --git a/src/gui/itemmodels/itemmodels.pri b/src/gui/itemmodels/itemmodels.pri deleted file mode 100644 index 4de6cc29e2..0000000000 --- a/src/gui/itemmodels/itemmodels.pri +++ /dev/null @@ -1,19 +0,0 @@ -qtConfig(standarditemmodel) { - HEADERS += \ - itemmodels/qstandarditemmodel.h \ - itemmodels/qstandarditemmodel_p.h \ - - SOURCES += \ - itemmodels/qstandarditemmodel.cpp \ -} - -qtConfig(filesystemmodel) { - HEADERS += \ - itemmodels/qfilesystemmodel.h \ - itemmodels/qfilesystemmodel_p.h \ - itemmodels/qfileinfogatherer_p.h - - SOURCES += \ - itemmodels/qfilesystemmodel.cpp \ - itemmodels/qfileinfogatherer.cpp -} diff --git a/src/gui/kernel/kernel.pri b/src/gui/kernel/kernel.pri deleted file mode 100644 index f709784e2f..0000000000 --- a/src/gui/kernel/kernel.pri +++ /dev/null @@ -1,191 +0,0 @@ -# Qt kernel module - -# Only used on platforms with CONFIG += precompile_header -PRECOMPILED_HEADER = kernel/qt_gui_pch.h - - -KERNEL_P= kernel -HEADERS += \ - kernel/qoffscreensurface_p.h \ - kernel/qoffscreensurface_platform.h \ - kernel/qtguiglobal.h \ - kernel/qtguiglobal_p.h \ - kernel/qgenericpluginfactory.h \ - kernel/qgenericplugin.h \ - kernel/qwindowsysteminterface.h \ - kernel/qwindowsysteminterface_p.h \ - kernel/qplatformintegration.h \ - kernel/qplatformscreen.h \ - kernel/qplatformscreen_p.h \ - kernel/qplatforminputcontext.h \ - kernel/qplatforminputcontext_p.h \ - kernel/qplatforminputcontextfactory_p.h \ - kernel/qplatforminputcontextplugin_p.h \ - kernel/qplatformintegrationfactory_p.h \ - kernel/qplatformintegrationplugin.h \ - kernel/qplatformtheme.h \ - kernel/qplatformtheme_p.h \ - kernel/qplatformthemefactory_p.h \ - kernel/qplatformthemeplugin.h \ - kernel/qplatformwindow.h \ - kernel/qplatformoffscreensurface.h \ - kernel/qplatformwindow_p.h \ - kernel/qplatformcursor.h \ - kernel/qplatformclipboard.h \ - kernel/qplatformnativeinterface.h \ - kernel/qplatformmenu.h \ - kernel/qplatformmenu_p.h \ - kernel/qsurfaceformat.h \ - kernel/qguiapplication.h \ - kernel/qguiapplication_p.h \ - kernel/qwindow_p.h \ - kernel/qwindow.h \ - kernel/qoffscreensurface.h \ - kernel/qplatformsurface.h \ - kernel/qsurface.h \ - kernel/qclipboard.h \ - kernel/qcursor.h \ - kernel/qcursor_p.h \ - kernel/qevent.h \ - kernel/qevent_p.h \ - kernel/qeventpoint.h \ - kernel/qeventpoint_p.h \ - kernel/qinputdevice.h \ - kernel/qinputdevice_p.h \ - kernel/qinputmethod.h \ - kernel/qinputmethod_p.h \ - kernel/qinternalmimedata_p.h \ - kernel/qkeymapper_p.h \ - kernel/qpalette.h \ - kernel/qsessionmanager.h \ - kernel/qsessionmanager_p.h \ - kernel/qwindowdefs.h \ - kernel/qscreen.h \ - kernel/qscreen_p.h \ - kernel/qstylehints.h \ - kernel/qpointingdevice.h \ - kernel/qpointingdevice_p.h \ - kernel/qplatformsharedgraphicscache.h \ - kernel/qplatformdialoghelper.h \ - kernel/qplatformservices.h \ - kernel/qplatformsystemtrayicon.h \ - kernel/qplatformsessionmanager.h \ - kernel/qpixelformat.h \ - kernel/qpaintdevicewindow.h \ - kernel/qpaintdevicewindow_p.h \ - kernel/qrasterwindow.h \ - kernel/qplatformgraphicsbuffer.h \ - kernel/qplatformgraphicsbufferhelper.h \ - kernel/qinputdevicemanager_p.h \ - kernel/qinputdevicemanager_p_p.h \ - kernel/qhighdpiscaling_p.h \ - kernel/qtestsupport_gui.h - -SOURCES += \ - kernel/qgenericpluginfactory.cpp \ - kernel/qgenericplugin.cpp \ - kernel/qwindowsysteminterface.cpp \ - kernel/qplatforminputcontextfactory.cpp \ - kernel/qplatforminputcontextplugin.cpp \ - kernel/qplatforminputcontext.cpp \ - kernel/qplatformintegration.cpp \ - kernel/qplatformscreen.cpp \ - kernel/qplatformintegrationfactory.cpp \ - kernel/qplatformintegrationplugin.cpp \ - kernel/qplatformtheme.cpp \ - kernel/qplatformthemefactory.cpp \ - kernel/qplatformthemeplugin.cpp \ - kernel/qplatformwindow.cpp \ - kernel/qplatformoffscreensurface.cpp \ - kernel/qplatformcursor.cpp \ - kernel/qplatformclipboard.cpp \ - kernel/qplatformnativeinterface.cpp \ - kernel/qsessionmanager.cpp \ - kernel/qsurfaceformat.cpp \ - kernel/qguiapplication.cpp \ - kernel/qwindow.cpp \ - kernel/qoffscreensurface.cpp \ - kernel/qplatformsurface.cpp \ - kernel/qsurface.cpp \ - kernel/qclipboard.cpp \ - kernel/qcursor.cpp \ - kernel/qevent.cpp \ - kernel/qeventpoint.cpp \ - kernel/qinputdevice.cpp \ - kernel/qinputmethod.cpp \ - kernel/qinternalmimedata.cpp \ - kernel/qkeymapper.cpp \ - kernel/qpalette.cpp \ - kernel/qguivariant.cpp \ - kernel/qscreen.cpp \ - kernel/qstylehints.cpp \ - kernel/qpointingdevice.cpp \ - kernel/qplatformsharedgraphicscache.cpp \ - kernel/qplatformdialoghelper.cpp \ - kernel/qplatformservices.cpp \ - kernel/qplatformsystemtrayicon.cpp \ - kernel/qplatformsessionmanager.cpp \ - kernel/qplatformmenu.cpp \ - kernel/qpixelformat.cpp \ - kernel/qpaintdevicewindow.cpp \ - kernel/qrasterwindow.cpp \ - kernel/qplatformgraphicsbuffer.cpp \ - kernel/qplatformgraphicsbufferhelper.cpp \ - kernel/qinputdevicemanager.cpp \ - kernel/qhighdpiscaling.cpp \ - kernel/qtestsupport_gui.cpp - -qtConfig(action) { - HEADERS += \ - kernel/qaction.h \ - kernel/qaction_p.h \ - kernel/qactiongroup.h \ - kernel/qactiongroup_p.h - - SOURCES += \ - kernel/qactiongroup.cpp \ - kernel/qaction.cpp -} - -qtConfig(draganddrop) { - HEADERS += \ - kernel/qdnd_p.h \ - kernel/qdrag.h \ - kernel/qplatformdrag.h \ - kernel/qshapedpixmapdndwindow_p.h \ - kernel/qsimpledrag_p.h - - SOURCES += \ - kernel/qdnd.cpp \ - kernel/qdrag.cpp \ - kernel/qplatformdrag.cpp \ - kernel/qshapedpixmapdndwindow.cpp \ - kernel/qsimpledrag.cpp -} - -qtConfig(opengl) { - HEADERS += \ - kernel/qplatformopenglcontext.h \ - kernel/qopenglcontext.h \ - kernel/qopenglcontext_p.h \ - kernel/qopenglcontext_platform.h \ - - SOURCES += \ - kernel/qplatformopenglcontext.cpp \ - kernel/qopenglcontext.cpp -} - -qtConfig(shortcut) { - HEADERS += \ - kernel/qshortcut.h \ - kernel/qshortcut_p.h \ - kernel/qshortcutmap_p.h \ - kernel/qkeysequence.h \ - kernel/qkeysequence_p.h - SOURCES += \ - kernel/qshortcut.cpp \ - kernel/qshortcutmap.cpp \ - kernel/qkeysequence.cpp -} - -win32:HEADERS+=kernel/qwindowdefs_win.h diff --git a/src/gui/math3d/math3d.pri b/src/gui/math3d/math3d.pri deleted file mode 100644 index 0cbc3db0e1..0000000000 --- a/src/gui/math3d/math3d.pri +++ /dev/null @@ -1,14 +0,0 @@ -HEADERS += \ - math3d/qgenericmatrix.h \ - math3d/qmatrix4x4.h \ - math3d/qquaternion.h \ - math3d/qvector2d.h \ - math3d/qvector3d.h \ - math3d/qvector4d.h \ - math3d/qvectornd.h \ - -SOURCES += \ - math3d/qgenericmatrix.cpp \ - math3d/qmatrix4x4.cpp \ - math3d/qquaternion.cpp \ - math3d/qvectornd.cpp \ diff --git a/src/gui/opengl/opengl.pri b/src/gui/opengl/opengl.pri deleted file mode 100644 index 61f333ec69..0000000000 --- a/src/gui/opengl/opengl.pri +++ /dev/null @@ -1,19 +0,0 @@ -# Qt gui library, opengl module - -qtConfig(opengl): CONFIG += opengl -qtConfig(opengles2): CONFIG += opengles2 - -qtConfig(opengl) { - HEADERS += opengl/qopengl.h \ - opengl/qopengl_p.h \ - opengl/qopenglfunctions.h \ - opengl/qopenglextensions_p.h \ - opengl/qopenglextrafunctions.h \ - opengl/qopenglprogrambinarycache_p.h - - SOURCES += opengl/qopengl.cpp \ - opengl/qopenglfunctions.cpp \ - opengl/qopenglprogrambinarycache.cpp -} - -include(platform/platform.pri) diff --git a/src/gui/opengl/platform/egl/egl.pri b/src/gui/opengl/platform/egl/egl.pri deleted file mode 100644 index 78d3cc2e54..0000000000 --- a/src/gui/opengl/platform/egl/egl.pri +++ /dev/null @@ -1,32 +0,0 @@ -HEADERS += \ - opengl/platform/egl/qeglconvenience_p.h \ - opengl/platform/egl/qeglstreamconvenience_p.h \ - opengl/platform/egl/qt_egl_p.h - -SOURCES += \ - opengl/platform/egl/qeglconvenience.cpp \ - opengl/platform/egl/qeglstreamconvenience.cpp - -qtConfig(opengl) { - HEADERS += \ - opengl/platform/egl/qeglplatformcontext_p.h \ - opengl/platform/egl/qeglpbuffer_p.h - - SOURCES += \ - opengl/platform/egl/qeglplatformcontext.cpp \ - opengl/platform/egl/qeglpbuffer.cpp -} - -qtConfig(egl_x11) { - HEADERS += \ - opengl/platform/egl/qxlibeglintegration_p.h - SOURCES += \ - opengl/platform/egl/qxlibeglintegration.cpp - QMAKE_USE_PRIVATE += xlib -} else { - # Avoid X11 header collision, use generic EGL native types - DEFINES += QT_EGL_NO_X11 -} -CONFIG += egl - -qtConfig(dlopen): QMAKE_USE_PRIVATE += libdl diff --git a/src/gui/opengl/platform/platform.pri b/src/gui/opengl/platform/platform.pri deleted file mode 100644 index 193bd9e59b..0000000000 --- a/src/gui/opengl/platform/platform.pri +++ /dev/null @@ -1,4 +0,0 @@ -qtConfig(xlib):qtConfig(opengl):!qtConfig(opengles2): \ - include(unix/unix.pri) -qtConfig(egl): \ - include(egl/egl.pri) diff --git a/src/gui/opengl/platform/unix/unix.pri b/src/gui/opengl/platform/unix/unix.pri deleted file mode 100644 index 6365a18756..0000000000 --- a/src/gui/opengl/platform/unix/unix.pri +++ /dev/null @@ -1,7 +0,0 @@ -HEADERS += \ - opengl/platform/unix/qglxconvenience_p.h - -SOURCES += \ - opengl/platform/unix/qglxconvenience.cpp - -QMAKE_USE_PRIVATE += xlib diff --git a/src/gui/painting/painting.pri b/src/gui/painting/painting.pri deleted file mode 100644 index 1262b1775c..0000000000 --- a/src/gui/painting/painting.pri +++ /dev/null @@ -1,176 +0,0 @@ -# Qt gui library, paint module - -HEADERS += \ - painting/qbackingstore.h \ - painting/qbezier_p.h \ - painting/qblendfunctions_p.h \ - painting/qblittable_p.h \ - painting/qbrush.h \ - painting/qcolor.h \ - painting/qcolor_p.h \ - painting/qcolormatrix_p.h \ - painting/qcolorspace.h \ - painting/qcolorspace_p.h \ - painting/qcolortransferfunction_p.h \ - painting/qcolortransfertable_p.h \ - painting/qcolortransform.h \ - painting/qcolortransform_p.h \ - painting/qcolortrc_p.h \ - painting/qcolortrclut_p.h \ - painting/qcosmeticstroker_p.h \ - painting/qdatabuffer_p.h \ - painting/qdrawhelper_p.h \ - painting/qdrawhelper_x86_p.h \ - painting/qdrawingprimitive_sse2_p.h \ - painting/qemulationpaintengine_p.h \ - painting/qfixed_p.h \ - painting/qgrayraster_p.h \ - painting/qicc_p.h \ - painting/qmemrotate_p.h \ - painting/qoutlinemapper_p.h \ - painting/qpagedpaintdevice.h \ - painting/qpagedpaintdevice_p.h \ - painting/qpagelayout.h \ - painting/qpageranges.h \ - painting/qpageranges_p.h \ - painting/qpagesize.h \ - painting/qpaintdevice.h \ - painting/qpaintengine.h \ - painting/qpaintengine_p.h \ - painting/qpaintengineex_p.h \ - painting/qpaintengine_blitter_p.h \ - painting/qpaintengine_raster_p.h \ - painting/qpainter.h \ - painting/qpainter_p.h \ - painting/qpainterpath.h \ - painting/qpainterpath_p.h \ - painting/qvectorpath_p.h \ - painting/qpathclipper_p.h \ - painting/qpdf_p.h \ - painting/qpdfwriter.h \ - painting/qpen.h \ - painting/qpixellayout_p.h \ - painting/qpolygon.h \ - painting/qrasterdefs_p.h \ - painting/qrasterizer_p.h \ - painting/qrbtree_p.h \ - painting/qregion.h \ - painting/qrgb.h \ - painting/qrgba64.h \ - painting/qrgba64_p.h \ - painting/qstroker_p.h \ - painting/qtextureglyphcache_p.h \ - painting/qtransform.h \ - painting/qtriangulatingstroker_p.h \ - painting/qtriangulator_p.h \ - painting/qplatformbackingstore.h \ - painting/qpathsimplifier_p.h - - -SOURCES += \ - painting/qbackingstore.cpp \ - painting/qbezier.cpp \ - painting/qblendfunctions.cpp \ - painting/qblittable.cpp \ - painting/qbrush.cpp \ - painting/qcolor.cpp \ - painting/qcolorspace.cpp \ - painting/qcolortransform.cpp \ - painting/qcolortrclut.cpp \ - painting/qcompositionfunctions.cpp \ - painting/qcosmeticstroker.cpp \ - painting/qdrawhelper.cpp \ - painting/qemulationpaintengine.cpp \ - painting/qgrayraster.c \ - painting/qicc.cpp \ - painting/qimagescale.cpp \ - painting/qmemrotate.cpp \ - painting/qoutlinemapper.cpp \ - painting/qpagedpaintdevice.cpp \ - painting/qpagelayout.cpp \ - painting/qpageranges.cpp \ - painting/qpagesize.cpp \ - painting/qpaintdevice.cpp \ - painting/qpaintengine.cpp \ - painting/qpaintengineex.cpp \ - painting/qpaintengine_blitter.cpp \ - painting/qpaintengine_raster.cpp \ - painting/qpainter.cpp \ - painting/qpainterpath.cpp \ - painting/qpathclipper.cpp \ - painting/qpdf.cpp \ - painting/qpdfwriter.cpp \ - painting/qpen.cpp \ - painting/qpixellayout.cpp \ - painting/qpolygon.cpp \ - painting/qrasterizer.cpp \ - painting/qregion.cpp \ - painting/qstroker.cpp \ - painting/qtextureglyphcache.cpp \ - painting/qtransform.cpp \ - painting/qtriangulatingstroker.cpp \ - painting/qtriangulator.cpp \ - painting/qplatformbackingstore.cpp \ - painting/qpathsimplifier.cpp - -RESOURCES += \ - painting/qpdf.qrc \ - -darwin { - HEADERS += \ - painting/qcoregraphics_p.h \ - painting/qrasterbackingstore_p.h - SOURCES += \ - painting/qcoregraphics.mm \ - painting/qrasterbackingstore.cpp -} - -qtConfig(cssparser) { - SOURCES += \ - painting/qcssutil.cpp -} - -# Causes internal compiler errors with at least GCC 5.3.1: -gcc:equals(QT_GCC_MAJOR_VERSION, 5) { - SOURCES -= painting/qdrawhelper.cpp - NO_PCH_SOURCES += painting/qdrawhelper.cpp -} - -!android { - SSE2_SOURCES += painting/qdrawhelper_sse2.cpp - SSSE3_SOURCES += painting/qdrawhelper_ssse3.cpp - SSE4_1_SOURCES += painting/qdrawhelper_sse4.cpp \ - painting/qimagescale_sse4.cpp - ARCH_HASWELL_SOURCES += painting/qdrawhelper_avx2.cpp - - NEON_SOURCES += painting/qdrawhelper_neon.cpp painting/qimagescale_neon.cpp - NEON_HEADERS += painting/qdrawhelper_neon_p.h -} -!uikit:!win32:contains(QT_ARCH, "arm"): CONFIG += no_clang_integrated_as -!android:!uikit:!win32:!integrity:!contains(QT_ARCH, "arm64") { - NEON_ASM += ../3rdparty/pixman/pixman-arm-neon-asm.S painting/qdrawhelper_neon_asm.S - DEFINES += ENABLE_PIXMAN_DRAWHELPERS -} - -!android { - MIPS_DSP_SOURCES += painting/qdrawhelper_mips_dsp.cpp - MIPS_DSP_HEADERS += painting/qdrawhelper_mips_dsp_p.h painting/qt_mips_asm_dsp_p.h - MIPS_DSP_ASM += painting/qdrawhelper_mips_dsp_asm.S - MIPS_DSPR2_ASM += painting/qdrawhelper_mips_dspr2_asm.S -} else { - # see https://developer.android.com/ndk/guides/abis - x86 | x86_64 { - DEFINES += QT_COMPILER_SUPPORTS_SSE2 QT_COMPILER_SUPPORTS_SSE3 QT_COMPILER_SUPPORTS_SSSE3 - SOURCES += painting/qdrawhelper_sse2.cpp painting/qdrawhelper_ssse3.cpp - } - x86_64 { - DEFINES += QT_COMPILER_SUPPORTS_SSE4_1 QT_COMPILER_SUPPORTS_SSE4_2 - SOURCES += painting/qdrawhelper_sse4.cpp painting/qimagescale_sse4.cpp - } - arm64-v8a | armeabi-v7a { - SOURCES += painting/qdrawhelper_neon.cpp painting/qimagescale_neon.cpp - HEADERS += painting/qdrawhelper_neon_p.h - } -} - -include($$PWD/../../3rdparty/zlib_dependency.pri) diff --git a/src/gui/platform/android/android.pri b/src/gui/platform/android/android.pri deleted file mode 100644 index f60cae1011..0000000000 --- a/src/gui/platform/android/android.pri +++ /dev/null @@ -1 +0,0 @@ -SOURCES += $$PWD/qandroidnativeinterface.cpp diff --git a/src/gui/platform/darwin/darwin.pri b/src/gui/platform/darwin/darwin.pri deleted file mode 100644 index c8d26c997b..0000000000 --- a/src/gui/platform/darwin/darwin.pri +++ /dev/null @@ -1,4 +0,0 @@ -HEADERS += $$PWD/qmacmime_p.h -SOURCES += $$PWD/qmacmime.mm -LIBS += -framework ImageIO -macos: LIBS_PRIVATE += -framework AppKit diff --git a/src/gui/platform/macos/macos.pri b/src/gui/platform/macos/macos.pri deleted file mode 100644 index 1931507427..0000000000 --- a/src/gui/platform/macos/macos.pri +++ /dev/null @@ -1,4 +0,0 @@ -SOURCES += \ - $$PWD/qcocoanativeinterface.mm - -LIBS_PRIVATE += -framework AppKit diff --git a/src/gui/platform/platform.pri b/src/gui/platform/platform.pri deleted file mode 100644 index 6240069f09..0000000000 --- a/src/gui/platform/platform.pri +++ /dev/null @@ -1,6 +0,0 @@ -wasm:include(wasm/wasm.pri) -darwin:include(darwin/darwin.pri) -win32:include(windows/windows.pri) -unix:include(unix/unix.pri) -macos:include(macos/macos.pri) -android:include(android/android.pri) diff --git a/src/gui/platform/unix/dbusmenu/dbusmenu.pri b/src/gui/platform/unix/dbusmenu/dbusmenu.pri deleted file mode 100644 index c328f23144..0000000000 --- a/src/gui/platform/unix/dbusmenu/dbusmenu.pri +++ /dev/null @@ -1,15 +0,0 @@ -HEADERS += \ - platform/unix/dbusmenu/qdbusmenuadaptor_p.h \ - platform/unix/dbusmenu/qdbusmenutypes_p.h \ - platform/unix/dbusmenu/qdbusmenuconnection_p.h \ - platform/unix/dbusmenu/qdbusmenubar_p.h \ - platform/unix/dbusmenu/qdbusmenuregistrarproxy_p.h \ - platform/unix/dbusmenu/qdbusplatformmenu_p.h - -SOURCES += \ - platform/unix/dbusmenu/qdbusmenuadaptor.cpp \ - platform/unix/dbusmenu/qdbusmenutypes.cpp \ - platform/unix/dbusmenu/qdbusmenuconnection.cpp \ - platform/unix/dbusmenu/qdbusmenubar.cpp \ - platform/unix/dbusmenu/qdbusmenuregistrarproxy.cpp \ - platform/unix/dbusmenu/qdbusplatformmenu.cpp diff --git a/src/gui/platform/unix/dbustray/dbustray.pri b/src/gui/platform/unix/dbustray/dbustray.pri deleted file mode 100644 index cc5b40ef42..0000000000 --- a/src/gui/platform/unix/dbustray/dbustray.pri +++ /dev/null @@ -1,11 +0,0 @@ -HEADERS += \ - platform/unix/dbustray/qdbustrayicon_p.h \ - platform/unix/dbustray/qdbustraytypes_p.h \ - platform/unix/dbustray/qstatusnotifieritemadaptor_p.h \ - platform/unix/dbustray/qxdgnotificationproxy_p.h - -SOURCES += \ - platform/unix/dbustray/qdbustrayicon.cpp \ - platform/unix/dbustray/qdbustraytypes.cpp \ - platform/unix/dbustray/qstatusnotifieritemadaptor.cpp \ - platform/unix/dbustray/qxdgnotificationproxy.cpp diff --git a/src/gui/platform/unix/unix.pri b/src/gui/platform/unix/unix.pri deleted file mode 100644 index 0e320650fd..0000000000 --- a/src/gui/platform/unix/unix.pri +++ /dev/null @@ -1,45 +0,0 @@ -SOURCES += \ - platform/unix/qunixeventdispatcher.cpp \ - platform/unix/qgenericunixeventdispatcher.cpp \ - platform/unix/qunixnativeinterface.cpp - -HEADERS += \ - platform/unix/qunixeventdispatcher_qpa_p.h \ - platform/unix/qgenericunixeventdispatcher_p.h - - -qtConfig(glib) { - SOURCES += platform/unix/qeventdispatcher_glib.cpp - HEADERS += platform/unix/qeventdispatcher_glib_p.h - QMAKE_USE_PRIVATE += glib -} - -if(unix:!uikit)|qtConfig(xcb) { - SOURCES += \ - platform/unix/qgenericunixservices.cpp - HEADERS += \ - platform/unix/qgenericunixservices_p.h - - qtHaveModule(dbus): QT_PRIVATE += dbus -} - -if(unix:!uikit:!macos)|qtConfig(xcb) { - SOURCES += \ - platform/unix/qgenericunixthemes.cpp - HEADERS += \ - platform/unix/qgenericunixthemes_p.h - - qtHaveModule(dbus) { - include(dbusmenu/dbusmenu.pri) - qtConfig(systemtrayicon): include(dbustray/dbustray.pri) - } -} - -qtConfig(xkbcommon) { - SOURCES += \ - platform/unix/qxkbcommon_3rdparty.cpp \ - platform/unix/qxkbcommon.cpp - HEADERS += \ - platform/unix/qxkbcommon_p.h - QMAKE_USE_PRIVATE += xkbcommon -} diff --git a/src/gui/platform/wasm/wasm.pri b/src/gui/platform/wasm/wasm.pri deleted file mode 100644 index 1b5d7eadb5..0000000000 --- a/src/gui/platform/wasm/wasm.pri +++ /dev/null @@ -1,3 +0,0 @@ -INCLUDEDIR += $$PWD -HEADERS += $$PWD/qwasmlocalfileaccess_p.h -SOURCES += $$PWD/qwasmlocalfileaccess.cpp diff --git a/src/gui/platform/windows/windows.pri b/src/gui/platform/windows/windows.pri deleted file mode 100644 index 9155362d1d..0000000000 --- a/src/gui/platform/windows/windows.pri +++ /dev/null @@ -1,7 +0,0 @@ -HEADERS += \ - platform/windows/qwindowsguieventdispatcher_p.h \ - platform/windows/qwindowsmime_p.h - -SOURCES += \ - platform/windows/qwindowsguieventdispatcher.cpp \ - platform/windows/qwindowsnativeinterface.cpp diff --git a/src/gui/rhi/rhi.pri b/src/gui/rhi/rhi.pri deleted file mode 100644 index ccd9592634..0000000000 --- a/src/gui/rhi/rhi.pri +++ /dev/null @@ -1,57 +0,0 @@ -HEADERS += \ - rhi/qrhi_p.h \ - rhi/qrhi_p_p.h \ - rhi/qrhiprofiler_p.h \ - rhi/qrhiprofiler_p_p.h \ - rhi/qrhinull_p.h \ - rhi/qrhinull_p_p.h \ - rhi/qshader_p.h \ - rhi/qshader_p_p.h \ - rhi/qshaderdescription_p.h \ - rhi/qshaderdescription_p_p.h - -SOURCES += \ - rhi/qrhi.cpp \ - rhi/qrhiprofiler.cpp \ - rhi/qrhinull.cpp \ - rhi/qshaderdescription.cpp \ - rhi/qshader.cpp - -qtConfig(opengl) { - HEADERS += \ - rhi/qrhigles2_p.h \ - rhi/qrhigles2_p_p.h - SOURCES += \ - rhi/qrhigles2.cpp -} - -qtConfig(vulkan) { - HEADERS += \ - rhi/qrhivulkan_p.h \ - rhi/qrhivulkan_p_p.h - SOURCES += \ - rhi/qrhivulkan.cpp -} - -win32 { - HEADERS += \ - rhi/qrhid3d11_p.h \ - rhi/qrhid3d11_p_p.h - SOURCES += \ - rhi/qrhid3d11.cpp - - LIBS += -ld3d11 -ldxgi -ldxguid -} - -macos|ios { - HEADERS += \ - rhi/qrhimetal_p.h \ - rhi/qrhimetal_p_p.h - SOURCES += \ - rhi/qrhimetal.mm - - macos: LIBS += -framework AppKit - LIBS += -framework Metal -} - -include($$PWD/../../3rdparty/VulkanMemoryAllocator.pri) diff --git a/src/gui/text/coretext/coretext.pri b/src/gui/text/coretext/coretext.pri deleted file mode 100644 index 31470ae583..0000000000 --- a/src/gui/text/coretext/coretext.pri +++ /dev/null @@ -1,19 +0,0 @@ -HEADERS += $$PWD/qcoretextfontdatabase_p.h $$PWD/qfontengine_coretext_p.h -OBJECTIVE_SOURCES += $$PWD/qfontengine_coretext.mm $$PWD/qcoretextfontdatabase.mm - -LIBS_PRIVATE += \ - -framework CoreFoundation \ - -framework CoreGraphics \ - -framework CoreText \ - -framework Foundation - -macos: \ - LIBS_PRIVATE += -framework AppKit -else: \ - LIBS_PRIVATE += -framework UIKit - -CONFIG += watchos_coretext - -qtConfig(freetype) { - QMAKE_USE_PRIVATE += freetype -} diff --git a/src/gui/text/freetype/freetype.pri b/src/gui/text/freetype/freetype.pri deleted file mode 100644 index 7bda687ef4..0000000000 --- a/src/gui/text/freetype/freetype.pri +++ /dev/null @@ -1,9 +0,0 @@ -HEADERS += \ - $$PWD/qfreetypefontdatabase_p.h \ - $$PWD/qfontengine_ft_p.h - -SOURCES += \ - $$PWD/qfreetypefontdatabase.cpp \ - $$PWD/qfontengine_ft.cpp - -QMAKE_USE_PRIVATE += freetype diff --git a/src/gui/text/text.pri b/src/gui/text/text.pri deleted file mode 100644 index 4c927a876b..0000000000 --- a/src/gui/text/text.pri +++ /dev/null @@ -1,139 +0,0 @@ -# Qt kernel module - -HEADERS += \ - text/qfont.h \ - text/qfontdatabase.h \ - text/qfontdatabase_p.h \ - text/qfontengine_p.h \ - text/qfontengineglyphcache_p.h \ - text/qfontinfo.h \ - text/qfontmetrics.h \ - text/qfont_p.h \ - text/qfontsubset_p.h \ - text/qtextengine_p.h \ - text/qtextlayout.h \ - text/qtextformat.h \ - text/qtextformat_p.h \ - text/qtextobject.h \ - text/qtextobject_p.h \ - text/qtextoption.h \ - text/qfragmentmap_p.h \ - text/qtextdocument.h \ - text/qtextdocument_p.h \ - text/qtexthtmlparser_p.h \ - text/qabstracttextdocumentlayout.h \ - text/qabstracttextdocumentlayout_p.h \ - text/qtextdocumentlayout_p.h \ - text/qtextcursor.h \ - text/qtextcursor_p.h \ - text/qtextdocumentfragment.h \ - text/qtextdocumentfragment_p.h \ - text/qtextimagehandler_p.h \ - text/qtexttable.h \ - text/qtextlist.h \ - text/qsyntaxhighlighter.h \ - text/qtextdocumentwriter.h \ - text/qtexttable_p.h \ - text/qstatictext_p.h \ - text/qstatictext.h \ - text/qrawfont.h \ - text/qrawfont_p.h \ - text/qglyphrun.h \ - text/qglyphrun_p.h \ - text/qdistancefield_p.h \ - text/qinputcontrol_p.h - -SOURCES += \ - text/qfont.cpp \ - text/qfontengine.cpp \ - text/qfontengineglyphcache.cpp \ - text/qfontsubset.cpp \ - text/qfontmetrics.cpp \ - text/qfontdatabase.cpp \ - text/qtextengine.cpp \ - text/qtextlayout.cpp \ - text/qtextformat.cpp \ - text/qtextobject.cpp \ - text/qtextoption.cpp \ - text/qfragmentmap.cpp \ - text/qtextdocument.cpp \ - text/qtextdocument_p.cpp \ - text/qtexthtmlparser.cpp \ - text/qabstracttextdocumentlayout.cpp \ - text/qtextdocumentlayout.cpp \ - text/qtextcursor.cpp \ - text/qtextdocumentfragment.cpp \ - text/qtextimagehandler.cpp \ - text/qtexttable.cpp \ - text/qtextlist.cpp \ - text/qtextdocumentwriter.cpp \ - text/qsyntaxhighlighter.cpp \ - text/qstatictext.cpp \ - text/qrawfont.cpp \ - text/qglyphrun.cpp \ - text/qdistancefield.cpp \ - text/qinputcontrol.cpp - -SOURCES += \ - text/qplatformfontdatabase.cpp - -HEADERS += \ - text/qplatformfontdatabase.h - -qtConfig(harfbuzz) { - QMAKE_USE_PRIVATE += harfbuzz - - SOURCES += text/qharfbuzzng.cpp - HEADERS += text/qharfbuzzng_p.h -} - -qtConfig(textodfwriter) { - HEADERS += \ - text/qtextodfwriter_p.h \ - text/qzipreader_p.h \ - text/qzipwriter_p.h - SOURCES += \ - text/qtextodfwriter.cpp \ - text/qzip.cpp -} - -qtConfig(textmarkdownreader) { - qtConfig(system-textmarkdownreader) { - QMAKE_USE_PRIVATE += libmd4c - } else { - include($$PWD/../../3rdparty/md4c.pri) - } - HEADERS += \ - text/qtextmarkdownimporter_p.h - SOURCES += \ - text/qtextmarkdownimporter.cpp -} - -qtConfig(textmarkdownwriter) { - HEADERS += \ - text/qtextmarkdownwriter_p.h - SOURCES += \ - text/qtextmarkdownwriter.cpp -} - -qtConfig(cssparser) { - HEADERS += \ - text/qcssparser_p.h - SOURCES += \ - text/qcssparser.cpp -} - -qtConfig(freetype) { - include($$PWD/freetype/freetype.pri) - unix:!darwin { - include($$PWD/unix/unix.pri) - } -} - -darwin { - include($$PWD/coretext/coretext.pri) -} - -win32 { - include($$PWD/windows/windows.pri) -} diff --git a/src/gui/text/unix/unix.pri b/src/gui/text/unix/unix.pri deleted file mode 100644 index 538c16ecfe..0000000000 --- a/src/gui/text/unix/unix.pri +++ /dev/null @@ -1,13 +0,0 @@ -HEADERS += text/unix/qgenericunixfontdatabase_p.h - -qtConfig(fontconfig) { - HEADERS += \ - text/unix/qfontconfigdatabase_p.h \ - text/unix/qfontenginemultifontconfig_p.h - - SOURCES += \ - text/unix/qfontconfigdatabase.cpp \ - text/unix/qfontenginemultifontconfig.cpp - - QMAKE_USE_PRIVATE += fontconfig -} diff --git a/src/gui/text/windows/windows.pri b/src/gui/text/windows/windows.pri deleted file mode 100644 index 91f803d740..0000000000 --- a/src/gui/text/windows/windows.pri +++ /dev/null @@ -1,35 +0,0 @@ -SOURCES += \ - text/windows/qwindowsfontdatabase.cpp \ - text/windows/qwindowsfontdatabasebase.cpp \ - text/windows/qwindowsfontengine.cpp \ - text/windows/qwindowsnativeimage.cpp - -HEADERS += \ - text/windows/qwindowsfontdatabase_p.h \ - text/windows/qwindowsfontdatabasebase_p.h \ - text/windows/qwindowsfontengine_p.h \ - text/windows/qwindowsnativeimage_p.h - -qtConfig(freetype) { - SOURCES += text/windows/qwindowsfontdatabase_ft.cpp - HEADERS += text/windows/qwindowsfontdatabase_ft_p.h - QMAKE_USE_PRIVATE += freetype -} - -qtConfig(directwrite):qtConfig(direct2d) { - qtConfig(directwrite3) { - QMAKE_USE_PRIVATE += dwrite_3 - - SOURCES += text/windows/qwindowsdirectwritefontdatabase.cpp - HEADERS += text/windows/qwindowsdirectwritefontdatabase_p.h - } else { - QMAKE_USE_PRIVATE += dwrite_2 - } - QMAKE_USE_PRIVATE += d2d1 - - SOURCES += text/windows/qwindowsfontenginedirectwrite.cpp - HEADERS += text/windows/qwindowsfontenginedirectwrite_p.h -} - -QMAKE_USE_PRIVATE += advapi32 ole32 user32 gdi32 -mingw: QMAKE_USE_PRIVATE += uuid diff --git a/src/gui/util/util.pri b/src/gui/util/util.pri deleted file mode 100644 index 31a243c23f..0000000000 --- a/src/gui/util/util.pri +++ /dev/null @@ -1,64 +0,0 @@ -# Qt util module - -HEADERS += \ - util/qdesktopservices.h \ - util/qedidparser_p.h \ - util/qedidvendortable_p.h \ - util/qhexstring_p.h \ - util/qvalidator.h \ - util/qgridlayoutengine_p.h \ - util/qabstractlayoutstyleinfo_p.h \ - util/qlayoutpolicy_p.h \ - util/qshaderformat_p.h \ - util/qshadergraph_p.h \ - util/qshadergraphloader_p.h \ - util/qshaderlanguage_p.h \ - util/qshadernode_p.h \ - util/qshadernodeport_p.h \ - util/qshadernodesloader_p.h \ - util/qtexturefiledata_p.h \ - util/qtexturefilereader_p.h \ - util/qtexturefilehandler_p.h \ - util/qpkmhandler_p.h \ - util/qktxhandler_p.h \ - util/qastchandler_p.h - -SOURCES += \ - util/qdesktopservices.cpp \ - util/qedidparser.cpp \ - util/qvalidator.cpp \ - util/qgridlayoutengine.cpp \ - util/qabstractlayoutstyleinfo.cpp \ - util/qlayoutpolicy.cpp \ - util/qshaderformat.cpp \ - util/qshadergraph.cpp \ - util/qshadergraphloader.cpp \ - util/qshaderlanguage.cpp \ - util/qshadernode.cpp \ - util/qshadernodeport.cpp \ - util/qshadernodesloader.cpp \ - util/qtexturefiledata.cpp \ - util/qtexturefilereader.cpp \ - util/qpkmhandler.cpp \ - util/qktxhandler.cpp \ - util/qastchandler.cpp - -qtConfig(regularexpression) { - HEADERS += \ - util/qshadergenerator_p.h - SOURCES += \ - util/qshadergenerator.cpp -} - -qtConfig(undocommand) { - HEADERS += \ - util/qundostack.h \ - util/qundostack_p.h - - SOURCES += util/qundostack.cpp -} - -qtConfig(undogroup) { - HEADERS += util/qundogroup.h - SOURCES += util/qundogroup.cpp -} diff --git a/src/gui/vulkan/vulkan.pri b/src/gui/vulkan/vulkan.pri deleted file mode 100644 index 3ac3b8edc3..0000000000 --- a/src/gui/vulkan/vulkan.pri +++ /dev/null @@ -1,63 +0,0 @@ -qtConfig(vulkan) { - CONFIG += generated_privates - - HEADERS += \ - vulkan/qvulkaninstance.h \ - vulkan/qplatformvulkaninstance.h \ - vulkan/qvulkanwindow.h \ - vulkan/qvulkanwindow_p.h \ - vulkan/qbasicvulkanplatforminstance_p.h - - SOURCES += \ - vulkan/qvulkaninstance.cpp \ - vulkan/qplatformvulkaninstance.cpp \ - vulkan/qvulkanfunctions.cpp \ - vulkan/qvulkanwindow.cpp \ - vulkan/qbasicvulkanplatforminstance.cpp - - # Applications must inherit the Vulkan header include path. - QMAKE_USE += vulkan/nolink -} - -qtConfig(vkgen) { - # Generate qvulkanfunctions.h, qvulkanfunctions_p.h, qvulkanfunctions_p.cpp - QMAKE_QVKGEN_INPUT = vulkan/vk.xml - QMAKE_QVKGEN_LICENSE_HEADER = $$QT_SOURCE_TREE/header.LGPL - qtPrepareTool(QMAKE_QVKGEN, qvkgen) - - qvkgen_h.commands = $$QMAKE_QVKGEN ${QMAKE_FILE_IN} $$shell_quote($$QMAKE_QVKGEN_LICENSE_HEADER) ${QMAKE_FILE_OUT_PATH}/${QMAKE_FILE_OUT_BASE} - qvkgen_h.output = $$OUT_PWD/vulkan/qvulkanfunctions.h - qvkgen_h.input = QMAKE_QVKGEN_INPUT - qtConfig(vulkan): \ - qvkgen_h.variable_out = HEADERS - else: \ - qvkgen_h.CONFIG += target_predeps no_link - QMAKE_EXTRA_COMPILERS += qvkgen_h - - qvkgen_ph.commands = $$escape_expand(\\n) - qvkgen_ph.output = $$OUT_PWD/vulkan/qvulkanfunctions_p.h - qvkgen_ph.input = QMAKE_QVKGEN_INPUT - qvkgen_ph.depends += $$OUT_PWD/vulkan/qvulkanfunctions.h - qtConfig(vulkan): \ - qvkgen_ph.variable_out = HEADERS - else: \ - qvkgen_ph.CONFIG += target_predeps no_link - QMAKE_EXTRA_COMPILERS += qvkgen_ph - - qvkgen_pimpl.commands = $$escape_expand(\\n) - qvkgen_pimpl.output = $$OUT_PWD/vulkan/qvulkanfunctions_p.cpp - qvkgen_pimpl.input = QMAKE_QVKGEN_INPUT - qvkgen_pimpl.depends += $$OUT_PWD/vulkan/qvulkanfunctions_p.h - qtConfig(vulkan): \ - qvkgen_pimpl.variable_out = SOURCES - else: \ - qvkgen_pimpl.CONFIG += target_predeps no_link - QMAKE_EXTRA_COMPILERS += qvkgen_pimpl -} else { - # generate dummy files to make qmake happy - write_file($$OUT_PWD/vulkan/qvulkanfunctions.h) - write_file($$OUT_PWD/vulkan/qvulkanfunctions_p.h) -} - -# Ensure qvulkanfunctions.h gets installed correctly -targ_headers.CONFIG += no_check_exist diff --git a/src/network/access/access.pri b/src/network/access/access.pri deleted file mode 100644 index d7fe0c632d..0000000000 --- a/src/network/access/access.pri +++ /dev/null @@ -1,128 +0,0 @@ -# Qt network access module - -HEADERS += \ - access/qnetworkaccessauthenticationmanager_p.h \ - access/qnetworkaccessmanager.h \ - access/qnetworkaccessmanager_p.h \ - access/qnetworkaccesscache_p.h \ - access/qnetworkaccessbackend_p.h \ - access/qnetworkaccessdebugpipebackend_p.h \ - access/qnetworkaccessfilebackend_p.h \ - access/qnetworkaccesscachebackend_p.h \ - access/qnetworkcookie.h \ - access/qnetworkcookie_p.h \ - access/qnetworkcookiejar.h \ - access/qnetworkcookiejar_p.h \ - access/qnetworkrequest.h \ - access/qnetworkrequest_p.h \ - access/qnetworkreply.h \ - access/qnetworkreply_p.h \ - access/qnetworkreplyimpl_p.h \ - access/qnetworkreplydataimpl_p.h \ - access/qnetworkreplyfileimpl_p.h \ - access/qabstractnetworkcache_p.h \ - access/qabstractnetworkcache.h \ - access/qnetworkfile_p.h \ - access/qhsts_p.h \ - access/qhstspolicy.h - -SOURCES += \ - access/qnetworkaccessauthenticationmanager.cpp \ - access/qnetworkaccessmanager.cpp \ - access/qnetworkaccesscache.cpp \ - access/qnetworkaccessbackend.cpp \ - access/qnetworkaccessdebugpipebackend.cpp \ - access/qnetworkaccessfilebackend.cpp \ - access/qnetworkaccesscachebackend.cpp \ - access/qnetworkcookie.cpp \ - access/qnetworkcookiejar.cpp \ - access/qnetworkrequest.cpp \ - access/qnetworkreply.cpp \ - access/qnetworkreplyimpl.cpp \ - access/qnetworkreplydataimpl.cpp \ - access/qnetworkreplyfileimpl.cpp \ - access/qabstractnetworkcache.cpp \ - access/qnetworkfile.cpp \ - access/qhsts.cpp \ - access/qhstspolicy.cpp - -qtConfig(networkdiskcache) { - HEADERS += \ - access/qnetworkdiskcache_p.h \ - access/qnetworkdiskcache.h - - SOURCES += access/qnetworkdiskcache.cpp -} - -qtConfig(settings) { - HEADERS += \ - access/qhstsstore_p.h - - SOURCES += \ - access/qhstsstore.cpp -} - -mac: LIBS_PRIVATE += -framework Security - -wasm { - SOURCES += \ - access/qnetworkreplywasmimpl.cpp - HEADERS += \ - access/qnetworkreplywasmimpl_p.h -} - -include($$PWD/../../3rdparty/zlib_dependency.pri) - -qtConfig(http) { - include($$PWD/http2/http2.pri) - - SOURCES += \ - access/qdecompresshelper.cpp \ - access/qabstractprotocolhandler.cpp \ - access/qhttp2protocolhandler.cpp \ - access/qhttpmultipart.cpp \ - access/qhttpnetworkconnection.cpp \ - access/qhttpnetworkconnectionchannel.cpp \ - access/qhttpnetworkheader.cpp \ - access/qhttpnetworkreply.cpp \ - access/qhttpnetworkrequest.cpp \ - access/qhttpprotocolhandler.cpp \ - access/qhttpthreaddelegate.cpp \ - access/qnetworkreplyhttpimpl.cpp \ - access/qhttp2configuration.cpp - - HEADERS += \ - access/qdecompresshelper_p.h \ - access/qabstractprotocolhandler_p.h \ - access/qhttp2protocolhandler_p.h \ - access/qhttpmultipart.h \ - access/qhttpmultipart_p.h \ - access/qhttpnetworkconnection_p.h \ - access/qhttpnetworkconnectionchannel_p.h \ - access/qhttpnetworkheader_p.h \ - access/qhttpnetworkreply_p.h \ - access/qhttpnetworkrequest_p.h \ - access/qhttpprotocolhandler_p.h \ - access/qhttpthreaddelegate_p.h \ - access/qnetworkreplyhttpimpl_p.h \ - access/qhttp2configuration.h - - qtConfig(brotli) { - QMAKE_USE_PRIVATE += brotli - } - - qtConfig(zstd) { - QMAKE_USE_PRIVATE += zstd - } -} - -wasm: { - SOURCES += \ - access/qhttpmultipart.cpp \ - access/qhttpnetworkheader.cpp - - HEADERS += \ - access/qhttpmultipart.h \ - access/qhttpmultipart_p.h \ - access/qhttpnetworkheader_p.h -} diff --git a/src/network/access/http2/http2.pri b/src/network/access/http2/http2.pri deleted file mode 100644 index e9f30aeb4a..0000000000 --- a/src/network/access/http2/http2.pri +++ /dev/null @@ -1,17 +0,0 @@ -HEADERS += \ - access/http2/bitstreams_p.h \ - access/http2/huffman_p.h \ - access/http2/hpack_p.h \ - access/http2/hpacktable_p.h \ - access/http2/http2frames_p.h \ - access/http2/http2streams_p.h \ - access/http2/http2protocol_p.h - -SOURCES += \ - access/http2/bitstreams.cpp \ - access/http2/huffman.cpp \ - access/http2/hpack.cpp \ - access/http2/hpacktable.cpp \ - access/http2/http2frames.cpp \ - access/http2/http2streams.cpp \ - access/http2/http2protocol.cpp diff --git a/src/network/android/jar/jar.pro b/src/network/android/jar/jar.pro deleted file mode 100644 index dd05da3a19..0000000000 --- a/src/network/android/jar/jar.pro +++ /dev/null @@ -1,15 +0,0 @@ -CONFIG += single_arch - -TARGET = Qt$${QT_MAJOR_VERSION}AndroidNetwork - -load(qt_build_paths) -CONFIG += java -DESTDIR = $$MODULE_BASE_OUTDIR/jar - -JAVACLASSPATH += $$PWD/src - -JAVASOURCES += $$PWD/src/org/qtproject/qt/android/network/QtNetwork.java - -# install -target.path = $$[QT_INSTALL_PREFIX]/jar -INSTALLS += target diff --git a/src/network/configure.pri b/src/network/configure.pri deleted file mode 100644 index ad4d711cba..0000000000 --- a/src/network/configure.pri +++ /dev/null @@ -1,13 +0,0 @@ -# custom tests - -defineTest(qtConfLibrary_openssl) { - eval(libs = $$getenv("OPENSSL_LIBS")) - !isEmpty(libs) { - !qtConfResolveLibs($${1}.libs, $$libs): \ - return(false) - return(true) - } - qtLog("$OPENSSL_LIBS is not set.") - return(false) -} - diff --git a/src/network/doc/snippets/network/network.pro b/src/network/doc/snippets/network/network.pro deleted file mode 100644 index 915eb1d44b..0000000000 --- a/src/network/doc/snippets/network/network.pro +++ /dev/null @@ -1,10 +0,0 @@ -TEMPLATE = lib -TARGET = network_snippet -QT = core - -#! [0] -QT += network -#! [0] - -SOURCES = \ - tcpwait.cpp diff --git a/src/network/doc/snippets/snippets.pro b/src/network/doc/snippets/snippets.pro deleted file mode 100644 index 745511da7b..0000000000 --- a/src/network/doc/snippets/snippets.pro +++ /dev/null @@ -1,9 +0,0 @@ -TEMPLATE = subdirs -TARGET = network_cppsnippets -SUBDIRS = - -contains(QT_BUILD_PARTS, tests) { - SUBDIRS += \ - network -} - diff --git a/src/network/kernel/kernel.pri b/src/network/kernel/kernel.pri deleted file mode 100644 index aa3e9df254..0000000000 --- a/src/network/kernel/kernel.pri +++ /dev/null @@ -1,95 +0,0 @@ -# Qt network kernel module - -PRECOMPILED_HEADER = ../corelib/global/qt_pch.h -INCLUDEPATH += $$PWD - -HEADERS += kernel/qtnetworkglobal.h \ - kernel/qtnetworkglobal_p.h \ - kernel/qauthenticator.h \ - kernel/qauthenticator_p.h \ - kernel/qhostaddress.h \ - kernel/qhostaddress_p.h \ - kernel/qhostinfo.h \ - kernel/qhostinfo_p.h \ - kernel/qnetworkdatagram.h \ - kernel/qnetworkdatagram_p.h \ - kernel/qnetworkinterface.h \ - kernel/qnetworkinterface_p.h \ - kernel/qnetworkinterface_unix_p.h \ - kernel/qnetworkproxy.h \ - kernel/qnetconmonitor_p.h - -SOURCES += kernel/qauthenticator.cpp \ - kernel/qhostaddress.cpp \ - kernel/qhostinfo.cpp \ - kernel/qnetworkdatagram.cpp \ - kernel/qnetworkinterface.cpp \ - kernel/qnetworkproxy.cpp - - -qtConfig(topleveldomain) { - HEADERS += kernel/qurltlds_p.h \ - kernel/qtldurl_p.h - SOURCES += kernel/qtldurl.cpp -} - -qtConfig(dnslookup) { - HEADERS += kernel/qdnslookup.h \ - kernel/qdnslookup_p.h - - SOURCES += kernel/qdnslookup.cpp -} - -unix { - !integrity:qtConfig(dnslookup): SOURCES += kernel/qdnslookup_unix.cpp - - SOURCES += kernel/qhostinfo_unix.cpp - - qtConfig(dlopen): QMAKE_USE_PRIVATE += libdl - - qtConfig(linux-netlink): SOURCES += kernel/qnetworkinterface_linux.cpp - else: SOURCES += kernel/qnetworkinterface_unix.cpp -} - -android:qtConfig(dnslookup) { - SOURCES -= kernel/qdnslookup_unix.cpp - SOURCES += kernel/qdnslookup_android.cpp -} - -win32: { - SOURCES += kernel/qhostinfo_win.cpp \ - kernel/qnetworkinterface_win.cpp - qtConfig(dnslookup): SOURCES += kernel/qdnslookup_win.cpp - LIBS_PRIVATE += -ldnsapi -liphlpapi -} - -mac { - LIBS_PRIVATE += -framework CoreFoundation - !uikit: LIBS_PRIVATE += -framework CoreServices -framework SystemConfiguration -} - -macos | ios { - OBJECTIVE_SOURCES += \ - kernel/qnetconmonitor_darwin.mm - - LIBS_PRIVATE += -framework SystemConfiguration -} else:qtConfig(netlistmgr) { - SOURCES += kernel/qnetconmonitor_win.cpp -} else { - SOURCES += kernel/qnetconmonitor_stub.cpp -} - -qtConfig(gssapi): QMAKE_USE_PRIVATE += gssapi - -uikit:HEADERS += kernel/qnetworkinterface_uikit_p.h -osx:SOURCES += kernel/qnetworkproxy_mac.cpp -else:win32: SOURCES += kernel/qnetworkproxy_win.cpp -else: qtConfig(libproxy) { - SOURCES += kernel/qnetworkproxy_libproxy.cpp - QMAKE_USE_PRIVATE += libproxy libdl -} -else:android: SOURCES += kernel/qnetworkproxy_android.cpp -else: SOURCES += kernel/qnetworkproxy_generic.cpp - -android: ANDROID_BUNDLED_JAR_DEPENDENCIES = \ - jar/Qt$${QT_MAJOR_VERSION}AndroidNetwork.jar diff --git a/src/network/network.pro b/src/network/network.pro deleted file mode 100644 index b9fbd3427f..0000000000 --- a/src/network/network.pro +++ /dev/null @@ -1,27 +0,0 @@ -TARGET = QtNetwork -QT = core-private - -DEFINES += QT_NO_USING_NAMESPACE QT_NO_FOREACH -#DEFINES += QLOCALSERVER_DEBUG QLOCALSOCKET_DEBUG -#DEFINES += QNETWORKDISKCACHE_DEBUG -#DEFINES += QSSLSOCKET_DEBUG -#DEFINES += QHOSTINFO_DEBUG -#DEFINES += QABSTRACTSOCKET_DEBUG QNATIVESOCKETENGINE_DEBUG -#DEFINES += QTCPSOCKETENGINE_DEBUG QTCPSOCKET_DEBUG QTCPSERVER_DEBUG QSSLSOCKET_DEBUG -#DEFINES += QUDPSOCKET_DEBUG QUDPSERVER_DEBUG -#DEFINES += QSCTPSOCKET_DEBUG QSCTPSERVER_DEBUG -msvc:equals(QT_ARCH, i386): QMAKE_LFLAGS += /BASE:0x64000000 - -QMAKE_DOCS = $$PWD/doc/qtnetwork.qdocconf - -MODULE_PLUGIN_TYPES = \ - networkaccessbackends - -include(access/access.pri) -include(kernel/kernel.pri) -include(socket/socket.pri) -include(ssl/ssl.pri) - -QMAKE_LIBS += $$QMAKE_LIBS_NETWORK - -load(qt_module) diff --git a/src/network/socket/socket.pri b/src/network/socket/socket.pri deleted file mode 100644 index 67325ac70f..0000000000 --- a/src/network/socket/socket.pri +++ /dev/null @@ -1,84 +0,0 @@ -# Qt network socket - -HEADERS += socket/qabstractsocketengine_p.h \ - socket/qabstractsocket.h \ - socket/qabstractsocket_p.h \ - socket/qtcpsocket.h \ - socket/qudpsocket.h \ - socket/qtcpserver.h \ - socket/qtcpsocket_p.h \ - socket/qtcpserver_p.h - -SOURCES += socket/qabstractsocketengine.cpp \ - socket/qabstractsocket.cpp \ - socket/qtcpsocket.cpp \ - socket/qudpsocket.cpp \ - socket/qtcpserver.cpp - -# SOCK5 support. - -qtConfig(socks5) { - HEADERS += \ - socket/qsocks5socketengine_p.h - SOURCES += \ - socket/qsocks5socketengine.cpp -} - -qtConfig(http) { - HEADERS += \ - socket/qhttpsocketengine_p.h - SOURCES += \ - socket/qhttpsocketengine.cpp -} - -# SCTP support. - -qtConfig(sctp) { - HEADERS += socket/qsctpserver.h \ - socket/qsctpserver_p.h \ - socket/qsctpsocket.h \ - socket/qsctpsocket_p.h - - SOURCES += socket/qsctpserver.cpp \ - socket/qsctpsocket.cpp -} - -SOURCES += socket/qnativesocketengine.cpp -HEADERS += socket/qnativesocketengine_p.h - -unix { - SOURCES += socket/qnativesocketengine_unix.cpp - HEADERS += socket/qnet_unix_p.h -} - -# Suppress deprecation warnings with moc because MS headers have -# invalid C/C++ code otherwise. -msvc: QMAKE_MOC_OPTIONS += -D_WINSOCK_DEPRECATED_NO_WARNINGS - -win32: SOURCES += socket/qnativesocketengine_win.cpp -win32: QMAKE_USE_PRIVATE += advapi32 - -qtConfig(localserver) { - HEADERS += socket/qlocalserver.h \ - socket/qlocalserver_p.h \ - socket/qlocalsocket.h \ - socket/qlocalsocket_p.h - SOURCES += socket/qlocalsocket.cpp \ - socket/qlocalserver.cpp - - integrity { - SOURCES += socket/qlocalsocket_tcp.cpp \ - socket/qlocalserver_tcp.cpp - DEFINES += QT_LOCALSOCKET_TCP - } else: unix { - SOURCES += socket/qlocalsocket_unix.cpp \ - socket/qlocalserver_unix.cpp - } else: win32 { - SOURCES += socket/qlocalsocket_win.cpp \ - socket/qlocalserver_win.cpp - } -} - -qtConfig(system-proxies) { - DEFINES += QT_USE_SYSTEM_PROXIES -} diff --git a/src/network/ssl/ssl.pri b/src/network/ssl/ssl.pri deleted file mode 100644 index c1eb3d169e..0000000000 --- a/src/network/ssl/ssl.pri +++ /dev/null @@ -1,122 +0,0 @@ -HEADERS += ssl/qasn1element_p.h \ - ssl/qssl.h \ - ssl/qssl_p.h \ - ssl/qsslcertificate.h \ - ssl/qsslcertificate_p.h \ - ssl/qsslcertificateextension.h \ - ssl/qsslcertificateextension_p.h \ - ssl/qtls_utils_p.h - -SOURCES += ssl/qasn1element.cpp \ - ssl/qssl.cpp \ - ssl/qsslcertificate.cpp \ - ssl/qsslcertificateextension.cpp - -!qtConfig(openssl): SOURCES += ssl/qsslcertificate_qt.cpp - -qtConfig(ssl) { - HEADERS += ssl/qsslconfiguration.h \ - ssl/qsslconfiguration_p.h \ - ssl/qsslcipher.h \ - ssl/qsslcipher_p.h \ - ssl/qssldiffiehellmanparameters.h \ - ssl/qssldiffiehellmanparameters_p.h \ - ssl/qsslellipticcurve.h \ - ssl/qsslerror.h \ - ssl/qsslkey.h \ - ssl/qsslkey_p.h \ - ssl/qsslsocket.h \ - ssl/qsslsocket_p.h \ - ssl/qsslpresharedkeyauthenticator.h \ - ssl/qsslpresharedkeyauthenticator_p.h \ - ssl/qocspresponse.h \ - ssl/qocspresponse_p.h - SOURCES += ssl/qsslconfiguration.cpp \ - ssl/qsslcipher.cpp \ - ssl/qssldiffiehellmanparameters.cpp \ - ssl/qsslellipticcurve.cpp \ - ssl/qsslkey_p.cpp \ - ssl/qsslerror.cpp \ - ssl/qsslsocket.cpp \ - ssl/qsslpresharedkeyauthenticator.cpp \ - ssl/qocspresponse.cpp - - qtConfig(schannel) { - HEADERS += ssl/qsslsocket_schannel_p.h - SOURCES += ssl/qsslsocket_schannel.cpp \ - ssl/qsslcertificate_schannel.cpp \ - ssl/qsslkey_schannel.cpp \ - ssl/qsslkey_qt.cpp \ - ssl/qssldiffiehellmanparameters_dummy.cpp \ - ssl/qsslellipticcurve_dummy.cpp \ - ssl/qsslsocket_qt.cpp - - LIBS_PRIVATE += "-lSecur32" "-lCrypt32" "-lbcrypt" "-lncrypt" - } - - qtConfig(securetransport) { - HEADERS += ssl/qsslsocket_mac_p.h - SOURCES += ssl/qssldiffiehellmanparameters_dummy.cpp \ - ssl/qsslkey_qt.cpp \ - ssl/qsslkey_mac.cpp \ - ssl/qsslsocket_mac_shared.cpp \ - ssl/qsslsocket_mac.cpp \ - ssl/qsslsocket_qt.cpp \ - ssl/qsslellipticcurve_dummy.cpp - } - - qtConfig(dtls) { - HEADERS += ssl/qdtls.h \ - ssl/qdtls_p.h - - SOURCES += ssl/qdtls.cpp - } - - qtConfig(openssl) { - HEADERS += ssl/qsslcontext_openssl_p.h \ - ssl/qsslsocket_openssl_p.h \ - ssl/qsslsocket_openssl_symbols_p.h - SOURCES += ssl/qsslsocket_openssl_symbols.cpp \ - ssl/qssldiffiehellmanparameters_openssl.cpp \ - ssl/qsslcertificate_openssl.cpp \ - ssl/qsslellipticcurve_openssl.cpp \ - ssl/qsslkey_openssl.cpp \ - ssl/qsslsocket_openssl.cpp \ - ssl/qsslcontext_openssl.cpp \ - - qtConfig(dtls) { - HEADERS += ssl/qdtls_openssl_p.h - SOURCES += ssl/qdtls_openssl.cpp - } - - qtConfig(ocsp): HEADERS += ssl/qocsp_p.h - - QMAKE_CXXFLAGS += -DOPENSSL_API_COMPAT=0x10100000L - - darwin:SOURCES += ssl/qsslsocket_mac_shared.cpp - - android:!android-embedded: SOURCES += ssl/qsslsocket_openssl_android.cpp - - # Add optional SSL libs - # Static linking of OpenSSL with msvc: - # - Binaries http://slproweb.com/products/Win32OpenSSL.html - # - also needs -lUser32 -lAdvapi32 -lGdi32 -lCrypt32 - # - libs in <OPENSSL_DIR>\lib\VC\static - # - configure: -openssl -openssl-linked -I <OPENSSL_DIR>\include -L <OPENSSL_DIR>\lib\VC\static OPENSSL_LIBS="-lUser32 -lAdvapi32 -lGdi32" OPENSSL_LIBS_DEBUG="-lssleay32MDd -llibeay32MDd" OPENSSL_LIBS_RELEASE="-lssleay32MD -llibeay32MD" - - qtConfig(openssl-linked): { - android { - build_pass|single_android_abi: LIBS_PRIVATE += -lssl_$${QT_ARCH} -lcrypto_$${QT_ARCH} - } else: QMAKE_USE_FOR_PRIVATE += openssl - } else: \ - QMAKE_USE_FOR_PRIVATE += openssl/nolink - win32 { - LIBS_PRIVATE += -lcrypt32 - HEADERS += ssl/qwindowscarootfetcher_p.h - SOURCES += ssl/qwindowscarootfetcher.cpp - } - } -} - -HEADERS += ssl/qpassworddigestor.h -SOURCES += ssl/qpassworddigestor.cpp diff --git a/src/opengl/doc/snippets/snippets.pro b/src/opengl/doc/snippets/snippets.pro deleted file mode 100644 index 4f7b547851..0000000000 --- a/src/opengl/doc/snippets/snippets.pro +++ /dev/null @@ -1,3 +0,0 @@ -#! [qmake_use] -QT += opengl -#! [qmake_use] diff --git a/src/opengl/opengl.pro b/src/opengl/opengl.pro deleted file mode 100644 index 0dd3d33552..0000000000 --- a/src/opengl/opengl.pro +++ /dev/null @@ -1,157 +0,0 @@ -TARGET = QtOpenGL -QT = core-private gui-private - -DEFINES += QT_NO_USING_NAMESPACE QT_NO_FOREACH - -QMAKE_DOCS = $$PWD/doc/qtopengl.qdocconf - -qtConfig(opengl): CONFIG += opengl -qtConfig(opengles2): CONFIG += opengles2 - -HEADERS += \ - qopengl2pexvertexarray_p.h \ - qopenglbuffer.h \ - qopenglcustomshaderstage_p.h \ - qopengldebug.h \ - qopenglengineshadermanager_p.h \ - qopenglengineshadersource_p.h \ - qopenglframebufferobject.h \ - qopenglframebufferobject_p.h \ - qopenglgradientcache_p.h \ - qopenglpaintdevice.h \ - qopenglpaintdevice_p.h \ - qopenglpaintengine_p.h \ - qopenglpixeltransferoptions.h \ - qopenglshadercache_p.h \ - qopenglshaderprogram.h \ - qopengltexture.h \ - qopengltexture_p.h \ - qopengltexturehelper_p.h \ - qopengltextureblitter.h \ - qopengltexturecache_p.h \ - qopengltextureglyphcache_p.h \ - qopengltextureuploader_p.h \ - qopenglversionfunctions.h \ - qopenglversionfunctions_p.h \ - qopenglversionfunctionsfactory.h \ - qopenglversionprofile.h \ - qopenglvertexarrayobject.h \ - qopenglwindow.h \ - qtopenglglobal.h \ - qplatformbackingstoreopenglsupport.h - -SOURCES += \ - qopengl2pexvertexarray.cpp \ - qopenglbuffer.cpp \ - qopenglcustomshaderstage.cpp \ - qopenglengineshadermanager.cpp \ - qopenglframebufferobject.cpp \ - qopenglgradientcache.cpp \ - qopenglpaintdevice.cpp \ - qopenglpaintengine.cpp \ - qopenglpixeltransferoptions.cpp \ - qopenglshaderprogram.cpp \ - qopengltexture.cpp \ - qopengltexturehelper.cpp \ - qopengltextureblitter.cpp \ - qopengltexturecache.cpp \ - qopengltextureglyphcache.cpp \ - qopengltextureuploader.cpp \ - qopenglversionfunctions.cpp \ - qopenglversionfunctionsfactory.cpp \ - qopenglversionprofile.cpp \ - qopenglvertexarrayobject.cpp \ - qopenglwindow.cpp \ - qopengldebug.cpp \ - qplatformbackingstoreopenglsupport.cpp - -!qtConfig(opengles2) { - HEADERS += \ - qopenglfunctions_1_0.h \ - qopenglfunctions_1_1.h \ - qopenglfunctions_1_2.h \ - qopenglfunctions_1_3.h \ - qopenglfunctions_1_4.h \ - qopenglfunctions_1_5.h \ - qopenglfunctions_2_0.h \ - qopenglfunctions_2_1.h \ - qopenglfunctions_3_0.h \ - qopenglfunctions_3_1.h \ - qopenglfunctions_3_2_core.h \ - qopenglfunctions_3_3_core.h \ - qopenglfunctions_4_0_core.h \ - qopenglfunctions_4_1_core.h \ - qopenglfunctions_4_2_core.h \ - qopenglfunctions_4_3_core.h \ - qopenglfunctions_4_4_core.h \ - qopenglfunctions_4_5_core.h \ - qopenglfunctions_3_2_compatibility.h \ - qopenglfunctions_3_3_compatibility.h \ - qopenglfunctions_4_0_compatibility.h \ - qopenglfunctions_4_1_compatibility.h \ - qopenglfunctions_4_2_compatibility.h \ - qopenglfunctions_4_3_compatibility.h \ - qopenglfunctions_4_4_compatibility.h \ - qopenglfunctions_4_5_compatibility.h \ - qopenglqueryhelper_p.h \ - qopengltimerquery.h - - SOURCES += \ - qopenglfunctions_1_0.cpp \ - qopenglfunctions_1_1.cpp \ - qopenglfunctions_1_2.cpp \ - qopenglfunctions_1_3.cpp \ - qopenglfunctions_1_4.cpp \ - qopenglfunctions_1_5.cpp \ - qopenglfunctions_2_0.cpp \ - qopenglfunctions_2_1.cpp \ - qopenglfunctions_3_0.cpp \ - qopenglfunctions_3_1.cpp \ - qopenglfunctions_3_2_core.cpp \ - qopenglfunctions_3_3_core.cpp \ - qopenglfunctions_4_0_core.cpp \ - qopenglfunctions_4_1_core.cpp \ - qopenglfunctions_4_2_core.cpp \ - qopenglfunctions_4_3_core.cpp \ - qopenglfunctions_4_4_core.cpp \ - qopenglfunctions_4_5_core.cpp \ - qopenglfunctions_3_2_compatibility.cpp \ - qopenglfunctions_3_3_compatibility.cpp \ - qopenglfunctions_4_0_compatibility.cpp \ - qopenglfunctions_4_1_compatibility.cpp \ - qopenglfunctions_4_2_compatibility.cpp \ - qopenglfunctions_4_3_compatibility.cpp \ - qopenglfunctions_4_4_compatibility.cpp \ - qopenglfunctions_4_5_compatibility.cpp \ - qopengltimerquery.cpp -} - -qtConfig(opengles2) { - HEADERS += qopenglfunctions_es2.h - SOURCES += qopenglfunctions_es2.cpp -} - -qtConfig(vulkan) { - CONFIG += generated_privates - - HEADERS += qvkconvenience_p.h - SOURCES += qvkconvenience.cpp - - # Applications must inherit the Vulkan header include path. - QMAKE_USE += vulkan/nolink -} - -qtConfig(egl) { - SOURCES += \ - qopenglcompositorbackingstore.cpp \ - qopenglcompositor.cpp - - HEADERS += \ - qopenglcompositorbackingstore_p.h \ - qopenglcompositor_p.h -} - -load(qt_module) - -TRACEPOINT_PROVIDER = $$PWD/qtopengl.tracepoints -CONFIG += qt_tracepoints diff --git a/src/openglwidgets/openglwidgets.pro b/src/openglwidgets/openglwidgets.pro deleted file mode 100644 index a058b77ea7..0000000000 --- a/src/openglwidgets/openglwidgets.pro +++ /dev/null @@ -1,13 +0,0 @@ -TARGET = QtOpenGLWidgets -QT = opengl widgets -QT_PRIVATE += opengl-private widgets-private - -DEFINES += QT_NO_USING_NAMESPACE QT_NO_FOREACH - -HEADERS += \ - qopenglwidget.h - -SOURCES += \ - qopenglwidget.cpp - -load(qt_module) diff --git a/src/platformsupport/devicediscovery/devicediscovery.pro b/src/platformsupport/devicediscovery/devicediscovery.pro deleted file mode 100644 index 881ec4d41e..0000000000 --- a/src/platformsupport/devicediscovery/devicediscovery.pro +++ /dev/null @@ -1,24 +0,0 @@ -TARGET = QtDeviceDiscoverySupport -MODULE = devicediscovery_support - -QT = core-private -QT_FOR_CONFIG += gui-private -CONFIG += static internal_module - -DEFINES += QT_NO_CAST_FROM_ASCII - -HEADERS += qdevicediscovery_p.h - -qtConfig(libudev) { - SOURCES += qdevicediscovery_udev.cpp - HEADERS += qdevicediscovery_udev_p.h - QMAKE_USE_PRIVATE += libudev -} else: qtConfig(evdev) { - SOURCES += qdevicediscovery_static.cpp - HEADERS += qdevicediscovery_static_p.h -} else { - SOURCES += qdevicediscovery_dummy.cpp - HEADERS += qdevicediscovery_dummy_p.h -} - -load(qt_module) diff --git a/src/platformsupport/fbconvenience/fbconvenience.pro b/src/platformsupport/fbconvenience/fbconvenience.pro deleted file mode 100644 index 3775906470..0000000000 --- a/src/platformsupport/fbconvenience/fbconvenience.pro +++ /dev/null @@ -1,24 +0,0 @@ -TARGET = QtFbSupport -MODULE = fb_support - -QT = core-private gui-private -CONFIG += static internal_module - -DEFINES += QT_NO_CAST_FROM_ASCII -PRECOMPILED_HEADER = ../../corelib/global/qt_pch.h - -SOURCES += \ - qfbscreen.cpp \ - qfbbackingstore.cpp \ - qfbwindow.cpp \ - qfbcursor.cpp \ - qfbvthandler.cpp - -HEADERS += \ - qfbscreen_p.h \ - qfbbackingstore_p.h \ - qfbwindow_p.h \ - qfbcursor_p.h \ - qfbvthandler_p.h - -load(qt_module) diff --git a/src/platformsupport/input/evdevkeyboard/evdevkeyboard.pri b/src/platformsupport/input/evdevkeyboard/evdevkeyboard.pri deleted file mode 100644 index 445f230fa5..0000000000 --- a/src/platformsupport/input/evdevkeyboard/evdevkeyboard.pri +++ /dev/null @@ -1,11 +0,0 @@ -HEADERS += \ - $$PWD/qevdevkeyboard_defaultmap_p.h \ - $$PWD/qevdevkeyboardhandler_p.h \ - $$PWD/qevdevkeyboardmanager_p.h - -SOURCES += \ - $$PWD/qevdevkeyboardhandler.cpp \ - $$PWD/qevdevkeyboardmanager.cpp - -qtConfig(libudev): \ - QMAKE_USE_PRIVATE += libudev diff --git a/src/platformsupport/input/evdevmouse/evdevmouse.pri b/src/platformsupport/input/evdevmouse/evdevmouse.pri deleted file mode 100644 index a8c9c663f3..0000000000 --- a/src/platformsupport/input/evdevmouse/evdevmouse.pri +++ /dev/null @@ -1,11 +0,0 @@ -HEADERS += \ - $$PWD/qevdevmousehandler_p.h \ - $$PWD/qevdevmousemanager_p.h - -SOURCES += \ - $$PWD/qevdevmousehandler.cpp \ - $$PWD/qevdevmousemanager.cpp - -qtConfig(libudev): \ - QMAKE_USE_PRIVATE += libudev - diff --git a/src/platformsupport/input/evdevtablet/evdevtablet.pri b/src/platformsupport/input/evdevtablet/evdevtablet.pri deleted file mode 100644 index ea1712ad2f..0000000000 --- a/src/platformsupport/input/evdevtablet/evdevtablet.pri +++ /dev/null @@ -1,10 +0,0 @@ -HEADERS += \ - $$PWD/qevdevtablethandler_p.h \ - $$PWD/qevdevtabletmanager_p.h - -SOURCES += \ - $$PWD/qevdevtablethandler.cpp \ - $$PWD/qevdevtabletmanager.cpp - -qtConfig(libudev): \ - QMAKE_USE_PRIVATE += libudev diff --git a/src/platformsupport/input/evdevtouch/evdevtouch.pri b/src/platformsupport/input/evdevtouch/evdevtouch.pri deleted file mode 100644 index 0ad236e882..0000000000 --- a/src/platformsupport/input/evdevtouch/evdevtouch.pri +++ /dev/null @@ -1,16 +0,0 @@ -HEADERS += \ - $$PWD/qevdevtouchhandler_p.h \ - $$PWD/qevdevtouchmanager_p.h - -SOURCES += \ - $$PWD/qevdevtouchhandler.cpp \ - $$PWD/qevdevtouchmanager.cpp - -INCLUDEPATH += $$PWD/../shared - -qtConfig(libudev): \ - QMAKE_USE_PRIVATE += libudev - -qtConfig(mtdev) { - QMAKE_USE_PRIVATE += mtdev -} diff --git a/src/platformsupport/input/input-support.pro b/src/platformsupport/input/input-support.pro deleted file mode 100644 index 3d39210b9e..0000000000 --- a/src/platformsupport/input/input-support.pro +++ /dev/null @@ -1,35 +0,0 @@ -TARGET = QtInputSupport -MODULE = input_support - -QT = core-private gui-private devicediscovery_support-private -CONFIG += static internal_module - -DEFINES += QT_NO_CAST_FROM_ASCII -PRECOMPILED_HEADER = ../../corelib/global/qt_pch.h - -qtConfig(evdev) { - include($$PWD/evdevmouse/evdevmouse.pri) - include($$PWD/evdevkeyboard/evdevkeyboard.pri) - include($$PWD/evdevtouch/evdevtouch.pri) - qtConfig(tabletevent) { - include($$PWD/evdevtablet/evdevtablet.pri) - } -} - -qtConfig(tslib) { - include($$PWD/tslib/tslib.pri) -} - -qtConfig(libinput) { - include($$PWD/libinput/libinput.pri) -} - -qtConfig(evdev)|qtConfig(libinput) { - include($$PWD/shared/shared.pri) -} - -qtConfig(integrityhid) { - include($$PWD/integrityhid/integrityhid.pri) -} - -load(qt_module) diff --git a/src/platformsupport/input/input.pro b/src/platformsupport/input/input.pro deleted file mode 100644 index f418a0deee..0000000000 --- a/src/platformsupport/input/input.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = subdirs -QT_FOR_CONFIG += gui-private - -SUBDIRS += input-support.pro ### FIXME - QTBUG-52657 - -CONFIG += ordered diff --git a/src/platformsupport/input/integrityhid/integrityhid.pri b/src/platformsupport/input/integrityhid/integrityhid.pri deleted file mode 100644 index 0a6240c422..0000000000 --- a/src/platformsupport/input/integrityhid/integrityhid.pri +++ /dev/null @@ -1,7 +0,0 @@ -HEADERS += \ - $$PWD/qintegrityhidmanager.h - -SOURCES += \ - $$PWD/qintegrityhidmanager.cpp - -QMAKE_USE_PRIVATE += integrityhid diff --git a/src/platformsupport/input/libinput/libinput.pri b/src/platformsupport/input/libinput/libinput.pri deleted file mode 100644 index 8b13da1933..0000000000 --- a/src/platformsupport/input/libinput/libinput.pri +++ /dev/null @@ -1,16 +0,0 @@ -HEADERS += \ - $$PWD/qlibinputhandler_p.h \ - $$PWD/qlibinputpointer_p.h \ - $$PWD/qlibinputkeyboard_p.h \ - $$PWD/qlibinputtouch_p.h - -SOURCES += \ - $$PWD/qlibinputhandler.cpp \ - $$PWD/qlibinputpointer.cpp \ - $$PWD/qlibinputkeyboard.cpp \ - $$PWD/qlibinputtouch.cpp - -QMAKE_USE_PRIVATE += libudev libinput -qtConfig(xkbcommon): QMAKE_USE_PRIVATE += xkbcommon - -INCLUDEPATH += $$PWD/../shared diff --git a/src/platformsupport/input/shared/shared.pri b/src/platformsupport/input/shared/shared.pri deleted file mode 100644 index 73eb38c9da..0000000000 --- a/src/platformsupport/input/shared/shared.pri +++ /dev/null @@ -1,8 +0,0 @@ -HEADERS += \ - $$PWD/devicehandlerlist_p.h \ - $$PWD/qevdevutil_p.h \ - $$PWD/qoutputmapping_p.h - -SOURCES += \ - $$PWD/qevdevutil.cpp \ - $$PWD/qoutputmapping.cpp diff --git a/src/platformsupport/input/tslib/tslib.pri b/src/platformsupport/input/tslib/tslib.pri deleted file mode 100644 index 9efd126e13..0000000000 --- a/src/platformsupport/input/tslib/tslib.pri +++ /dev/null @@ -1,7 +0,0 @@ -HEADERS += \ - $$PWD/qtslib_p.h - -SOURCES += \ - $$PWD/qtslib.cpp - -QMAKE_USE += tslib diff --git a/src/platformsupport/kmsconvenience/kmsconvenience.pro b/src/platformsupport/kmsconvenience/kmsconvenience.pro deleted file mode 100644 index 0c5a20a239..0000000000 --- a/src/platformsupport/kmsconvenience/kmsconvenience.pro +++ /dev/null @@ -1,19 +0,0 @@ -TARGET = QtKmsSupport -MODULE = kms_support - -QT = core-private gui-private -CONFIG += static internal_module - -DEFINES += QT_NO_CAST_FROM_ASCII - -HEADERS += \ - qkmsdevice_p.h - -SOURCES += \ - qkmsdevice.cpp - -QMAKE_USE += drm - -LIBS_PRIVATE += $$QMAKE_LIBS_DYNLOAD - -load(qt_module) diff --git a/src/platformsupport/platformsupport.pro b/src/platformsupport/platformsupport.pro deleted file mode 100644 index 3cc184985c..0000000000 --- a/src/platformsupport/platformsupport.pro +++ /dev/null @@ -1,15 +0,0 @@ -TEMPLATE = subdirs -QT_FOR_CONFIG += gui-private - -SUBDIRS = \ - devicediscovery \ - fbconvenience - -qtConfig(evdev)|qtConfig(tslib)|qtConfig(libinput)|qtConfig(integrityhid)|qtConfig(xkbcommon) { - SUBDIRS += input - input.depends += devicediscovery -} - -qtConfig(kms): \ - SUBDIRS += kmsconvenience - diff --git a/src/plugins/generic/bsdkeyboard/bsdkeyboard.pro b/src/plugins/generic/bsdkeyboard/bsdkeyboard.pro deleted file mode 100644 index c14c38c839..0000000000 --- a/src/plugins/generic/bsdkeyboard/bsdkeyboard.pro +++ /dev/null @@ -1,16 +0,0 @@ -TARGET = qbsdkeyboardplugin - -PLUGIN_TYPE = generic -PLUGIN_EXTENDS = - -PLUGIN_CLASS_NAME = QBsdKeyboardPlugin -load(qt_plugin) - -QT += core gui-private - -HEADERS = qbsdkeyboard.h -SOURCES = main.cpp \ - qbsdkeyboard.cpp - -OTHER_FILES += \ - qbsdkeyboard.json - diff --git a/src/plugins/generic/bsdmouse/bsdmouse.pro b/src/plugins/generic/bsdmouse/bsdmouse.pro deleted file mode 100644 index 11949b95d5..0000000000 --- a/src/plugins/generic/bsdmouse/bsdmouse.pro +++ /dev/null @@ -1,16 +0,0 @@ -TARGET = qbsdmouseplugin - -PLUGIN_TYPE = generic -PLUGIN_EXTENDS = - -PLUGIN_CLASS_NAME = QBsdMousePlugin -load(qt_plugin) - -QT += core-private gui-private - -HEADERS = qbsdmouse.h -SOURCES = main.cpp \ - qbsdmouse.cpp - -OTHER_FILES += \ - qbsdmouse.json - diff --git a/src/plugins/generic/evdevkeyboard/evdevkeyboard.pro b/src/plugins/generic/evdevkeyboard/evdevkeyboard.pro deleted file mode 100644 index 73fddf4d26..0000000000 --- a/src/plugins/generic/evdevkeyboard/evdevkeyboard.pro +++ /dev/null @@ -1,13 +0,0 @@ -TARGET = qevdevkeyboardplugin - -QT += core-private gui-private input_support-private - -SOURCES = main.cpp - -OTHER_FILES += \ - evdevkeyboard.json - -PLUGIN_TYPE = generic -PLUGIN_EXTENDS = - -PLUGIN_CLASS_NAME = QEvdevKeyboardPlugin -load(qt_plugin) diff --git a/src/plugins/generic/evdevmouse/evdevmouse.pro b/src/plugins/generic/evdevmouse/evdevmouse.pro deleted file mode 100644 index f3a8558ef2..0000000000 --- a/src/plugins/generic/evdevmouse/evdevmouse.pro +++ /dev/null @@ -1,13 +0,0 @@ -TARGET = qevdevmouseplugin - -QT += core-private gui-private input_support-private - -SOURCES = main.cpp - -OTHER_FILES += \ - evdevmouse.json - -PLUGIN_TYPE = generic -PLUGIN_EXTENDS = - -PLUGIN_CLASS_NAME = QEvdevMousePlugin -load(qt_plugin) diff --git a/src/plugins/generic/evdevtablet/evdevtablet.pro b/src/plugins/generic/evdevtablet/evdevtablet.pro deleted file mode 100644 index 1409cd83c9..0000000000 --- a/src/plugins/generic/evdevtablet/evdevtablet.pro +++ /dev/null @@ -1,13 +0,0 @@ -TARGET = qevdevtabletplugin - -SOURCES = main.cpp - -QT += core-private gui-private input_support-private - -OTHER_FILES += \ - evdevtablet.json - -PLUGIN_TYPE = generic -PLUGIN_EXTENDS = - -PLUGIN_CLASS_NAME = QEvdevTabletPlugin -load(qt_plugin) diff --git a/src/plugins/generic/evdevtouch/evdevtouch.pro b/src/plugins/generic/evdevtouch/evdevtouch.pro deleted file mode 100644 index 3ca646aaca..0000000000 --- a/src/plugins/generic/evdevtouch/evdevtouch.pro +++ /dev/null @@ -1,13 +0,0 @@ -TARGET = qevdevtouchplugin - -SOURCES = main.cpp - -QT += core-private gui-private input_support-private - -OTHER_FILES += \ - evdevtouch.json - -PLUGIN_TYPE = generic -PLUGIN_EXTENDS = - -PLUGIN_CLASS_NAME = QEvdevTouchScreenPlugin -load(qt_plugin) diff --git a/src/plugins/generic/generic.pro b/src/plugins/generic/generic.pro deleted file mode 100644 index 980aa1a506..0000000000 --- a/src/plugins/generic/generic.pro +++ /dev/null @@ -1,24 +0,0 @@ -TEMPLATE = subdirs -QT_FOR_CONFIG += gui-private - -qtConfig(evdev) { - SUBDIRS += evdevmouse evdevtouch evdevkeyboard - qtConfig(tabletevent): \ - SUBDIRS += evdevtablet -} - -qtConfig(tslib) { - SUBDIRS += tslib -} - -qtConfig(tuiotouch) { - SUBDIRS += tuiotouch -} - -qtConfig(libinput) { - SUBDIRS += libinput -} - -freebsd { - SUBDIRS += bsdkeyboard bsdmouse -} diff --git a/src/plugins/generic/libinput/libinput.pro b/src/plugins/generic/libinput/libinput.pro deleted file mode 100644 index 434bf7b945..0000000000 --- a/src/plugins/generic/libinput/libinput.pro +++ /dev/null @@ -1,12 +0,0 @@ -TARGET = qlibinputplugin - -QT += core-private gui-private input_support-private - -SOURCES = main.cpp - -OTHER_FILES = libinput.json - -PLUGIN_TYPE = generic -PLUGIN_EXTENDS = - -PLUGIN_CLASS_NAME = QLibInputPlugin -load(qt_plugin) diff --git a/src/plugins/generic/tslib/tslib.pro b/src/plugins/generic/tslib/tslib.pro deleted file mode 100644 index 7c3a0bf607..0000000000 --- a/src/plugins/generic/tslib/tslib.pro +++ /dev/null @@ -1,14 +0,0 @@ -TARGET = qtslibplugin - -SOURCES = main.cpp - -QT += core-private gui-private input_support-private - -QMAKE_USE += tslib - -OTHER_FILES += tslib.json - -PLUGIN_TYPE = generic -PLUGIN_EXTENDS = - -PLUGIN_CLASS_NAME = QTsLibPlugin -load(qt_plugin) diff --git a/src/plugins/generic/tuiotouch/tuiotouch.pro b/src/plugins/generic/tuiotouch/tuiotouch.pro deleted file mode 100644 index 08f7036c92..0000000000 --- a/src/plugins/generic/tuiotouch/tuiotouch.pro +++ /dev/null @@ -1,28 +0,0 @@ -TARGET = qtuiotouchplugin - -QT += \ - core-private \ - gui-private \ - network - -SOURCES += \ - main.cpp \ - qoscbundle.cpp \ - qoscmessage.cpp \ - qtuiohandler.cpp - -HEADERS += \ - qoscbundle_p.h \ - qoscmessage_p.h \ - qtuiohandler_p.h \ - qtuiocursor_p.h \ - qtuiotoken_p.h - -OTHER_FILES += \ - tuiotouch.json - -DEFINES += QT_NO_FOREACH -PLUGIN_TYPE = generic -PLUGIN_EXTENDS = - -PLUGIN_CLASS_NAME = QTuioTouchPlugin -load(qt_plugin) diff --git a/src/plugins/imageformats/gif/gif.pro b/src/plugins/imageformats/gif/gif.pro deleted file mode 100644 index c2625be85a..0000000000 --- a/src/plugins/imageformats/gif/gif.pro +++ /dev/null @@ -1,10 +0,0 @@ -TARGET = qgif - -SOURCES += main.cpp qgifhandler.cpp -HEADERS += main.h qgifhandler_p.h - -OTHER_FILES += gif.json - -PLUGIN_TYPE = imageformats -PLUGIN_CLASS_NAME = QGifPlugin -load(qt_plugin) diff --git a/src/plugins/imageformats/ico/ico.pro b/src/plugins/imageformats/ico/ico.pro deleted file mode 100644 index c8bb37eff2..0000000000 --- a/src/plugins/imageformats/ico/ico.pro +++ /dev/null @@ -1,10 +0,0 @@ -TARGET = qico - -HEADERS += main.h qicohandler.h -SOURCES += main.cpp qicohandler.cpp -OTHER_FILES += ico.json -QT += core-private - -PLUGIN_TYPE = imageformats -PLUGIN_CLASS_NAME = QICOPlugin -load(qt_plugin) diff --git a/src/plugins/imageformats/imageformats.pro b/src/plugins/imageformats/imageformats.pro deleted file mode 100644 index 9d1c0c8fdf..0000000000 --- a/src/plugins/imageformats/imageformats.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = subdirs -QT_FOR_CONFIG += gui-private - -qtConfig(ico): SUBDIRS += ico -qtConfig(jpeg): SUBDIRS += jpeg -qtConfig(gif): SUBDIRS += gif diff --git a/src/plugins/imageformats/jpeg/jpeg.pro b/src/plugins/imageformats/jpeg/jpeg.pro deleted file mode 100644 index 89476e62f5..0000000000 --- a/src/plugins/imageformats/jpeg/jpeg.pro +++ /dev/null @@ -1,18 +0,0 @@ -TARGET = qjpeg - -QT += core-private gui-private - -SOURCES += main.cpp qjpeghandler.cpp -HEADERS += main.h qjpeghandler_p.h - -qtConfig(system-jpeg) { - QMAKE_USE += libjpeg -} else { - include($$PWD/../../../3rdparty/libjpeg.pri) -} - -OTHER_FILES += jpeg.json - -PLUGIN_TYPE = imageformats -PLUGIN_CLASS_NAME = QJpegPlugin -load(qt_plugin) diff --git a/src/plugins/platforminputcontexts/compose/compose.pro b/src/plugins/platforminputcontexts/compose/compose.pro deleted file mode 100644 index 2e2f8600c3..0000000000 --- a/src/plugins/platforminputcontexts/compose/compose.pro +++ /dev/null @@ -1,19 +0,0 @@ -TARGET = composeplatforminputcontextplugin - -QT += core-private gui-private - -SOURCES += $$PWD/qcomposeplatforminputcontextmain.cpp \ - $$PWD/qcomposeplatforminputcontext.cpp - -HEADERS += $$PWD/qcomposeplatforminputcontext.h - -QMAKE_USE_PRIVATE += xkbcommon - -include($$OUT_PWD/../../../gui/qtgui-config.pri) - -OTHER_FILES += $$PWD/compose.json - -PLUGIN_TYPE = platforminputcontexts -PLUGIN_EXTENDS = - -PLUGIN_CLASS_NAME = QComposePlatformInputContextPlugin -load(qt_plugin) diff --git a/src/plugins/platforminputcontexts/ibus/ibus.pro b/src/plugins/platforminputcontexts/ibus/ibus.pro deleted file mode 100644 index a3220fd547..0000000000 --- a/src/plugins/platforminputcontexts/ibus/ibus.pro +++ /dev/null @@ -1,23 +0,0 @@ -TARGET = ibusplatforminputcontextplugin - -QT += dbus gui-private -QMAKE_USE_PRIVATE += xkbcommon -SOURCES += $$PWD/qibusplatforminputcontext.cpp \ - $$PWD/qibusproxy.cpp \ - $$PWD/qibusproxyportal.cpp \ - $$PWD/qibusinputcontextproxy.cpp \ - $$PWD/qibustypes.cpp \ - $$PWD/main.cpp - -HEADERS += $$PWD/qibusplatforminputcontext.h \ - $$PWD/qibusproxy.h \ - $$PWD/qibusproxyportal.h \ - $$PWD/qibusinputcontextproxy.h \ - $$PWD/qibustypes.h - -OTHER_FILES += $$PWD/ibus.json - -PLUGIN_TYPE = platforminputcontexts -PLUGIN_EXTENDS = - -PLUGIN_CLASS_NAME = QIbusPlatformInputContextPlugin -load(qt_plugin) diff --git a/src/plugins/platforminputcontexts/platforminputcontexts.pro b/src/plugins/platforminputcontexts/platforminputcontexts.pro deleted file mode 100644 index 56a39a49e7..0000000000 --- a/src/plugins/platforminputcontexts/platforminputcontexts.pro +++ /dev/null @@ -1,11 +0,0 @@ -TEMPLATE = subdirs -QT_FOR_CONFIG += gui-private - -qtConfig(xkbcommon) { - SUBDIRS += compose - - qtHaveModule(dbus) { - !macos:!win32:SUBDIRS += ibus - } -} - diff --git a/src/plugins/platforms/android/android.pro b/src/plugins/platforms/android/android.pro deleted file mode 100644 index 979124473e..0000000000 --- a/src/plugins/platforms/android/android.pro +++ /dev/null @@ -1,92 +0,0 @@ -TARGET = qtforandroid - -LIBS += -ljnigraphics -landroid - -QT += \ - core-private gui-private - -OTHER_FILES += $$PWD/android.json - -INCLUDEPATH += \ - $$PWD \ - $$QT_SOURCE_TREE/src/3rdparty/android - -DEFINES += QT_USE_QSTRINGBUILDER - -SOURCES += $$PWD/main.cpp \ - $$PWD/androidcontentfileengine.cpp \ - $$PWD/androiddeadlockprotector.cpp \ - $$PWD/androidjnimain.cpp \ - $$PWD/androidjniaccessibility.cpp \ - $$PWD/androidjniinput.cpp \ - $$PWD/androidjnimenu.cpp \ - $$PWD/androidjniclipboard.cpp \ - $$PWD/qandroidplatformintegration.cpp \ - $$PWD/qandroidplatformservices.cpp \ - $$PWD/qandroidassetsfileenginehandler.cpp \ - $$PWD/qandroidinputcontext.cpp \ - $$PWD/qandroidplatformaccessibility.cpp \ - $$PWD/qandroidplatformfontdatabase.cpp \ - $$PWD/qandroidplatformdialoghelpers.cpp \ - $$PWD/qandroidplatformclipboard.cpp \ - $$PWD/qandroidplatformtheme.cpp \ - $$PWD/qandroidplatformmenubar.cpp \ - $$PWD/qandroidplatformmenu.cpp \ - $$PWD/qandroidplatformmenuitem.cpp \ - $$PWD/qandroidsystemlocale.cpp \ - $$PWD/qandroidplatformscreen.cpp \ - $$PWD/qandroidplatformwindow.cpp \ - $$PWD/qandroidplatformopenglwindow.cpp \ - $$PWD/qandroidplatformbackingstore.cpp \ - $$PWD/qandroidplatformopenglcontext.cpp \ - $$PWD/qandroidplatformforeignwindow.cpp \ - $$PWD/qandroideventdispatcher.cpp \ - $$PWD/qandroidplatformoffscreensurface.cpp \ - $$PWD/qandroidplatformfiledialoghelper.cpp - -HEADERS += $$PWD/qandroidplatformintegration.h \ - $$PWD/androidcontentfileengine.h \ - $$PWD/androiddeadlockprotector.h \ - $$PWD/androidjnimain.h \ - $$PWD/androidjniaccessibility.h \ - $$PWD/androidjniinput.h \ - $$PWD/androidjnimenu.h \ - $$PWD/androidjniclipboard.h \ - $$PWD/qandroidplatformservices.h \ - $$PWD/qandroidassetsfileenginehandler.h \ - $$PWD/qandroidinputcontext.h \ - $$PWD/qandroidplatformaccessibility.h \ - $$PWD/qandroidplatformfontdatabase.h \ - $$PWD/qandroidplatformclipboard.h \ - $$PWD/qandroidplatformdialoghelpers.h \ - $$PWD/qandroidplatformtheme.h \ - $$PWD/qandroidplatformmenubar.h \ - $$PWD/qandroidplatformmenu.h \ - $$PWD/qandroidplatformmenuitem.h \ - $$PWD/qandroidsystemlocale.h \ - $$PWD/androidsurfaceclient.h \ - $$PWD/qandroidplatformscreen.h \ - $$PWD/qandroidplatformwindow.h \ - $$PWD/qandroidplatformopenglwindow.h \ - $$PWD/qandroidplatformbackingstore.h \ - $$PWD/qandroidplatformopenglcontext.h \ - $$PWD/qandroidplatformforeignwindow.h \ - $$PWD/qandroideventdispatcher.h \ - $$PWD/qandroidplatformoffscreensurface.h \ - $$PWD/qandroidplatformfiledialoghelper.h - -qtConfig(android-style-assets): SOURCES += $$PWD/extract.cpp -else: SOURCES += $$PWD/extract-dummy.cpp - -qtConfig(vulkan) { - SOURCES += $$PWD/qandroidplatformvulkaninstance.cpp \ - $$PWD/qandroidplatformvulkanwindow.cpp - HEADERS += $$PWD/qandroidplatformvulkaninstance.h \ - $$PWD/qandroidplatformvulkanwindow.h -} - -QMAKE_USE += egl - -PLUGIN_TYPE = platforms -PLUGIN_CLASS_NAME = QAndroidIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/bsdfb/bsdfb.pro b/src/plugins/platforms/bsdfb/bsdfb.pro deleted file mode 100644 index ac2dfa9e68..0000000000 --- a/src/plugins/platforms/bsdfb/bsdfb.pro +++ /dev/null @@ -1,18 +0,0 @@ -TARGET = qbsdfb - -QT += \ - core-private gui-private \ - fb_support-private - -qtHaveModule(input_support-private): \ - QT += input_support-private - -SOURCES = main.cpp qbsdfbintegration.cpp qbsdfbscreen.cpp -HEADERS = qbsdfbintegration.h qbsdfbscreen.h - -OTHER_FILES += bsdfb.json - -PLUGIN_TYPE = platforms -PLUGIN_CLASS_NAME = QBsdFbIntegrationPlugin -!equals(TARGET, $$QT_DEFAULT_QPA_PLUGIN): PLUGIN_EXTENDS = - -load(qt_plugin) diff --git a/src/plugins/platforms/cocoa/cocoa.pro b/src/plugins/platforms/cocoa/cocoa.pro deleted file mode 100644 index 742038d5cd..0000000000 --- a/src/plugins/platforms/cocoa/cocoa.pro +++ /dev/null @@ -1,111 +0,0 @@ -TARGET = qcocoa - -SOURCES += main.mm \ - qcocoaintegration.mm \ - qcocoascreen.mm \ - qcocoatheme.mm \ - qcocoabackingstore.mm \ - qcocoawindow.mm \ - qcocoawindowmanager.mm \ - qnsview.mm \ - qnswindow.mm \ - qnswindowdelegate.mm \ - qcocoanativeinterface.mm \ - qcocoaeventdispatcher.mm \ - qcocoaapplicationdelegate.mm \ - qcocoaapplication.mm \ - qcocoansmenu.mm \ - qcocoamenu.mm \ - qcocoamenuitem.mm \ - qcocoamenubar.mm \ - qcocoamenuloader.mm \ - qcocoahelpers.mm \ - qmultitouch_mac.mm \ - qcocoacursor.mm \ - qcocoaclipboard.mm \ - qcocoadrag.mm \ - qmacclipboard.mm \ - qcocoainputcontext.mm \ - qcocoaservices.mm \ - qcocoasystemtrayicon.mm \ - qcocoaintrospection.mm \ - qcocoakeymapper.mm \ - qcocoamimetypes.mm \ - qiosurfacegraphicsbuffer.mm \ - qcocoacolordialoghelper.mm \ - qcocoafiledialoghelper.mm \ - qcocoafontdialoghelper.mm - -HEADERS += qcocoaintegration.h \ - qcocoascreen.h \ - qcocoatheme.h \ - qcocoabackingstore.h \ - qcocoawindow.h \ - qcocoawindowmanager.h \ - qnsview.h \ - qnswindow.h \ - qnswindowdelegate.h \ - qcocoanativeinterface.h \ - qcocoaeventdispatcher.h \ - qcocoaapplicationdelegate.h \ - qcocoaapplication.h \ - qcocoansmenu.h \ - qcocoamenu.h \ - qcocoamenuitem.h \ - qcocoamenubar.h \ - qcocoamenuloader.h \ - qcocoahelpers.h \ - qmultitouch_mac_p.h \ - qcocoacursor.h \ - qcocoaclipboard.h \ - qcocoadrag.h \ - qmacclipboard.h \ - qcocoainputcontext.h \ - qcocoaservices.h \ - qcocoasystemtrayicon.h \ - qcocoaintrospection.h \ - qcocoakeymapper.h \ - qiosurfacegraphicsbuffer.h \ - qcocoamimetypes.h \ - qcocoacolordialoghelper.h \ - qcocoafiledialoghelper.h \ - qcocoafontdialoghelper.h - -qtConfig(opengl.*) { - SOURCES += qcocoaglcontext.mm - HEADERS += qcocoaglcontext.h -} - -qtConfig(vulkan) { - SOURCES += qcocoavulkaninstance.mm - HEADERS += qcocoavulkaninstance.h -} - -qtConfig(accessibility) { - SOURCES += qcocoaaccessibilityelement.mm \ - qcocoaaccessibility.mm - HEADERS += qcocoaaccessibilityelement.h \ - qcocoaaccessibility.h -} - -qtConfig(sessionmanager) { - SOURCES += qcocoasessionmanager.cpp - HEADERS += qcocoasessionmanager.h -} - -RESOURCES += qcocoaresources.qrc - -LIBS += -framework AppKit -framework CoreServices -framework Carbon -framework IOKit -framework QuartzCore -framework CoreVideo -framework Metal -framework IOSurface - -DEFINES += QT_NO_FOREACH - -QT += core-private gui-private - -CONFIG += no_app_extension_api_only - -OTHER_FILES += cocoa.json - -PLUGIN_TYPE = platforms -PLUGIN_CLASS_NAME = QCocoaIntegrationPlugin -!equals(TARGET, $$QT_DEFAULT_QPA_PLUGIN): PLUGIN_EXTENDS = - -load(qt_plugin) diff --git a/src/plugins/platforms/direct2d/direct2d.pro b/src/plugins/platforms/direct2d/direct2d.pro deleted file mode 100644 index 70e4ef497e..0000000000 --- a/src/plugins/platforms/direct2d/direct2d.pro +++ /dev/null @@ -1,42 +0,0 @@ -TARGET = qdirect2d - -QT += \ - core-private gui-private - -LIBS += -ldwmapi -lversion -ld3d11 -ldxgi -ldxguid -QMAKE_USE_PRIVATE += gdi32 dwrite_2 d2d1_1 - -include(../windows/windows.pri) - -SOURCES += \ - qwindowsdirect2dpaintengine.cpp \ - qwindowsdirect2dpaintdevice.cpp \ - qwindowsdirect2dplatformpixmap.cpp \ - qwindowsdirect2dcontext.cpp \ - qwindowsdirect2dbitmap.cpp \ - qwindowsdirect2dbackingstore.cpp \ - qwindowsdirect2dintegration.cpp \ - qwindowsdirect2dplatformplugin.cpp \ - qwindowsdirect2ddevicecontext.cpp \ - qwindowsdirect2dnativeinterface.cpp \ - qwindowsdirect2dwindow.cpp - -HEADERS += \ - qwindowsdirect2dpaintengine.h \ - qwindowsdirect2dpaintdevice.h \ - qwindowsdirect2dplatformpixmap.h \ - qwindowsdirect2dcontext.h \ - qwindowsdirect2dhelpers.h \ - qwindowsdirect2dbitmap.h \ - qwindowsdirect2dbackingstore.h \ - qwindowsdirect2dintegration.h \ - qwindowsdirect2ddevicecontext.h \ - qwindowsdirect2dnativeinterface.h \ - qwindowsdirect2dwindow.h - -OTHER_FILES += direct2d.json - -PLUGIN_TYPE = platforms -PLUGIN_CLASS_NAME = QWindowsDirect2DIntegrationPlugin -!equals(TARGET, $$QT_DEFAULT_QPA_PLUGIN): PLUGIN_EXTENDS = - -load(qt_plugin) diff --git a/src/plugins/platforms/directfb/directfb.pro b/src/plugins/platforms/directfb/directfb.pro deleted file mode 100644 index df4bbc9e9e..0000000000 --- a/src/plugins/platforms/directfb/directfb.pro +++ /dev/null @@ -1,50 +0,0 @@ -TARGET = qdirectfb - -QT += \ - core-private gui-private - -QMAKE_USE += directfb - -SOURCES = main.cpp \ - qdirectfbintegration.cpp \ - qdirectfbbackingstore.cpp \ - qdirectfbblitter.cpp \ - qdirectfbconvenience.cpp \ - qdirectfbinput.cpp \ - qdirectfbcursor.cpp \ - qdirectfbwindow.cpp \ - qdirectfbscreen.cpp -HEADERS = qdirectfbintegration.h \ - qdirectfbbackingstore.h \ - qdirectfbblitter.h \ - qdirectfbconvenience.h \ - qdirectfbinput.h \ - qdirectfbcursor.h \ - qdirectfbwindow.h \ - qdirectfbscreen.h \ - qdirectfbeglhooks.h - -# ### port the GL context -contains(QT_CONFIG, directfb_egl) { - HEADERS += qdirectfb_egl.h - SOURCES += qdirectfb_egl.cpp - DEFINES += DIRECTFB_GL_EGL -} - -!isEmpty(DIRECTFB_PLATFORM_HOOKS_SOURCES) { - HEADERS += $$DIRECTFB_PLATFORM_HOOKS_HEADERS - SOURCES += $$DIRECTFB_PLATFORM_HOOKS_SOURCES - DEFINES += DIRECTFB_PLATFORM_HOOKS - LIBS += $$DIRECTFB_PLATFORM_HOOKS_LIBS - QMAKE_LIBDIR += $$DIRECTFB_PLATFORM_HOOKS_LIBDIR - INCLUDEPATH += $$DIRECTFB_PLATFORM_HOOKS_INCLUDEPATH -} else { - SOURCES += qdirectfbeglhooks_stub.cpp -} - -OTHER_FILES += directfb.json - -PLUGIN_TYPE = platforms -PLUGIN_CLASS_NAME = QDirectFbIntegrationPlugin -!equals(TARGET, $$QT_DEFAULT_QPA_PLUGIN): PLUGIN_EXTENDS = - -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/api/api.pri b/src/plugins/platforms/eglfs/api/api.pri deleted file mode 100644 index bcb72c9ea7..0000000000 --- a/src/plugins/platforms/eglfs/api/api.pri +++ /dev/null @@ -1,36 +0,0 @@ - -SOURCES += $$PWD/qeglfswindow.cpp \ - $$PWD/qeglfsscreen.cpp \ - $$PWD/qeglfshooks.cpp \ - $$PWD/qeglfsdeviceintegration.cpp \ - $$PWD/qeglfsintegration.cpp \ - $$PWD/qeglfsoffscreenwindow.cpp - -HEADERS += $$PWD/qeglfswindow_p.h \ - $$PWD/qeglfsscreen_p.h \ - $$PWD/qeglfshooks_p.h \ - $$PWD/qeglfsdeviceintegration_p.h \ - $$PWD/qeglfsintegration_p.h \ - $$PWD/qeglfsoffscreenwindow_p.h \ - $$PWD/qeglfsglobal_p.h - -qtConfig(opengl) { - QT += opengl-private - SOURCES += \ - $$PWD/qeglfscursor.cpp \ - $$PWD/qeglfscontext.cpp - HEADERS += \ - $$PWD/qeglfscursor_p.h \ - $$PWD/qeglfscontext_p.h -} - -qtConfig(vulkan) { - SOURCES += \ - $$PWD/vulkan/qeglfsvulkaninstance.cpp \ - $$PWD/vulkan/qeglfsvulkanwindow.cpp - HEADERS += \ - $$PWD/vulkan/qeglfsvulkaninstance_p.h \ - $$PWD/vulkan/qeglfsvulkanwindow_p.h -} - -INCLUDEPATH += $$PWD diff --git a/src/plugins/platforms/eglfs/deviceintegration/deviceintegration.pro b/src/plugins/platforms/eglfs/deviceintegration/deviceintegration.pro deleted file mode 100644 index 8c207d1413..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/deviceintegration.pro +++ /dev/null @@ -1,18 +0,0 @@ -TEMPLATE = subdirs -QT_FOR_CONFIG += gui-private - -qtConfig(eglfs_x11): SUBDIRS += eglfs_x11 -qtConfig(eglfs_gbm): SUBDIRS *= eglfs_kms_support eglfs_kms -qtConfig(eglfs_egldevice): SUBDIRS *= eglfs_kms_support eglfs_kms_egldevice -qtConfig(eglfs_vsp2): SUBDIRS += eglfs_kms_vsp2 -qtConfig(eglfs_brcm): SUBDIRS += eglfs_brcm -qtConfig(eglfs_mali): SUBDIRS += eglfs_mali -qtConfig(eglfs_viv): SUBDIRS += eglfs_viv -qtConfig(eglfs_rcar): SUBDIRS += eglfs_rcar -qtConfig(eglfs_viv_wl): SUBDIRS += eglfs_viv_wl -qtConfig(eglfs_openwfd): SUBDIRS += eglfs_openwfd -qtConfig(opengl): SUBDIRS += eglfs_emu - -eglfs_kms_egldevice.depends = eglfs_kms_support -eglfs_kms_vsp2.depends = eglfs_kms_support -eglfs_kms.depends = eglfs_kms_support diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_brcm/eglfs_brcm.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_brcm/eglfs_brcm.pro deleted file mode 100644 index aa487be8c0..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_brcm/eglfs_brcm.pro +++ /dev/null @@ -1,22 +0,0 @@ -TARGET = qeglfs-brcm-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -INCLUDEPATH += $$PWD/../../api -CONFIG += egl - -LIBS += -lbcm_host - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -SOURCES += $$PWD/qeglfsbrcmmain.cpp \ - $$PWD/qeglfsbrcmintegration.cpp - -HEADERS += $$PWD/qeglfsbrcmintegration.h - -OTHER_FILES += $$PWD/eglfs_brcm.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSBrcmIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_emu/eglfs_emu.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_emu/eglfs_emu.pro deleted file mode 100644 index 609f04e8a9..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_emu/eglfs_emu.pro +++ /dev/null @@ -1,27 +0,0 @@ -TARGET = qeglfs-emu-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -INCLUDEPATH += $$PWD/../../api -CONFIG += egl - -# Avoid X11 header collision -DEFINES += QT_EGL_NO_X11 - -OTHER_FILES += $$PWD/eglfs_emu.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSEmulatorIntegrationPlugin -load(qt_plugin) - -DISTFILES += \ - eglfs_emu.json - -SOURCES += \ - qeglfsemumain.cpp \ - qeglfsemulatorintegration.cpp \ - qeglfsemulatorscreen.cpp - -HEADERS += \ - qeglfsemulatorintegration.h \ - qeglfsemulatorscreen.h diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms-plugin.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms-plugin.pro deleted file mode 100644 index 37c0e09c74..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms-plugin.pro +++ /dev/null @@ -1,17 +0,0 @@ -TARGET = qeglfs-kms-integration - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSKmsGbmIntegrationPlugin -load(qt_plugin) - -QT += core-private gui-private eglfsdeviceintegration-private eglfs_kms_support-private kms_support-private eglfs_kms_gbm_support-private - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -QMAKE_USE += gbm drm -CONFIG += egl - -SOURCES += $$PWD/qeglfskmsgbmmain.cpp - -OTHER_FILES += $$PWD/eglfs_kms.json diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms.pro deleted file mode 100644 index 23063c052e..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms.pro +++ /dev/null @@ -1,5 +0,0 @@ -TEMPLATE = subdirs -CONFIG += ordered - -SUBDIRS += eglfs_kms_gbm_support.pro -SUBDIRS += eglfs_kms-plugin.pro diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms_gbm_support.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms_gbm_support.pro deleted file mode 100644 index 8c05f16008..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/eglfs_kms_gbm_support.pro +++ /dev/null @@ -1,23 +0,0 @@ -TARGET = QtEglFsKmsGbmSupport -CONFIG += internal_module -load(qt_module) - -QT += core-private gui-private eglfsdeviceintegration-private eglfs_kms_support-private kms_support-private - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -QMAKE_USE += gbm drm -CONFIG += egl - -SOURCES += $$PWD/qeglfskmsgbmintegration.cpp \ - $$PWD/qeglfskmsgbmdevice.cpp \ - $$PWD/qeglfskmsgbmscreen.cpp \ - $$PWD/qeglfskmsgbmcursor.cpp \ - $$PWD/qeglfskmsgbmwindow.cpp - -HEADERS += $$PWD/qeglfskmsgbmintegration_p.h \ - $$PWD/qeglfskmsgbmdevice_p.h \ - $$PWD/qeglfskmsgbmscreen_p.h \ - $$PWD/qeglfskmsgbmcursor_p.h \ - $$PWD/qeglfskmsgbmwindow_p.h diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/eglfs_kms_egldevice.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/eglfs_kms_egldevice.pro deleted file mode 100644 index 1b6255b03f..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/eglfs_kms_egldevice.pro +++ /dev/null @@ -1,24 +0,0 @@ -TARGET = qeglfs-kms-egldevice-integration - -QT += core-private gui-private eglfsdeviceintegration-private eglfs_kms_support-private kms_support-private - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -QMAKE_USE += drm -CONFIG += egl - -SOURCES += $$PWD/qeglfskmsegldevicemain.cpp \ - $$PWD/qeglfskmsegldeviceintegration.cpp \ - qeglfskmsegldevice.cpp \ - qeglfskmsegldevicescreen.cpp - -HEADERS += $$PWD/qeglfskmsegldeviceintegration.h \ - qeglfskmsegldevice.h \ - qeglfskmsegldevicescreen.h - -OTHER_FILES += $$PWD/eglfs_kms_egldevice.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSKmsEglDeviceIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_support/eglfs_kms_support.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_support/eglfs_kms_support.pro deleted file mode 100644 index 0df31117a7..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_support/eglfs_kms_support.pro +++ /dev/null @@ -1,22 +0,0 @@ -TARGET = QtEglFsKmsSupport -CONFIG += internal_module -load(qt_module) - -QT += core-private gui-private eglfsdeviceintegration-private kms_support-private - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -QMAKE_USE += drm -CONFIG += egl - -SOURCES += $$PWD/qeglfskmsintegration.cpp \ - $$PWD/qeglfskmsdevice.cpp \ - $$PWD/qeglfskmsscreen.cpp \ - $$PWD/qeglfskmseventreader.cpp - -HEADERS += $$PWD/qeglfskmsintegration_p.h \ - $$PWD/qeglfskmsdevice_p.h \ - $$PWD/qeglfskmsscreen_p.h \ - $$PWD/qeglfskmshelpers_p.h \ - $$PWD/qeglfskmseventreader_p.h diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_vsp2/eglfs_kms_vsp2.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_vsp2/eglfs_kms_vsp2.pro deleted file mode 100644 index a1a1c55383..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_vsp2/eglfs_kms_vsp2.pro +++ /dev/null @@ -1,30 +0,0 @@ -TARGET = qeglfs-kms-vsp2-integration - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSKmsVsp2IntegrationPlugin -load(qt_plugin) - -QT += core-private gui-private eglfsdeviceintegration-private eglfs_kms_support-private kms_support-private - -INCLUDEPATH += $$PWD/../../api $$PWD/../eglfs_kms_support - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -QMAKE_USE += gbm drm v4l2 -CONFIG += egl - -SOURCES += $$PWD/qeglfskmsvsp2main.cpp \ - $$PWD/qeglfskmsvsp2integration.cpp \ - $$PWD/qeglfskmsvsp2device.cpp \ - $$PWD/qeglfskmsvsp2screen.cpp \ - $$PWD/qlinuxmediadevice.cpp \ - $$PWD/qvsp2blendingdevice.cpp - -HEADERS += $$PWD/qeglfskmsvsp2integration.h \ - $$PWD/qeglfskmsvsp2device.h \ - $$PWD/qeglfskmsvsp2screen.h \ - $$PWD/qlinuxmediadevice.h \ - $$PWD/qvsp2blendingdevice.h - -OTHER_FILES += $$PWD/eglfs_kms.json diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_mali/eglfs_mali.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_mali/eglfs_mali.pro deleted file mode 100644 index 3261a6dbba..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_mali/eglfs_mali.pro +++ /dev/null @@ -1,20 +0,0 @@ -TARGET = qeglfs-mali-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -INCLUDEPATH += $$PWD/../../api -CONFIG += egl - -SOURCES += $$PWD/qeglfsmalimain.cpp \ - $$PWD/qeglfsmaliintegration.cpp - -HEADERS += $$PWD/qeglfsmaliintegration.h - -OTHER_FILES += $$PWD/eglfs_mali.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSMaliIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_openwfd/eglfs_openwfd.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_openwfd/eglfs_openwfd.pro deleted file mode 100644 index 448b4cbe21..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_openwfd/eglfs_openwfd.pro +++ /dev/null @@ -1,17 +0,0 @@ -TARGET = qeglfs-openwfd-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -INCLUDEPATH += $$PWD/../../api -CONFIG += egl - -SOURCES += $$PWD/qeglfsopenwfdmain.cpp \ - $$PWD/qeglfsopenwfdintegration.cpp - -HEADERS += $$PWD/qeglfsopenwfdintegration.h - -OTHER_FILES += $$PWD/eglfs_openwfd.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSOpenWFDIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_rcar/eglfs_rcar.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_rcar/eglfs_rcar.pro deleted file mode 100644 index 62acd51cea..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_rcar/eglfs_rcar.pro +++ /dev/null @@ -1,18 +0,0 @@ -TARGET = qeglfs-rcar-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -INCLUDEPATH += $$PWD/../../api -CONFIG += egl -DEFINES += LINUX=1 EGL_API_FB=1 - -SOURCES += $$PWD/qeglfsrcarmain.cpp \ - $$PWD/qeglfsrcarintegration.cpp - -HEADERS += $$PWD/qeglfsrcarintegration.h - -OTHER_FILES += $$PWD/eglfs_rcar.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSRcarIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv/eglfs_viv.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv/eglfs_viv.pro deleted file mode 100644 index 8d3be9c2ac..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv/eglfs_viv.pro +++ /dev/null @@ -1,18 +0,0 @@ -TARGET = qeglfs-viv-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -INCLUDEPATH += $$PWD/../../api -CONFIG += egl -DEFINES += LINUX=1 EGL_API_FB=1 - -SOURCES += $$PWD/qeglfsvivmain.cpp \ - $$PWD/qeglfsvivintegration.cpp - -HEADERS += $$PWD/qeglfsvivintegration.h - -OTHER_FILES += $$PWD/eglfs_viv.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSVivIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv_wl/eglfs_viv_wl.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv_wl/eglfs_viv_wl.pro deleted file mode 100644 index 45d73e1eb8..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv_wl/eglfs_viv_wl.pro +++ /dev/null @@ -1,20 +0,0 @@ -TARGET = qeglfs-viv-wl-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -INCLUDEPATH += $$PWD/../../api -CONFIG += egl -DEFINES += LINUX=1 EGL_API_FB=1 - -SOURCES += $$PWD/qeglfsvivwlmain.cpp \ - $$PWD/qeglfsvivwlintegration.cpp - -HEADERS += $$PWD/qeglfsvivwlintegration.h - -OTHER_FILES += $$PWD/eglfs_viv_wl.json - -QMAKE_USE_PRIVATE += wayland_server - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSVivWaylandIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_x11/eglfs_x11.pro b/src/plugins/platforms/eglfs/deviceintegration/eglfs_x11/eglfs_x11.pro deleted file mode 100644 index 6b55918f03..0000000000 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_x11/eglfs_x11.pro +++ /dev/null @@ -1,22 +0,0 @@ -TARGET = qeglfs-x11-integration - -QT += core-private gui-private eglfsdeviceintegration-private - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -INCLUDEPATH += $$PWD/../../api - -CONFIG += egl -QMAKE_USE += xcb_xlib xcb xlib - -SOURCES += $$PWD/qeglfsx11main.cpp \ - $$PWD/qeglfsx11integration.cpp - -HEADERS += $$PWD/qeglfsx11integration.h - -OTHER_FILES += $$PWD/eglfs_x11.json - -PLUGIN_TYPE = egldeviceintegrations -PLUGIN_CLASS_NAME = QEglFSX11IntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/eglfs-plugin.pro b/src/plugins/platforms/eglfs/eglfs-plugin.pro deleted file mode 100644 index 90da265000..0000000000 --- a/src/plugins/platforms/eglfs/eglfs-plugin.pro +++ /dev/null @@ -1,17 +0,0 @@ -TARGET = qeglfs - -QT += eglfsdeviceintegration-private - -CONFIG += egl - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -SOURCES += $$PWD/qeglfsmain.cpp - -OTHER_FILES += $$PWD/eglfs.json - -PLUGIN_TYPE = platforms -PLUGIN_CLASS_NAME = QEglFSIntegrationPlugin -!equals(TARGET, $$QT_DEFAULT_QPA_PLUGIN): PLUGIN_EXTENDS = - -load(qt_plugin) diff --git a/src/plugins/platforms/eglfs/eglfs.pro b/src/plugins/platforms/eglfs/eglfs.pro deleted file mode 100644 index d91ffd60a1..0000000000 --- a/src/plugins/platforms/eglfs/eglfs.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = subdirs -CONFIG += ordered - -SUBDIRS += eglfsdeviceintegration.pro -SUBDIRS += eglfs-plugin.pro -SUBDIRS += deviceintegration diff --git a/src/plugins/platforms/eglfs/eglfsdeviceintegration.pro b/src/plugins/platforms/eglfs/eglfsdeviceintegration.pro deleted file mode 100644 index 720e35c226..0000000000 --- a/src/plugins/platforms/eglfs/eglfsdeviceintegration.pro +++ /dev/null @@ -1,47 +0,0 @@ -# The device integration plugin base class has to live in a shared library, -# placing it into a static lib like platformsupport is not sufficient since we -# have to keep the QObject magic like qobject_cast working. -# Hence this private-only module. -# By having _p headers, it also enables developing out-of-tree integration plugins. - -TARGET = QtEglFSDeviceIntegration -CONFIG += internal_module -MODULE = eglfsdeviceintegration - -QT += \ - core-private gui-private \ - devicediscovery_support-private \ - fb_support-private - -qtHaveModule(input_support-private): \ - QT += input_support-private - -qtConfig(opengl): QT += opengl-private - -# Avoid X11 header collision, use generic EGL native types -DEFINES += QT_EGL_NO_X11 - -DEFINES += QT_BUILD_EGL_DEVICE_LIB - -include($$PWD/api/api.pri) - -!isEmpty(EGLFS_PLATFORM_HOOKS_SOURCES) { - HEADERS += $$EGLFS_PLATFORM_HOOKS_HEADERS - SOURCES += $$EGLFS_PLATFORM_HOOKS_SOURCES - LIBS += $$EGLFS_PLATFORM_HOOKS_LIBS - DEFINES += EGLFS_PLATFORM_HOOKS -} - -!isEmpty(EGLFS_DEVICE_INTEGRATION) { - DEFINES += EGLFS_PREFERRED_PLUGIN=$$EGLFS_DEVICE_INTEGRATION -} - -CONFIG += egl - -# Prevent gold linker from crashing. -# This started happening when QtPlatformSupport was modularized. -use_gold_linker: CONFIG += no_linker_version_script - -!contains(DEFINES, QT_NO_CURSOR): RESOURCES += $$PWD/cursor.qrc - -load(qt_module) diff --git a/src/plugins/platforms/haiku/haiku.pro b/src/plugins/platforms/haiku/haiku.pro deleted file mode 100644 index 4978d4ed04..0000000000 --- a/src/plugins/platforms/haiku/haiku.pro +++ /dev/null @@ -1,41 +0,0 @@ -TARGET = qhaiku - -QT += core-private gui-private - -SOURCES = \ - main.cpp \ - qhaikuapplication.cpp \ - qhaikubuffer.cpp \ - qhaikuclipboard.cpp \ - qhaikucursor.cpp \ - qhaikuintegration.cpp \ - qhaikukeymapper.cpp \ - qhaikurasterbackingstore.cpp \ - qhaikurasterwindow.cpp \ - qhaikuscreen.cpp \ - qhaikuservices.cpp \ - qhaikuutils.cpp \ - qhaikuwindow.cpp - -HEADERS = \ - main.h \ - qhaikuapplication.h \ - qhaikubuffer.h \ - qhaikuclipboard.h \ - qhaikucursor.h \ - qhaikuintegration.h \ - qhaikukeymapper.h \ - qhaikurasterbackingstore.h \ - qhaikurasterwindow.h \ - qhaikuscreen.h \ - qhaikuservices.h \ - qhaikuutils.h \ - qhaikuwindow.h - -LIBS += -lbe - -OTHER_FILES += haiku.json - -PLUGIN_TYPE = platforms -PLUGIN_CLASS_NAME = QHaikuIntegrationPlugin -load(qt_plugin) diff --git a/src/plugins/platforms/integrity/integrity.pro b/src/plugins/platforms/integrity/integrity.pro deleted file mode 100644 index 7280f66863..0000000000 --- a/src/plugins/platforms/integrity/integrity.pro +++ /dev/null @@ -1,28 +0,0 @@ -TARGET = integrityfb - -QT += \ - core-private gui-private \ - fb_support-private - -SOURCES = \ - main.cpp \ - qintegrityfbintegration.cpp \ - qintegrityfbscreen.cpp - -HEADERS = \ - qintegrityfbintegration.h \ - qintegrityfbscreen.h - -qtConfig(integrityhid) { - SOURCES += \ - qintegrityhidmanager.cpp - HEADERS += \ - qintegrityhidmanager.h -} - -OTHER_FILES += integrity.json - -PLUGIN_TYPE = platforms -PLUGIN_CLASS_NAME = QIntegrityFbIntegrationPlugin -!equals(TARGET, $$QT_DEFAULT_QPA_PLUGIN): PLUGIN_EXTENDS = - -load(qt_plugin) diff --git a/src/plugins/platforms/ios/ios.pro b/src/plugins/platforms/ios/ios.pro deleted file mode 100644 index 594ccefcf1..0000000000 --- a/src/plugins/platforms/ios/ios.pro +++ /dev/null @@ -1,2 +0,0 @@ -TEMPLATE = subdirs -SUBDIRS = kernel.pro optional diff --git a/src/plugins/platforms/ios/kernel.pro b/src/plugins/platforms/ios/kernel.pro deleted file mode 100644 index 9da26b71ff..0000000000 --- a/src/plugins/platforms/ios/kernel.pro +++ /dev/null @@ -1,79 +0,0 @@ -TARGET = qios - -# QTBUG-42937: Work around linker errors caused by circular -# dependencies between the iOS platform plugin and the user -# application's main() when the plugin is a shared library. -qtConfig(shared): CONFIG += static - -QT += \ - core-private gui-private - -qtConfig(opengl): QT += opengl-private - -LIBS += -framework Foundation -framework UIKit -framework QuartzCore -framework AudioToolbox -framework Metal - -OBJECTIVE_SOURCES = \ - plugin.mm \ - qiosintegration.mm \ - qioseventdispatcher.mm \ - qioswindow.mm \ - qiosscreen.mm \ - qiosbackingstore.mm \ - qiosapplicationdelegate.mm \ - qiosapplicationstate.mm \ - qiosviewcontroller.mm \ - qioscontext.mm \ - qiosinputcontext.mm \ - qiostheme.mm \ - qiosglobal.mm \ - qiosservices.mm \ - quiview.mm \ - quiaccessibilityelement.mm \ - qiosplatformaccessibility.mm \ - qiostextresponder.mm - -HEADERS = \ - qiosintegration.h \ - qioseventdispatcher.h \ - qioswindow.h \ - qiosscreen.h \ - qiosbackingstore.h \ - qiosapplicationdelegate.h \ - qiosapplicationstate.h \ - qiosviewcontroller.h \ - qioscontext.h \ - qiosinputcontext.h \ - qiostheme.h \ - qiosglobal.h \ - qiosservices.h \ - quiview.h \ - quiaccessibilityelement.h \ - qiosplatformaccessibility.h \ - qiostextresponder.h - -!tvos { - LIBS += -framework AssetsLibrary - OBJECTIVE_SOURCES += \ - qiosclipboard.mm \ - qiosmenu.mm \ - qiosfiledialog.mm \ - qiosmessagedialog.mm \ - qiostextinputoverlay.mm \ - qiosdocumentpickercontroller.mm - HEADERS += \ - qiosclipboard.h \ - qiosmenu.h \ - qiosfiledialog.h \ - qiosmessagedialog.h \ - qiostextinputoverlay.h \ - qiosdocumentpickercontroller.h -} - -OTHER_FILES = \ - quiview_textinput.mm \ - quiview_accessibility.mm - -PLUGIN_TYPE = platforms -PLUGIN_CLASS_NAME = QIOSIntegrationPlugin -!equals(TARGET, $$QT_DEFAULT_QPA_PLUGIN): PLUGIN_EXTENDS = - -load(qt_plugin) diff --git a/src/plugins/platforms/ios/optional/nsphotolibrarysupport/nsphotolibrarysupport.pro b/src/plugins/platforms/ios/optional/nsphotolibrarysupport/nsphotolibrarysupport.pro deleted file mode 100644 index 7379765599..0000000000 --- a/src/plugins/platforms/ios/optional/nsphotolibrarysupport/nsphotolibrarysupport.pro +++ /dev/null @@ -1,26 +0,0 @@ -TARGET = qiosnsphotolibrarysupport - -# QTBUG-42937: Since the iOS plugin (kernel) is -# static, this plugin needs to be static as well. -qtConfig(shared): CONFIG += static - -QT += core gui gui-private -LIBS += -framework Foundation -framework UIKit -framework AssetsLibrary - -HEADERS = \ - qiosfileengineassetslibrary.h \ - qiosfileenginefactory.h \ - qiosimagepickercontroller.h - -OBJECTIVE_SOURCES = \ - plugin.mm \ - qiosfileengineassetslibrary.mm \ - qiosimagepickercontroller.mm \ - -OTHER_FILES = \ - plugin.json - -PLUGIN_CLASS_NAME = QIosOptionalPlugin_NSPhotoLibrary -PLUGIN_EXTENDS = - -PLUGIN_TYPE = platforms/darwin -load(qt_plugin) diff --git a/src/plugins/platforms/ios/optional/optional.pro b/src/plugins/platforms/ios/optional/optional.pro deleted file mode 100644 index 6b4ae1ef5e..0000000000 --- a/src/plugins/platforms/ios/optional/optional.pro +++ /dev/null @@ -1,2 +0,0 @@ -TEMPLATE = subdirs -ios: SUBDIRS = nsphotolibrarysupport diff --git a/src/plugins/platforms/linuxfb/linuxfb.pro b/src/plugins/platforms/linuxfb/linuxfb.pro deleted file mode 100644 index 08a4d6dd0c..0000000000 --- a/src/plugins/platforms/linuxfb/linuxfb.pro +++ /dev/null @@ -1,30 +0,0 @@ -TARGET = qlinuxfb - -DEFINES += QT_NO_FOREACH - -QT += \ - core-private gui-private \ - fb_support-private - -qtHaveModule(input_support-private): \ - QT += input_support-private - -SOURCES = main.cpp \ - qlinuxfbintegration.cpp \ - qlinuxfbscreen.cpp - -HEADERS = qlinuxfbintegration.h \ - qlinuxfbscreen.h - -qtHaveModule(kms_support-private) { - QT += kms_support-private - SOURCES += qlinuxfbdrmscreen.cpp - HEADERS += qlinuxfbdrmscreen.h -} - -OTHER_FILES += linuxfb.json - -PLUGIN_TYPE = platforms -PLUGIN_CLASS_NAME = QLinuxFbIntegrationPlugin -!equals(TARGET, $$QT_DEFAULT_QPA_PLUGIN): PLUGIN_EXTENDS = - -load(qt_plugin) diff --git a/src/plugins/platforms/minimal/minimal.pro b/src/plugins/platforms/minimal/minimal.pro deleted file mode 100644 index 54f0ac905f..0000000000 --- a/src/plugins/platforms/minimal/minimal.pro +++ /dev/null @@ -1,21 +0,0 @@ |