Error when compiling with Qt6 on macOS

Kornel Benko kornel at lyx.org
Thu Mar 25 16:31:31 UTC 2021


Am Thu, 25 Mar 2021 14:50:20 +0100
schrieb Christoph Schmitz <chr.schmitz at web.de>:

> One library is obviously not installed by Homebrew: Qt6MacExtrasConfig. I searched for
> the two files manually, but without success.
> 
> -- CMake error message:
> 
> TOP_SRC_DIR = /Users/chris/Git/LyX
> 
> Building out-of-source
> Selecting build type defaults from configure.ac
> 
> CXX11_FLAG_DETECTED = "--std=c++17 -Wno-deprecated-register"
> Compiler supports std_regex
> Using clang
> CMake Error at CMakeLists.txt:793 (find_package):
> Could not find a package configuration file provided by "Qt6MacExtras" with
> any of the following names:
> 
> Qt6MacExtrasConfig.cmake
> qt6macextras-config.cmake
> 
> Add the installation prefix of "Qt6MacExtras" to CMAKE_PREFIX_PATH or set
> "Qt6MacExtras_DIR" to a directory containing one of the above files. If
> "Qt6MacExtras" provides a separate development package or SDK, be sure it
> has been installed.

OK, I will ignore Qt6MacExtras for Qt6. (commit 9b03680a)

> Configuring incomplete, errors occurred!
> See also "/Users/chris/Git/LyX/build/CMakeFiles/CMakeOutput.log".
> See also "/Users/chris/Git/LyX/build/CMakeFiles/CMakeError.log".
> 
> Chris
> 
> 
	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210325/e1f6d288/attachment.asc>


More information about the lyx-devel mailing list