This is related to Object file was built for newer OSX version than being linked
Here on macOS Monterey M1 macbook, I'm using Qt5.15.6 from vcpkg. On qmake project I add
CONFIG+=sdk_no_version_check
QMAKE_MACOSX_DEPLOYMENT_TARGET = 12.0
And it seems I can build/run a Qt project. There is a minor issue though, at the end of build it prints
ld: warning: directory not found for option 'L/Users/user/vcpkg/installed/arm64-osx/debug/lib/manual-link'
What is this warning about? How can I fix it?