📄 mpv.pro
字号:
TEMPLATE = appTARGET = mpv# Include general configinclude(config.cf)# Include Windows-specific configwindows:include(config.win)# Directories for storing temporary filesMOC_DIR = .mocOBJECTS_DIR = .obj# Directories with includesINCLUDEPATH += cimg $$EXTRA_INCLUDESINCLUDEPATH += ../libmpw# Directories with librariesLIBS += -L../libmpw -lmpw $$EXTRA_LIBS# Dependencies on used librariesTARGETDEPS += ../libmpw/libmpw.a# Do not build debug and release binaries at onceCONFIG -= debug_and_release# Do not put generated binaries into release/ or debug/ subdirs on windowswindows:DESTDIR = ./# Check debug/release modecontains( E_RELEASE, no ) { # Debug mode # Turns off optimalizations CONFIG += debug CONFIG -= release QMAKE_CXXFLAGS += -O0 -g}contains( E_RELEASE, yes ) { # Release mode # Turns on optimalizations CONFIG += release CONFIG -= debug QMAKE_CXXFLAGS += -O2 -DNDEBUG}# Input filesHEADERS += argb.hHEADERS += paramdialog.hHEADERS += aboutwindow.hHEADERS += base.hHEADERS += commandline.hHEADERS += statusbar.hHEADERS += dialog.hHEADERS += fileoption.hHEADERS += lookandfeel.hHEADERS += main.hHEADERS += mainwindow.hHEADERS += menu.hHEADERS += mpviewoptionwindow.hHEADERS += imageview.hHEADERS += image.hHEADERS += toolfactory.hSOURCES += argb.ccSOURCES += paramdialog.ccSOURCES += aboutwindow.ccSOURCES += base.ccSOURCES += commandline.ccSOURCES += statusbar.ccSOURCES += dialog.ccSOURCES += fileoption.ccSOURCES += imageview.ccSOURCES += image.ccSOURCES += lookandfeel.ccSOURCES += main.ccSOURCES += mainwindow.ccSOURCES += menu.ccSOURCES += mpviewoptionwindow.ccSOURCES += toolfactory.cc# Autoconf-created headersHEADERS += config.h aconf.h# Dummy header file for menu translation, needed by lupdateexists( .menu-trans.h ) { HEADERS += .menu-trans.h }# Translation filesDEPENDPATH += langTRANSLATIONS += lang/mpv_cs.ts lang/mpv_pl.ts# Installation targetprogram.path = $$BIN_PATHprogram.files = mpv# Installation subtarget - Basic data filesdata.path = $$DATA_PATHdata.files = *.cfg# Installation subtarget - Iconsdata_icon.path = $$DATA_PATH/icondata_icon.files = icon/*.png icon/*.svg# Installation subtarget - Translation filesdata_lang.path = $$DATA_PATH/langdata_lang.files = lang/*.qm# Installation subtarget - Documentationdoc.path = $$DOC_PATHdoc.files = ../doc/README ../doc/LICENSE.GPL ../doc/AUTHORS ../Changelog# Installation subtarget - Documentation from CImgdoc_cimg.path = $$DOC_PATH/cimgdoc_cimg.files = ../doc/cimg/README.txt ../doc/cimg/Licence_CeCILL-C_V1-en.txt ../doc/cimg/Licence_CeCILL_V2-en.txt# Installation rule (for "make install")INSTALLS = program data data_icon data_lang doc doc_cimg
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -