加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tetris.pro 2.09 KB
一键复制 编辑 原始数据 按行查看 历史
南海十三叔 提交于 2024-07-25 15:07 . 进一步优化细节
#-------------------------------------------------
#
# Project created by QtCreator 2019-09-09T09:22:35
#
#-------------------------------------------------
QT += core gui multimedia
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = tetris
TEMPLATE = app
CONFIG += c++20
# 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
SOURCES += \
src/Common/signaltransfer.cpp \
src/Help/aboutdialog.cpp \
src/Help/changelogdialog.cpp \
src/Help/instrucdialog.cpp \
src/MVC/block.cpp \
src/MVC/blockgroup.cpp \
src/MVC/blockgroupmove.cpp \
src/Settings/scoreboarddialog.cpp \
src/Settings/settingdialog.cpp \
src/main.cpp \
src/mainwindow.cpp \
src/MVC/graphicsscene.cpp
HEADERS += \
src/Common/def.h \
src/Common/signaltransfer.h \
src/Help/aboutdialog.h \
src/Help/changelogdialog.h \
src/Help/instrucdialog.h \
src/MVC/block.h \
src/MVC/blockgroup.h \
src/MVC/blockgroupmove.h \
src/Settings/scoreboarddialog.h \
src/Settings/settingdialog.h \
src/mainwindow.h \
src/MVC/graphicsscene.h
PRECOMPILED_HEADER = src/stable.h
FORMS += \
src/Help/aboutdialog.ui \
src/Help/changelogdialog.ui \
src/Help/instrucdialog.ui \
src/Settings/scoreboarddialog.ui \
src/Settings/settingdialog.ui \
src/mainwindow.ui
RESOURCES += \
tetris.qrc
# Add quc
INCLUDEPATH += $$PWD/third/quc/include
LIBS += -L$$PWD/third/quc/ -lquc
# LIBS += -L$$PWD/third/quc/ -lquc-static
RC_ICONS = icon.ico
DESTDIR = $$PWD/bin
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化