Skip to content

Conversation

@eloisebrosseau
Copy link
Contributor

Fix rvcmds.sh Qt version selection

Summarize your change.

The Qt version selection section of rvcmds.sh was refactored to only search for the version that matches the VFX Reference Platform that was chosen.

Describe the reason for the change.

rvcmds.sh was simply looking first for Qt 6.8, then Qt 6.5, then Qt 5.15, which means unnecessary errors were being outputted to the console like so:

Please select the VFX Platform year to build for:
1) CY2023  2) CY2024  3) CY2025  4) CY2026  
Enter a number: 2
Using VFX Platform: CY2024
Searching for Qt installation...
OpenRV/rvcmds.sh:88: no matches found: /Users/brossee1/Qt*/6.8.*
OpenRV/rvcmds.sh:94: no matches found: /Users/brossee1/Qt*/6.8.*
Found Qt 6.5 installation at /Users/brossee1/Qt/6.5.3/macos
Please ensure you have installed any required dependencies from doc/build_system/config_[os]

With this change, we instead get this:

Please select the VFX Platform year to build for:
1) CY2023  2) CY2024  3) CY2025  4) CY2026  
Enter a number: 2
Using VFX Platform: CY2024
Searching for Qt installation...
Found Qt 6.5 installation at /Users/brossee1/Qt/6.5.3/macos
Please ensure you have installed any required dependencies from doc/build_system/config_[os]

Describe what you have tested and on which operating system.

Running source rvcmds.sh for each VFX Reference Platform was tested on macOS.

Signed-off-by: Éloïse Brosseau <eloise.brosseau@autodesk.com>
@linux-foundation-easycla
Copy link

CLA Not Signed

@eloisebrosseau eloisebrosseau changed the title Fix rvcmds.sh Qt version selection Fix Qt version selection in rvcmds.sh Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant