[Development] 回复: Conflict between Homebrew policy and Qt6

Thiago Macieira thiago.macieira at intel.com
Fri Feb 5 07:08:36 CET 2021


On Thursday, 4 February 2021 17:52:16 PST Paper Chalice wrote:
> Thanks for your reply,
> homebrew installs software into /usr/local/Cellar/software_name/version​
> then symlink the content in bin, lib, share to /usr/local​. If someone
> installs qt at 6 through homebrew and want to install additional libraries,
> e.g. qt3d, qmake will not find the qt3d, because qmake find the content
> installed in /usr/local/Cellar/qt at 6/version not in /usr/local , after that
> workaround patch, qmake can find all necessary files in /usr/local. Install
> qt3d in qt's prefix is not allowed in homebrew, permission denied, due to
> the homebrew sandbox. Using CMake doesn't have this problem.
> 
> The qt5 formula now in homebrew is keg_only, which means it was not
> symlinked into /usr/local,so qt6 and qt5 can be or may be coinstalled
> system-widely . and the rename or move of the tools may not a problem in
> homebrew, because formula can modify the directory layout. Really
> appreciate your help.

You should treat qt5 and qt6 as two completely separate formulae, not two 
different versions of one.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering





More information about the Development mailing list