1 Star 0 Fork 18

shyaoht/ZenShot

forked from Gitee 极速下载/ZenShot 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
zenshot.pro 5.74 KB
一键复制 编辑 原始数据 按行查看 历史
leexu007 提交于 2022-07-05 13:04 . ver&desc&copyright
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
QMAKE_CXXFLAGS_RELEASE += -O2
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked 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 it uses 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
SOURCES += \
commands/addcommand.cpp \
commands/deletecommand.cpp \
commands/locatorcommand.cpp \
commands/movecommand.cpp \
commands/propscommand.cpp \
commands/textcontentcommand.cpp \
controls/colorbutton.cpp \
controls/colorwidget.cpp \
controls/pencombobox.cpp \
controls/penitemwidget.cpp \
controls/penrenderer.cpp \
controls/sizebutton.cpp \
controls/sizeinputwidget.cpp \
controls/sizewidget.cpp \
controls/textwidget.cpp \
controls/textwidgetimpl.cpp \
core/command.cpp \
core/gparams.cpp \
core/gscale.cpp \
core/handle.cpp \
core/locator.cpp \
core/pointshape.cpp \
core/propsbar.cpp \
core/rectshape.cpp \
core/screenlist.cpp \
core/shape.cpp \
core/store.cpp \
core/tool.cpp \
core/useroper.cpp \
core/utils.cpp \
handles/rectshapehandle.cpp \
locators/pointlocator.cpp \
locators/rectlocator.cpp \
main.cpp \
properties/arrowbar.cpp \
properties/curvebar.cpp \
properties/ellipsebar.cpp \
properties/linebar.cpp \
properties/mosaicbar.cpp \
properties/rectanglebar.cpp \
properties/textbar.cpp \
screen/handletool.cpp \
screen/hovertool.cpp \
screen/movetool.cpp \
screen/shotarea.cpp \
screen/shotarea/areacreatetool.cpp \
screen/shotarea/areahandle.cpp \
screen/shotarea/areahandletool.cpp \
screen/shotarea/arealocator.cpp \
screen/shotarea/areamovetool.cpp \
screen/textassist.cpp \
screen/toolbar.cpp \
screen/workspace.cpp \
shapes/arrow.cpp \
shapes/curve.cpp \
shapes/ellipse.cpp \
shapes/line.cpp \
shapes/mosaic.cpp \
shapes/rectangle.cpp \
shapes/text.cpp \
starter.cpp \
stores/localstore.cpp \
stores/memorystore.cpp \
tools/arrowcreatetool.cpp \
tools/curvecreatetool.cpp \
tools/ellipsecreatetool.cpp \
tools/linecreatetool.cpp \
tools/mosaiccreatetool.cpp \
tools/rectcreatetool.cpp \
tools/textcreatetool.cpp \
widget.cpp
HEADERS += \
commands/addcommand.h \
commands/deletecommand.h \
commands/locatorcommand.h \
commands/movecommand.h \
commands/propscommand.h \
commands/textcontentcommand.h \
controls/colorbutton.h \
controls/colorwidget.h \
controls/pencombobox.h \
controls/penitemwidget.h \
controls/penrenderer.h \
controls/sizebutton.h \
controls/sizeinputwidget.h \
controls/sizewidget.h \
controls/textwidget.h \
controls/textwidgetimpl.h \
core/command.h \
core/gparams.h \
core/gscale.h \
core/handle.h \
core/locator.h \
core/pointshape.h \
core/propsbar.h \
core/rectshape.h \
core/screeninfo.h \
core/screenlist.h \
core/shape.h \
core/store.h \
core/tool.h \
core/useroper.h \
core/utils.h \
handles/rectshapehandle.h \
locators/pointlocator.h \
locators/rectlocator.h \
properties/arrowbar.h \
properties/curvebar.h \
properties/ellipsebar.h \
properties/linebar.h \
properties/mosaicbar.h \
properties/rectanglebar.h \
properties/textbar.h \
screen/handletool.h \
screen/helper/screengetter.h \
screen/hovertool.h \
screen/movetool.h \
screen/shotarea.h \
screen/shotarea/areacreatetool.h \
screen/shotarea/areahandle.h \
screen/shotarea/areahandletool.h \
screen/shotarea/arealocator.h \
screen/shotarea/areamovetool.h \
screen/textassist.h \
screen/toolbar.h \
screen/workspace.h \
shapes/arrow.h \
shapes/curve.h \
shapes/ellipse.h \
shapes/line.h \
shapes/mosaic.h \
shapes/rectangle.h \
shapes/text.h \
starter.h \
stores/localstore.h \
stores/memorystore.h \
tools/arrowcreatetool.h \
tools/curvecreatetool.h \
tools/ellipsecreatetool.h \
tools/linecreatetool.h \
tools/mosaiccreatetool.h \
tools/rectcreatetool.h \
tools/textcreatetool.h \
widget.h
TRANSLATIONS = translations/chinese.ts \
translations/english.ts
unix:!macx {
QT += x11extras
LIBS += -lX11
SOURCES += screen/helper/windowgetter_x11.cpp
HEADERS += screen/helper/windowgetter.h
SOURCES += screen/helper/screengetter_x11.cpp
}
win32 {
RC_ICONS = zenshot.ico
LIBS += User32.lib
SOURCES += screen/helper/windowgetter_win.cpp
HEADERS += screen/helper/windowgetter.h
SOURCES += screen/helper/screengetter_win.cpp
}
macx {
OBJECTIVE_SOURCES += screen/helper/windowgetter_mac.mm
OBJECTIVE_HEADERS += screen/helper/windowgetter.h
SOURCES += screen/helper/screengetter_mac.cpp
LIBS += -framework Cocoa
LIBS += -framework CoreGraphics
LIBS += -framework CoreFoundation
}
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
main.qrc
DISTFILES +=
VERSION = 1.0.0.0
RC_LANG = 0x0004
QMAKE_TARGET_DESCRIPTION = "开源跨平台截图工具"
QMAKE_TARGET_COPYRIGHT = "Copyright 2022 青岛易软天创网络科技有限公司"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/shyaoht/ZenShot.git
git@gitee.com:shyaoht/ZenShot.git
shyaoht
ZenShot
ZenShot
main

搜索帮助