代码拉取完成,页面将自动刷新
同步操作将从 MediaState/MediaStateT 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
cmake_minimum_required(VERSION 3.21)
project(MediaStateT)
set(CMAKE_CXX_STANDARD 17)
#包含当前目录
#set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
#设置qt的cmake编译目录,包含了qt模块编译需要的cmake文件
set(CMAKE_PREFIX_PATH "E:/Qt/6.6.1/mingw_64")
find_package(Qt6 COMPONENTS
Core
Gui
Widgets
Quick
Svg
Xml
Charts
REQUIRED)
#设置第三方头文件路径
include_directories("./include")
include_directories("./Libraries/FFMPEG/include")
include_directories("./Libraries/fftw-3.3.5-dll64")
include_directories("./Libraries/Json")
include_directories("./Libraries/Libcurl_7.78_dll_x64/include")
include_directories("./Libraries/PersonalLibraries/Netease_Music_info/include")
include_directories("Libraries/PersonalLibraries/FileBasicInformation/include")
include_directories("Libraries/QHotkey/QHotkey")
include_directories("Libraries/PersonalLibraries/StartWithSystem/include")
include_directories("Libraries/PersonalLibraries/AudioSource/include")
#引入库文件
link_directories(./Libraries/FFMPEG/lib)
link_directories(./Libraries/fftw-3.3.5-dll64)
link_directories(./Libraries/Libcurl_7.78_dll_x64/lib)
#包含需要编译的文件
set(SOURCE_FILES src/main.cpp)
set(RESOURCE_FILES qml/media_stateT.qml qml/PopWindow.qml qml/TextScroll.qml
qml/PageAudioFrequency.qml qml/PageMenu.qml)
set(QRC_FILES media_stateT.qrc src/MtMediaInfo.cpp include/MtMediaInfo.h
Libraries/PersonalLibraries/Netease_Music_info/Netease_Music_info.cpp
Libraries/PersonalLibraries/QQ_Music_info/QQ_Music_info.cpp
Libraries/PersonalLibraries/StartWithSystem/StartWithSystem.cpp
Libraries/PersonalLibraries/StartWithSystem/include/StartWithSystem.h
Libraries/QHotkey/QHotkey/qhotkey.cpp
Libraries/QHotkey/QHotkey/qhotkey_win.cpp
Libraries/PersonalLibraries/AudioSource/AudioSource.cpp
Libraries/PersonalLibraries/AudioSource/include/AudioSource.h src/FFTW_Call.cpp
include/FFTW_Call.h src/MtFrequencyInfo.cpp include/MtFrequencyInfo.h src/InfoCommunication.cpp
include/InfoCommunication.h
src/MtBoardConnect.cpp
include/MtBoardConnect.h
src/MtFrequencyThreadInterface.cpp
include/MtFrequencyThreadInterface.h
src/InfoCommunicationThreadInterface.cpp
include/InfoCommunicationThreadInterface.h
src/MtFrequencyForQml.cpp
include/MtFrequencyForQml.h
src/Acrylic.cpp
include/Acrylic.h
include/WindowCompositionAttribute.h)
set(OTHER_FILES icon/icon_setting.rc)
# 加入WIN32取消显示console
add_executable(MediaStateT
${SOURCE_FILES} ${RESOURCE_FILES} ${QRC_FILES} ${OTHER_FILES})
#set_target_properties(MediaStateT PROPERTIES
# WIN32_EXECUTABLE TRUE
#)
target_link_libraries(MediaStateT
Qt6::Core
Qt6::Gui
Qt6::Widgets
Qt6::Quick
Qt6::Svg
Qt6::Xml
Qt6::Charts
)
target_link_libraries(MediaStateT libcurl)
target_link_libraries(MediaStateT avcodec avdevice avfilter
avformat avutil postproc swresample swscale)
target_link_libraries(MediaStateT libfftw3-3)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。