
QT6 Apparently means a lot of changes, these are the changes I've found to make at least CPP build. The problem is we just got rid of a lot of CPP and I don't know if the application will work. On the other hand, the QML isn't finished yet either, but this is the start of updating the application for QT6 and using MpvQt which is being built and maintained by KDE. This will be better as they'll keep the library updated for future QT updates so long as I still track with Kirigami.
29 lines
822 B
CMake
29 lines
822 B
CMake
|
|
add_executable(lumina main.cpp resources.qrc)
|
|
|
|
target_sources(lumina
|
|
PRIVATE
|
|
main.cpp resources.qrc
|
|
# cpp/songsqlmodel.cpp cpp/songsqlmodel.h
|
|
# cpp/serviceitemmodel.cpp cpp/serviceitemmodel.h
|
|
# cpp/serviceitem.cpp cpp/serviceitem.h
|
|
# cpp/slidehelper.cpp cpp/slidehelper.h
|
|
# cpp/slidemodel.cpp cpp/slidemodel.h
|
|
# cpp/slide.cpp cpp/slide.h
|
|
# cpp/videosqlmodel.cpp cpp/videosqlmodel.h
|
|
# cpp/imagesqlmodel.cpp cpp/imagesqlmodel.h
|
|
# cpp/filemanager.cpp cpp/filemanager.h
|
|
# cpp/presentationsqlmodel.cpp cpp/presentationsqlmodel.h
|
|
cpp/mpv/mpvitem.h cpp/mpv/mpvitem.cpp
|
|
cpp/mpv/mpvproperties.h
|
|
)
|
|
|
|
target_compile_options (lumina PUBLIC -fexceptions)
|
|
|
|
target_link_libraries(lumina PRIVATE
|
|
${AVUTIL_LIBRARIES}
|
|
${AVFILTER_LIBRARIES}
|
|
${AVFORMAT_LIBRARIES}
|
|
${AVCODEC_LIBRARIES}
|
|
${SWSCALE_LIBRARIES}
|
|
)
|