AcademySoftwareFoundation / OpenRV

Open source version of RV, the Sci-Tech award-winning media review and playback software.
Other
550 stars 127 forks source link

[Bug]: QT_HOME hardcoded by rvcmds.sh leads to Open RV build configuration error when calling rvcfg #502

Closed bernie-laberge closed 3 days ago

bernie-laberge commented 4 days ago

What happened?

QT_HOME is hardcoded by rvcmds.sh. Unless Qt happens to be installed to this exact location, Open RV build configuration will report an error when rvcfg is called:

CMake Error at cmake/macros/rv_stage.cmake:422 (EXECUTE_PROCESS):
EXECUTE_PROCESS error getting child return code: The system cannot find the
file specified
Call Stack (most recent call first):
src/plugins/rv-packages/additional_nodes/CMakeLists.txt:11 (RV_STAGE)

-- Configuring incomplete, errors occurred!

This is solved by the Open RV builder by setting the QT_HOME env var to the correct Qt location in .bashrc but it would be nice if rvcmds.sh could have some intelligence to figure out the Qt location on its own.

Example: https://github.com/AcademySoftwareFoundation/OpenRV/discussions/91#discussioncomment-6341400

List all the operating systems versions where this is happening

Not OS specific

On what computer hardware is this happening?

Not hardware specific

Relevant console log output

No response

Environment variables

No response

Extra information

No response

Code of Conduct