-
Notifications
You must be signed in to change notification settings - Fork 37.7k
build: Make the help string for --with-gui configure option unambiguous #18361
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
Conversation
This change adds the correct suffix to debug mode .pc filenames for MinGW and also to the Qt libraries listed in the `Requires` field. The filename adjustment fixes the accidental overwriting of release mode .pc files with the debug mode variant which required the wrong variant of the libraries when `debug_and_release` is active. Note that macOS also supports the `debug_and_release' configuration but may use the regular library names together with DYLD_IMAGE_SUFFIX. Creation of *_debug.pc files is turned off as they're identical to their non-debug counterparts. More info: - QTBUG-4155 - Qt commit a0d8fb4ac3cb7bafdb39f340055eacee4f957513
This change adds to the BITCOIN_QT_CONFIGURE script ability to use pkg-config for MinGW. All of the non-pkg-config paths are removed as needless. If depends is built with DEBUG=1 the configure script fails to pickup Qt: - for macOS host (similar, but not the same as issue 16391) - for Windows host (regression)
QT_STATICPLUGIN is defined in BITCOIN_QT_CONFIGURE macro.
This change removes discrepancies between the help string and actual behavior of the configure script. Also "yes" value is described explicitly.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
The PR description has been updated on @ryanofsky's request. |
Thanks for updating, new description makes this much more understandable. Two things I don't understand:
|
There is a new error if value is not expected. PR description has been updated.
PR description has been updated. |
Rather not. Isn't Qt 6 around the corner? |
Closing until Qt 6. |
This PR changes the help string for
--with-gui
option of theconfigure
script in the following way:--with-gui
is equivalent to--with-gui=qt5
--with-gui
values: theconfigure
script raises an error if a value in--with-gui=value
is not expectedOn master (3d28c88):
With this PR:
Also the
QT_LIB_PREFIX
variable is removed for code simplicity and readability.This PR does not change behavior of the
configure
script for known values of the--with-gui
option, and raises an error otherwise.Fix #17813
Based on #18297 (492971d..8a26848)