Added rudimentary support for Qt on Linux
This commit is contained in:
parent
f2d0c98ffe
commit
e3299d5662
@ -31,6 +31,9 @@ elseif(APPLE)
|
||||
set(libobs-opengl_PLATFORM_DEPS
|
||||
${COCOA}
|
||||
${IOSURF})
|
||||
else()
|
||||
set(libobs-opengl_PLATFORM_SOURCES
|
||||
gl-x11.c)
|
||||
endif()
|
||||
|
||||
set(libobs-opengl_SOURCES
|
||||
|
@ -211,7 +211,7 @@ fail0:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
extern void gl_platform_destroy(struct gl_platform *platform)
|
||||
void gl_platform_destroy(struct gl_platform *platform)
|
||||
{
|
||||
if (!platform)
|
||||
return;
|
||||
|
@ -61,7 +61,7 @@ char *find_plugin(const char *plugin)
|
||||
if (check_lib_path(plugin, "obs-plugins/", &output))
|
||||
return output.array;
|
||||
|
||||
if (check_lib_path(plugin, OBS_INSTALL_PREFIX "lib/obs-plugins",
|
||||
if (check_lib_path(plugin, OBS_INSTALL_PREFIX "lib/obs-plugins/",
|
||||
&output))
|
||||
return output.array;
|
||||
|
||||
|
@ -46,6 +46,6 @@ void QTToGSWindow(QWidget *widget, gs_window &gswindow)
|
||||
#elif __APPLE__
|
||||
/* TODO: mac */
|
||||
#else
|
||||
/* TODO: unix */
|
||||
gswindow.id = widget->winId();
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user