COVESA / dlt-viewer

Diagnostic Log and Trace viewing program
Other
410 stars 238 forks source link

MacOS qt5 arm64 build #485

Closed hannesa2 closed 1 month ago

hannesa2 commented 1 month ago

Build on a arm64 MacOS

bunty95 commented 1 month ago

@hannesa2 below changes will fix the issues you are having on arm64 with MacOS. Replace relevant sections (line 14 and 38) or check my build.sh

build.sh if [[ $(uname -m) == 'arm64' ]]; then Qt5_DIR="/opt/homebrew/opt/qt@5"

cmake -G Ninja \ -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} \ -DCMAKE_PREFIX_PATH=${Qt5_DIR}/lib/cmake \

Let me know if there are any issues.

hannesa2 commented 1 month ago

@bunty95 Sorry, it's not working https://github.com/COVESA/dlt-viewer/pull/485/commits/f33946ecd901f1779dbe27e31f5b52f2a370726e

Please can you can make a pull request on top of this one ? This would be the most efficient way.

bunty95 commented 1 month ago

@hannesa2 I will make a pull request using the fork you have.