[LyX/master] Improved Qt framework configuration detection on macOS, add support for Qt6

Kornel Benko kornel at lyx.org
Mon Oct 25 15:19:16 UTC 2021


Am Mon, 25 Oct 2021 16:52:32 +0200
schrieb Stephan Witt <st.witt at gmx.net>:
...
> > Does removing line src/tex2lyx/test/CMakeLists.txt:91 help?
> > 	DEPENDS ${_tex2lyx} ${_lyx}
> > 
> > If that is the case we have to figure out how to allow this dependency.  
> 
> Ummhh… 
> 
> $ time cmake ...
> real	6m31.442s
> user	1m24.341s
> sys	0m21.489s
> 
> This is a real fast system. But it’s horrible slow.

You are configuring with '-DLYX_ENABLE_EXPORT_TESTS:BOOL=ON' probably. The creating of
7000 export tests makes it slow.

> The change to cure the error above is to delete (or comment) lines 94 and 95:
> 
> updatetex2lyxtests DEPENDS Tex2lyxFilesUpdated
> 
> But the build fails with the errors in attached log.
> 
> Stephan
> 
> [xcode-cmake-build.log  application/octet-stream (42288 Bytes)] 

Could you check the difference in the clang-command line (automake vs cmake created
commands)?
Maybe difference in include paths. How else can be explained for instance


	In file included
	from /Users/lyx/Development/lyx/src/frontends/WorkAreaManager.cpp:16: In file
	included
	from /Users/lyx/Development/lyx/src/frontends/Application.h:17: /Users/lyx/Development/lyx/src/support/strfwd.h:56:28:
	error: reference to 'char_traits' is ambiguous typedef basic_string<char,
	char_traits<char>, allocator<char> > string;
	^ /Users/lyx/Development/lyx/src/support/strfwd.h:49:32: note: candidate found by
	name lookup is 'std::char_traits' template<typename Char> struct char_traits;

?

	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/20211025/c38f10c5/attachment.asc>


More information about the lyx-devel mailing list