1
2
3
4
5
6
7
8
9
10
11
12
13
TEMPLATE = app
QT -= core
CONFIG += console c11
CONFIG -= qt app_bundle
QMAKE_CFLAGS += -pthread
LIBS += -pthread
SOURCES += main.c \
array.c
HEADERS += \
array.h
1
2
3
4
5
6
7
8
9
10
11
12
13
TEMPLATE = app
QT -= core
CONFIG += console c11
CONFIG -= qt app_bundle
QMAKE_CFLAGS += -pthread
LIBS += -pthread
SOURCES += main.c \
array.c
HEADERS += \
array.h