News:

--

Main Menu

fail build Qt6 Vapoursynth plugin

Started by sl1pkn07, September 22, 2021, 07:42:48 PM

Previous topic - Next topic

sl1pkn07

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

eumagga0x2a

Maybe it needs

ADD_DEFINITIONS("-std=c++17")
in CMakeLists.txt?

sl1pkn07

i tried add that in CXXFLAGS ('m not sure if do the same effect) and not works

sl1pkn07

#3
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")

eumagga0x2a

I meant in avidemux_plugins/ADM_demuxers/VapourSynth/qt4/CMakeLists.txt:4

sl1pkn07

in that file working

thanks

have you summit a fix to github?

greetings

eumagga0x2a

Not yet. I'll try not to forget about it.