QT += core widgets opengl

CONFIG += c++11

TARGET = test_avplayer
TEMPLATE = app

# 包含AVPlayer库
include(AvPlayer.pri)

# FFmpeg库路径 - 需要根据实际安装路径调整
win32 {
    # FFmpeg include路径
    INCLUDEPATH += C:/ffmpeg/include
    
    # FFmpeg库路径
    LIBS += -LC:/ffmpeg/lib \
            -lavcodec \
            -lavformat \
            -lavutil \
            -lswscale \
            -lswresample
}

# 源文件
SOURCES += test_avplayer.cpp

# 如果需要，可以添加资源文件
# RESOURCES += resources.qrc

# 输出目录
DESTDIR = $$PWD/bin

# 临时文件目录
OBJECTS_DIR = $$PWD/build/obj
MOC_DIR = $$PWD/build/moc
RCC_DIR = $$PWD/build/rcc
UI_DIR = $$PWD/build/ui