From d47914155055418fc8e01791fcca71c9c1efb064 Mon Sep 17 00:00:00 2001
From: w1146869587 <wah1146869587@126.com>
Date: 星期五, 05 十一月 2021 17:12:26 +0800
Subject: [PATCH] mdy  git

---
 mbwatch/mbwatch.pro |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/mbwatch/mbwatch.pro b/mbwatch/mbwatch.pro
index 197e5fc..530366e 100644
--- a/mbwatch/mbwatch.pro
+++ b/mbwatch/mbwatch.pro
@@ -1,16 +1,29 @@
 QT -= gui
+QT += network
 
 CONFIG += c++11 console
 CONFIG -= app_bundle
+CONFIG += resources_big
+# 浣跨紪杈戝櫒鏀寔utf8
+msvc:QMAKE_CXXFLAGS += -utf-8
 
 # You can make your code fail to compile if it uses deprecated APIs.
 # In order to do so, uncomment the following line.
 #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
 
 SOURCES += \
-        main.cpp
+        main.cpp \
+        mbwatchapp.cpp
 
 # Default rules for deployment.
 qnx: target.path = /tmp/$${TARGET}/bin
 else: unix:!android: target.path = /opt/$${TARGET}/bin
 !isEmpty(target.path): INSTALLS += target
+
+# cfg
+include(mbwatch.pri)
+include(qtservice/qtservice.pri)
+
+HEADERS += \
+    mbwatchapp.h
+

--
Gitblit v1.9.1