View Single Post
Old 10-13-2019, 09:20 AM   #22
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,849
Karma: 6120478
Join Date: Nov 2009
Device: many
Very probably not. The reason is that Apple introduced a few new kernel system calls in 10.12 that simply do not exist in 10.11. Then Qt 5.11.x which ran on 10.11, decided to drop support for macOS 10.11 when they transitioned to Qt 5.12.x and later. In that move all of the ifdefs that were used to support 10.11 were removed and many of the new kernel sys calls only available in 10.12 were used.

So you either must try with Qt5.11.x which was pretty broken on macOS or upgrade to 10.12 and then Qt 5.12.x will build out of the box.

Please note, most standard opensource configure scripts used for most linux platforms are broken on macOS in that they only look at the current headers and ignore the MACOS_DEPLOYMENT_TARGET setting. So they will detect the new kernel calls in 10.12 even if you specify 10.11 as the deployment target. I literally have to patch most configure scripts to build for 10.11 or 10.12 when I use 10.13 or later sdk to prevent the new kernel calls from being detected and used by configure.

This happens in libpng, libjpegturbo, python 3.x, etc.

Unless you are aware of this, it is just easier to build on the version of macOS that you want to deploy for. That is why I am keeping my own dev machines running 10.12 or 10.13 and have not or will not move to 10.14 or later until forced by Qt or other required package.
KevinH is offline   Reply With Quote