[Bug 266389] devel/qtcreator configure fails if yaml-cpp is installed, also does not build if googletest installed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 24 20:05:19 BST 2022


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266389

--- Comment #9 from Florian Walpen <dev at submerge.ch> ---
Did some brief tests, patch looks good to me.

Some info for the maintainers: QtCreator wants the complete Googletest sources,
not just headers and library as provided by devel/googletest. If present, the
QtCreator build compiles its own copy of the source files, but finds the
headers in the system include path first - obviously they are incompatible.
Removing the system include path is not an option, and I couldn't find a quick
way to reverse the order of the include paths. Thus disable Googletest
altogether, QtCreator application works fine without it.

Regarding yaml-cpp, setting this flag probably only works because of the way
QtCreator reimplements cmake/Findyaml-cpp.cmake. But that part of the build has
been pretty stable for some years.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list