• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision2d1682ee436d375454e926d4be9b01b918e4243b (tree)
Zeit2024-05-10 22:12:52
AutorFs <Fsu0413@vip....>
CommiterFs

Log Message

error out when using OpenSSL for static Qt builds

Ändern Zusammenfassung

Diff

--- a/Compile/lib/Configuration.lua
+++ b/Compile/lib/Configuration.lua
@@ -590,7 +590,11 @@ conf.Qt.generateConfTable = function(self, host, job, buildTime)
590590
591591 -- OpenSSL libraries
592592 if jobConfigureDetail.opensslConf then
593- local opensslLibPath = conf.OpenSSL.configurations[jobConfigureDetail.opensslConf][(staticBuild and "static" or "") .. "libPath"]
593+ if staticBuild then
594+ error("[Configuration] Currently no static build of Qt should support OpenSSL.")
595+ end
596+
597+ local opensslLibPath = conf.OpenSSL.configurations[jobConfigureDetail.opensslConf].libPath
594598 if opensslLibPath then
595599 local targetDir = "lib"
596600 -- todo: deal with the condition where the OpenSSL libs are symbolic link to the real file (only for unix)
@@ -602,13 +606,13 @@ conf.Qt.generateConfTable = function(self, host, job, buildTime)
602606 end
603607
604608 -- for Qt 6.5+ links OpenSSL to QtBase
605- if (not jobConfigureDetail.crossCompile) and (not staticBuild) then
609+ if (not jobConfigureDetail.crossCompile) then
606610 if string.sub(conf.hostToConfMap[host], 1, 3) == "win" then
607611 table.insert(ret.path, commandLineReplacement.OPENSSLDIR .. configureHost.pathSep .. "bin")
608612 elseif string.sub(conf.hostToConfMap[host], 1, 3) == "mac" then
609613 -- This is not passed through shell and is recognized and cleared when a process is run, and since build process are always called by the build tool this environment variable set is of no use
610614 -- now the workaround is keeping the OpenSSL build directory during build process
611- -- Once the Qt library is installed one can run "install_name_tool" to replace the path of OpenSSL libraries
615+ -- Once the Qt library is installed one can run "install_name_tool" to replace the path of OpenSSL libraries (TODO)
612616 -- ret.envSet.DYLD_LIBRARY_PATH = commandLineReplacement.OPENSSLDIR .. configureHost.pathSep .. "lib"
613617 end
614618 end