compile error: "Neither Qt5 or Qt6 were found" although Qt6.5 is installed

IchBinsMoritz

New Member
Hello,
I tried on my Fedora 38 machine to compile OBS because I need the libobs for the plugin https://github.com/jbwong05/obs-pulseaudio-app-capture to compile it. I tried to compile Obs and installed all dependencies from the error messages. But after installing qt 6 it shows still the message
Code:
CMake Error at cmake/Modules/ObsHelpers.cmake:368 (message):
  Neither Qt5 or Qt6 were found
Call Stack (most recent call first):
  libobs/CMakeLists.txt:13 (find_qt)
. I tried to install Qt with the RPM repo and with the installer from Qt themself. Does anyone know the Answer?

Thanks in advance for the solutions
 

markusd1984

New Member
Got the same error today in CMake GUI for windows. I tried setting the QTDIR path to C:\Qt and using Qt6 from obs-deps repo release to no avail.

CMake Error at cmake/ObsPluginHelpers.cmake:104 (message):
Neither Qt6 nor Qt5 found.
Call Stack (most recent call first):
CMakeLists.txt:89 (find_qt)

I then tried C:\Users\markus\Documents\obs-build-dependencies\windows-deps-2023-04-12-x64\lib\cmake\Qt6 which seemed to have worked.
You may need to point to the lib\cmake\Qt5 folder?
 
Top