qt: Prefix makefile variables with QT_ #23242
pull promag wants to merge 1 commits into bitcoin:master from promag:2021-10-qt-makefile changing 1 files +7 −7-
promag commented at 11:44 am on October 9, 2021: memberImproves consistency and readability if future QML variables are added.
-
hebasto commented at 11:57 am on October 9, 2021: memberConcept ACK. Use scripted-diff?
-
DrahtBot added the label Build system on Oct 9, 2021
-
DrahtBot added the label GUI on Oct 9, 2021
-
shaavan commented at 1:39 pm on October 9, 2021: contributor
Concept ACK
This PR focuses on improving the consistency and readability of Makefile.qt.include by renaming the variable per their proper function and usage. Since there is a high probability of introducing new QML variables in the future, this is a small but necessary change.
As we are on the matter of variable naming consistency, I want to add something, though. In the Makefile.qt.include on lines 292 and 324. Shouldn’t the variable
BITCOIN_RS
also be renamed toBITCOIN_QT_RS
? -
laanwj commented at 12:21 pm on October 13, 2021: member
No objections, this probably improves the variable naming. Checked that none of the old names remain.
Code review ACK e8b6e7ccb45c0189ccc953589b8083a7fe0c56a8
-
hebasto approved
-
hebasto commented at 8:06 pm on October 13, 2021: memberACK e8b6e7ccb45c0189ccc953589b8083a7fe0c56a8
-
promag force-pushed on Oct 13, 2021
-
scripted-diff: Prefix makefile variables with QT_
Improves consistency and readability if future QML variables are added. -BEGIN VERIFY SCRIPT- sed -i \ -e 's/RES_ANIMATION/QT_RES_ANIMATION/g' \ -e 's/RES_FONTS/QT_RES_FONTS/g' \ -e 's/RES_ICONS/QT_RES_ICONS/g' \ -e 's/BITCOIN_RC/BITCOIN_QT_RC/g' \ src/Makefile.qt.include -END VERIFY SCRIPT-
-
promag force-pushed on Oct 13, 2021
-
hebasto approved
-
hebasto commented at 8:32 pm on October 13, 2021: memberre-ACK eb04badcd6108e17c8ec78e9c316775c334030cb, only suggested changes, and script-diff used.
-
shaavan approved
-
shaavan commented at 11:31 am on October 14, 2021: contributor
Code Review ACK eb04badcd6108e17c8ec78e9c316775c334030cb
Changes since my last review:
- Renamed
BITCOIN_RC
->BITCOIN_QT_RC
- Used scripted-diff in commit message
- Renamed
-
MarcoFalke merged this on Oct 14, 2021
-
MarcoFalke closed this on Oct 14, 2021
-
promag deleted the branch on Oct 14, 2021
-
sidhujag referenced this in commit c0030feb82 on Oct 14, 2021
-
hebasto referenced this in commit 13a95074e2 on Oct 19, 2021
-
DrahtBot locked this on Oct 30, 2022
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-21 15:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-21 15:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me