I was feeling a little adventurous so I tried to build obs-studio in openbsd.
First, I need cmake so I installed it from packages.
In running cmake, it choked on the c++11 flags, so i did an ‘export
CXX=clang++’, (i have the clang package installed) and that fixed that.
After a little while, cmake gave me this error:
CMake Error at UI/CMakeLists.txt:36 (find_package):
By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Widgets", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:
Qt5WidgetsConfig.cmake
qt5widgets-config.cmake
Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
"Qt5Widgets_DIR" to a directory containing one of the above files. If
"Qt5Widgets" provides a separate development package or SDK, be sure it has
been installed.
I sighed, installed qt5, and about 5,000 package installs later (ok, maybe not
quite that many), it still didn’t work.
Is Qt5Widgets something that just isn’t ported to OpenBSD? Or is there some
cmake voo-doo I have to do to make this work?
Any ideas?
Jordon