-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[qt5]Fix static build failure in windows #7108
[qt5]Fix static build failure in windows #7108
Conversation
…ly copy qtmain library files.
I am temporarily unable to solve these problems, so temporarily use qt5 built-in freetype source.
|
…ndence tools path.
…se files to the lib(debug/lib) folder by installing qt5-tools.
The windows port doesn't need to compile against freetype. https://doc.qt.io/archives/qt-5.11/qtgui-attribution-freetype.html
https://github.com/microsoft/vcpkg/blob/master/ports/qt5-base/portfile.cmake#L41 The back slashes in your code snippet give it away that it was compiled on Windows. And I can see that Does this then mean that there needs to be a conditional for Windows which uses |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Since qt5-linux has been fixed, create a new PR #7313 to solve this issue. |
staticlib
is no longer supported in static builds, replacing it withstatic
.qmake_all
to build qt5 and other modules in windows-static, it seems to break the disabled parameters during the build. See documentation.Fix the failure of qt5 module build in windows-static (caused by #5293):
Related: #4560 #6240 #5881 #731 #513.
NOTE: Need to wait for PR #7230 to merge.