Open Desaydrone opened 1 year ago
Sorry, I recently moved countries and was offline for a while.
I'm not familiar with Fedora, but did you install qt6-qtbase-devel
? It should contain the necessary files
Today I switched from Qt6 to Qt5 on CMakeLists.txt and the plugin was built and worked fine.
On Debian systems the obs-studio is currently built over Qt5, so any plugin must use Qt5.
@@ -18,7 +18,7 @@ if(NOT DEFINED BUILD_IN_OBS)
set(BUILD_IN_OBS OFF)
endif()
-find_package(Qt6 REQUIRED COMPONENTS Widgets)
+find_package(Qt5 REQUIRED COMPONENTS Widgets)
if(NOT ${BUILD_IN_OBS})
set(CMAKE_CXX_STANDARD 20)
@@ -86,7 +86,7 @@ target_link_libraries(${LIBRARY_NAME}
PUBLIC
OBS::libobs
OBS::obs-frontend-api
- Qt6::Widgets
+ Qt5::Widgets
PRIVATE
)
I try to compil this plugin on fedora 37 and i got this error :
I try to install Qt6-base but no change on compiling, what i have to install to make the compil work ?