In commit 33ee7364f7 we have started
moving the macOS build scripts towards using cmake instead of qmake.
This commit fixes some issues introduced in that commit.
Do not call lupdate and lrelease any more because they rely on the qmake
project files and are called by cmake anyway.
Make sure cmake is reinstalled via brew after removing any installed
brew packages.
Set a hint to the Qt5 library path so cmake should be able to find it.
This is a first attempt to use cmake instead of qmake for building our
nightlies on macOS. We are using cmake on most platforms and it would be
easier for us to only maintain one build system. Because support for
qmake is dropped in Qt6 anyway it makes sense to transition to only
using cmake in the near-ish future.
Please note that this commit has been assembled in a mostly blind
fashion. I would be surprised if this worked without further tweaking.
We don't go a git pull of the sqlitebrowser repo for the SQLCipher
build, else the SQLite and SQLCipher builds could differ in the
commits they'd done with.