Files
CodeRepository/Samples/Sample.Vlc/Sample.Vlc.pro
chenzhen 222dda1e43 1,新增“App_ThermalImageSystem”;
2,新增“Apps”;
3,新增“Common”;
4,新增“FileList”;
5,新增“MediaX”;
6,新增“OpenSource”;
7,新增“Samples”;
8,新增“SoftwareBusinessLines”.
2026-02-14 23:03:23 +08:00

85 lines
2.1 KiB
Prolog

#-------------------------------------------------
#
# Project created by QtCreator 2022-04-15T11:35:10
#
#-------------------------------------------------
QT += core gui opengl
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets serialport
TARGET = SampleVlc
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
INCLUDEPATH += ../include
INCLUDEPATH += $$PWD/../../Common/ \
$$PWD/../../Common/include/ \
$$PWD/../../Common/include/vlc/ \
DESTDIR=$$PWD/../bin
SOURCES += \
main.cpp \
mainwindow.cpp \
gdvlcmodule.cpp \
frameless_helper.cpp \
frmmessagebox.cpp \
../../Common/OpenGLView.cpp \
../../Common/GCycleQueue.cpp
HEADERS += \
mainwindow.h \
gdvlcmodule.h \
commonhelper.h \
frameless_helper.h \
frmmessagebox.h \
../../Common/OpenGLView.h \
../../Common/CommDef.h \
../../Common/GCycleQueue.h
FORMS += \
mainwindow.ui \
frmmessagebox.ui
unix|win32: LIBS += -lcomsuppw
unix|win32: LIBS += -lopengl32
win32{
contains(DEFINES,WIN64){
LIBS += -L$$PWD/../../Common/lib/x64/vlc/ -llibvlc
LIBS += -L$$PWD/../../Common/lib/x64/vlc/ -llibvlccore
}else{
LIBS += -L$$PWD/../../Common/lib/x86/vlc/ -llibvlc
LIBS += -L$$PWD/../../Common/lib/x86/vlc/ -llibvlccore
}
}
#文件采用utf-8编码
msvc {
QMAKE_CFLAGS += /utf-8
QMAKE_CXXFLAGS += /utf-8
}
# exe所带图标
RC_ICONS = skin/ico/Guide.ico
RESOURCES += \
images.qrc