OpenRV icon indicating copy to clipboard operation
OpenRV copied to clipboard

MacOS build instruction QT directory

Open finnschi opened this issue 2 years ago • 3 comments

cmake -B cmake-build -DCMAKE_BUILD_TYPE=Release -DRV_DEPS_QT5_LOCATION=$HOME/Qt5.15.11/5.15.11/clang_64

readme tells me to install qt 5.15.2 which defaults installs to

/$HOME/Qt/5.15.2/

so the command should be

cmake -B cmake-build -DCMAKE_BUILD_TYPE=Release -DRV_DEPS_QT5_LOCATION=$HOME/Qt/5.15.2/clang_64

finnschi avatar Jan 19 '23 17:01 finnschi

Might be in /opt/QT/...

NicTanghe avatar Jan 19 '23 19:01 NicTanghe

tried on 3 macs now and it was always in $HOME/Qt/5.15.2/clang_64 by default using the installer from QT as suggested by the build guide.

finnschi avatar Jan 19 '23 22:01 finnschi

Hi, I agree the path in the build guide should probably be 5.15.2 to match the README.

You can also try sourcing the rvcmds.sh file in the root to setup the build commands for you.

source rvcmds.sh
rvmk

Please make sure the paths echoed after you source the rvcmds are correct, and override them with envars if not.

rogernelson avatar Jan 20 '23 14:01 rogernelson

did you find a binary installer for 5.15.2 or did you build from source? i can't seem to find a binary installer anywhere on qt's site?

etiam avatar Jan 22 '23 04:01 etiam

Hi @etiam,

you can run the regular online installer (qt-unified-macOS...) and select 5.15.2 in the components section:

Screenshot 2023-01-22 at 09 02 05

Cheers, Christian

p2or avatar Jan 22 '23 08:01 p2or

thanks for the info Christian. i did not see those options in the installer i downloaded (qt-unified-macOS-x64-4.5.1-online.dmg) but after changing the "Selected Categories" to Archive and LTS and waiting awhile i was able to find 5.15.2. strange.

Screenshot 2023-01-22 at 8 27 57 AM

etiam avatar Jan 22 '23 16:01 etiam

The initial issue got fixed in #17. I am now closing this issue.

geffrak avatar Jan 24 '23 16:01 geffrak