Avidemux Forum

Avidemux => Unix-Like (Linux/Bsd/...) => Topic started by: sl1pkn07 on September 22, 2021, 07:42:48 PM

Title: fail build Qt6 Vapoursynth plugin
Post by: sl1pkn07 on September 22, 2021, 07:42:48 PM
When bluild Qt6 vapoursynth plugins spurt tons of error about missing something in

avidemux_plugins/ADM_demuxers/VapourSynth/qt4/vsProxy_qt4.cpp

the log is attached

i try fix myself, but none is working

but no problems in Qt5 build

any help?

only build ok if dissable VS support in Qt6 build

greetings
Title: Re: fail build Qt6 Vapoursynth plugin
Post by: eumagga0x2a on September 22, 2021, 07:47:16 PM
Maybe it needs

ADD_DEFINITIONS("-std=c++17")
in CMakeLists.txt?
Title: Re: fail build Qt6 Vapoursynth plugin
Post by: sl1pkn07 on September 22, 2021, 08:42:16 PM
i tried add that in CXXFLAGS ('m not sure if do the same effect) and not works
Title: Re: fail build Qt6 Vapoursynth plugin
Post by: sl1pkn07 on September 22, 2021, 08:45:18 PM
in avidemux/qt4/CMakeLists.txt have this

#
##########################################
# Config
##########################################
ADD_DEFINITIONS(-DADM_UI_TYPE_BUILD=ADM_UI_QT4)
SET(CONFIG_HEADER_TYPE ADM_BUILD_QT4)
SET(UI_SUFFIX ${QT_EXTENSION})
IF (${QT_EXTENSION} STREQUAL "qt6")
    SET(CMAKE_CXX_STANDARD 17)
    SET(CMAKE_CXX_STANDARD_REQUIRED ON)
    SET(CMAKE_CXX_EXTENSIONS OFF)
ENDIF (${QT_EXTENSION} STREQUAL "qt6")
Title: Re: fail build Qt6 Vapoursynth plugin
Post by: eumagga0x2a on September 22, 2021, 08:54:29 PM
I meant in avidemux_plugins/ADM_demuxers/VapourSynth/qt4/CMakeLists.txt:4
Title: Re: fail build Qt6 Vapoursynth plugin
Post by: sl1pkn07 on September 22, 2021, 09:38:13 PM
in that file working

thanks

have you summit a fix to github?

greetings
Title: Re: fail build Qt6 Vapoursynth plugin
Post by: eumagga0x2a on September 22, 2021, 09:39:28 PM
Not yet. I'll try not to forget about it.
Title: Re: fail build Qt6 Vapoursynth plugin
Post by: sl1pkn07 on October 18, 2021, 07:18:03 PM
done in github

https://github.com/mean00/avidemux2/commit/a9a0cdf87814a72930b561bcfbbdae6af4748c18

tnx