deep-wine-runner/VM-source/VirtualMachine.pro

79 lines
1.9 KiB
Prolog
Raw Normal View History

2022-07-12 20:37:59 +08:00
#-------------------------------------------------
#
# Project created by QtCreator 2022-07-12T13:39:19
#
#-------------------------------------------------
QT += core gui
2022-08-24 16:13:47 +08:00
TRANSLATIONS += zh_CN.ts\
en_US.ts
2022-07-12 20:37:59 +08:00
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = VirtualMachine
TEMPLATE = app
QT += network
# 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
CONFIG += c++11
SOURCES += \
main.cpp \
2023-02-07 22:12:05 +08:00
mainwindow.cpp \
buildvbox.cpp \
vbox.cpp \
2023-02-19 14:51:29 +08:00
command.cpp \
2023-03-26 21:53:03 +08:00
infoutils.cpp \
2023-04-15 19:14:30 +08:00
qemu.cpp \
qemusetting.cpp
2022-07-12 20:37:59 +08:00
HEADERS += \
2023-02-07 22:12:05 +08:00
mainwindow.h \
buildvbox.h \
vbox.h \
2023-02-19 14:51:29 +08:00
command.h \
2023-03-26 21:53:03 +08:00
infoutils.h \
2023-04-15 19:14:30 +08:00
qemu.h \
qemusetting.h
2022-07-12 20:37:59 +08:00
FORMS += \
2023-04-15 19:14:30 +08:00
mainwindow.ui \
qemusetting.ui
2022-07-12 20:37:59 +08:00
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
2023-11-25 16:03:47 +08:00
trans.qrc \
2022-07-12 20:37:59 +08:00
图标.qrc
2023-11-25 16:03:47 +08:00
DISTFILES += \
en_US.qm \
en_US.ts
2024-04-27 15:42:25 +08:00
# 编译时拷贝所需文件
file_need.files += Windows7X64Auto.iso \
Windows7X86Auto.iso \
kvm-ok \
AAVMF32_CODE.fd \
deepin-wine-runner.svg \
OVMF.fd \
QEMU_AARCH64_EFI.fd \
QEMU_EFI_LOONG64_7.1.fd \
test.qcow2
file_need.path += $$OUT_PWD
COPIES += file_need
system(chmod 777 $$OUT_PWD/kvm-ok)