From 5550afd77cb96c6ed3faa544d8a9c2e517f37b62 Mon Sep 17 00:00:00 2001 From: Alexander-Porter Date: Tue, 9 Jul 2024 08:11:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=AF=B9Aws=20SDK=E7=9A=84?= =?UTF-8?q?=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 12 ++++++------ main.cpp | 1 - synctask.h | 2 -- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 54add19..94d849b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,9 +37,9 @@ if (WINDOWS_BUILD AND AWSSDK_INSTALL_AS_SHARED_LIBS) endif () set(PROJECT_SOURCES main.cpp - loginwindow.cpp - loginwindow.h - loginwindow.ui + + + ) if(${QT_VERSION_MAJOR} GREATER_EQUAL 6) @@ -49,9 +49,9 @@ if(${QT_VERSION_MAJOR} GREATER_EQUAL 6) mycore.h mycore.cpp user.h user.cpp synctask.h synctask.cpp - awsutils.h awsutils.cpp - reset.h reset.cpp reset.ui - signin.h signin.cpp signin.ui + + + mainwindow.h mainwindow.cpp homeview.h homeview.cpp apirequest.h apirequest.cpp diff --git a/main.cpp b/main.cpp index d4ad2ba..1228e6b 100644 --- a/main.cpp +++ b/main.cpp @@ -1,4 +1,3 @@ -#include "loginwindow.h" #include #include "ElaApplication.h" #include "synctask.h" diff --git a/synctask.h b/synctask.h index a30232f..7debcc9 100644 --- a/synctask.h +++ b/synctask.h @@ -9,7 +9,6 @@ #include #include #include "qcontainerfwd.h" -#include "awsutils.h" //声明友元类 class SyncCore; @@ -25,7 +24,6 @@ class SyncTask int syncStatus; //1 for upload/download,2 for only upload,3 for only download. -1 for paused //lastSyncTime, use Qt::currentDateTime() to get the current time QDateTime lastSyncTime; - AWSUtils* awsutils; public: SyncTask(QString localPath, QString remotePath, int syncStatus, int id=-1);