1-goldbach/{v1.1 → v2.0}/Goldbach.pro RENAMED
@@ -1,38 +1,40 @@
1
  #-------------------------------------------------
2
  #
3
  # Project created by QtCreator 2019-03-15T16:32:14
4
  #
5
  #-------------------------------------------------
6
 
7
  QT += core gui widgets
8
 
9
  TARGET = Goldbach
10
  TEMPLATE = app
11
 
12
  # The following define makes your compiler emit warnings if you use
13
  # any feature of Qt which has been marked as deprecated (the exact warnings
14
  # depend on your compiler). Please consult the documentation of the
15
  # deprecated API in order to know how to port your code away from it.
16
  DEFINES += QT_DEPRECATED_WARNINGS
17
 
18
  # You can also make your code fail to compile if you use deprecated APIs.
19
  # In order to do so, uncomment the following line.
20
  # You can also select to disable deprecated APIs only up to a certain version of Qt.
21
  #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
22
 
23
  CONFIG += c++11
24
 
25
  SOURCES += \
26
  main.cpp \
27
- MainWindow.cpp
 
28
 
29
  HEADERS += \
30
- MainWindow.h
 
31
 
32
  FORMS += \
33
  MainWindow.ui
34
 
35
  # Default rules for deployment.
36
  qnx: target.path = /tmp/$${TARGET}/bin
37
  else: unix:!android: target.path = /opt/$${TARGET}/bin
38
  !isEmpty(target.path): INSTALLS += target
1
  #-------------------------------------------------
2
  #
3
  # Project created by QtCreator 2019-03-15T16:32:14
4
  #
5
  #-------------------------------------------------
6
 
7
  QT += core gui widgets
8
 
9
  TARGET = Goldbach
10
  TEMPLATE = app
11
 
12
  # The following define makes your compiler emit warnings if you use
13
  # any feature of Qt which has been marked as deprecated (the exact warnings
14
  # depend on your compiler). Please consult the documentation of the
15
  # deprecated API in order to know how to port your code away from it.
16
  DEFINES += QT_DEPRECATED_WARNINGS
17
 
18
  # You can also make your code fail to compile if you use deprecated APIs.
19
  # In order to do so, uncomment the following line.
20
  # You can also select to disable deprecated APIs only up to a certain version of Qt.
21
  #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
22
 
23
  CONFIG += c++11
24
 
25
  SOURCES += \
26
  main.cpp \
27
+ MainWindow.cpp \
28
+ GoldbachWorker.cpp
29
 
30
  HEADERS += \
31
+ MainWindow.h \
32
+ GoldbachWorker.h
33
 
34
  FORMS += \
35
  MainWindow.ui
36
 
37
  # Default rules for deployment.
38
  qnx: target.path = /tmp/$${TARGET}/bin
39
  else: unix:!android: target.path = /opt/$${TARGET}/bin
40
  !isEmpty(target.path): INSTALLS += target