I have been building the code using this
streaming-remote$ mkdir build streaming-remote$ cd build build$ cmake ../plugins \ -DWITH_XSPLIT_PLUGIN=ON \ -DWITH_OBS_PLUGIN=ON \ -DOBS_SOURCE_DIR=/path/to/obs-source build$ make
when executing the last line following errors pop up
`
/home/oan/Downloads/streaming-remote-master/plugins/xsplit/plugin-main.cpp: In function ‘BOOL XSplitScriptPluginInit()’:
/home/oan/Downloads/streaming-remote-master/plugins/xsplit/plugin-main.cpp:48:26: error: ‘create’ is not a member of ‘QThread’
appThread = QThread::create(
^~
/home/oan/Downloads/streaming-remote-master/plugins/xsplit/plugin-main.cpp: In function ‘BOOL XSplitScriptPluginCall(IXSplitScriptDllContext, BSTR, wchar_t, UINT, wchar_t)’:
/home/oan/Downloads/streaming-remote-master/plugins/xsplit/plugin-main.cpp:74:7: error: no matching function for call to ‘QMetaObject::invokeMethod(XSplit&, XSplitScriptPluginCall(IXSplitScriptDllContext*, BSTR, wchar_t, UINT, wchar_t)::<lambda()>, Qt::ConnectionType)’
);
`
Here it gives two errors; one on create() function and other on invokeMethod. I am unable to debug them.
I also have attached the full output. Moreover, I'm using qt5 and ubuntu 18. Please guide me quick. I'm in hurry.
Well, I kept on trying and eventually found out that I was using qt 5.9.xx which did not support these functions fully. So, I installed qt 5.13 and did the work again and compiled it.
I have been building the code using this
streaming-remote$ mkdir build streaming-remote$ cd build build$ cmake ../plugins \ -DWITH_XSPLIT_PLUGIN=ON \ -DWITH_OBS_PLUGIN=ON \ -DOBS_SOURCE_DIR=/path/to/obs-source build$ make
when executing the last line following errors pop up
` /home/oan/Downloads/streaming-remote-master/plugins/xsplit/plugin-main.cpp: In function ‘BOOL XSplitScriptPluginInit()’: /home/oan/Downloads/streaming-remote-master/plugins/xsplit/plugin-main.cpp:48:26: error: ‘create’ is not a member of ‘QThread’ appThread = QThread::create( ^
~/home/oan/Downloads/streaming-remote-master/plugins/xsplit/plugin-main.cpp: In function ‘BOOL XSplitScriptPluginCall(IXSplitScriptDllContext, BSTR, wchar_t, UINT, wchar_t)’: /home/oan/Downloads/streaming-remote-master/plugins/xsplit/plugin-main.cpp:74:7: error: no matching function for call to ‘QMetaObject::invokeMethod(XSplit&, XSplitScriptPluginCall(IXSplitScriptDllContext*, BSTR, wchar_t, UINT, wchar_t)::<lambda()>, Qt::ConnectionType)’ );`
Here it gives two errors; one on
create()
function and other oninvokeMethod
. I am unable to debug them. I also have attached the full output. Moreover, I'm using qt5 and ubuntu 18. Please guide me quick. I'm in hurry.log.txt