-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPictureRenamer.pro
executable file
·55 lines (44 loc) · 1.43 KB
/
PictureRenamer.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#-------------------------------------------------
#
# Project created by QtCreator 2015-11-08T23:48:46
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
VERSION = 1.4.0
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
DESTDIR += ../picture_renamer_bin
QMAKE_TARGET_DESCRIPTION = "Picture renamer"
RC_ICONS = icons/main_icon.ico
TARGET = picture_renamer
TEMPLATE = app
CONFIG += c++1z
SOURCES += main.cpp\
3rdparty/exif/exif.cpp \
directoryreader.cpp \
mainwinrenamer.cpp \
editorwgt.cpp \
pix_viewer.cpp
HEADERS += mainwinrenamer.h \
3rdparty/exif/exif.h \
directoryreader.h \
editorwgt.h \
pix_viewer.h
INCLUDEPATH += 3rdparty/exif \
#Формирование даты и времени сборки (меняется при полной пересборке проекта)
win32:{
BLD_DATE=$$system(date /t)
BLD_TIME=$$system(time /t)
#message(WIN DATE: $$BLD_DATE TIME: $$BLD_TIME)
DEFINES += BUILD_DATE=\\\"$$BLD_DATE\\\"
DEFINES += BUILD_TIME=\\\"$$BLD_TIME\\\"
} else {
#BUILDDATE = $$system( date "+%d.%m.%Y_%H:%M:%S" ) и дата, и время (в линуксе)
BLD_DATE = $$system(date)
BLD_DATE = $$system( date "+%d.%m.%Y" )
BLD_TIME = $$system( date "+%H:%M" )
#BLD_TIME = $$system( date "+%H:%M:%S" )
#message(LINUX DATE: $$BLD_DATE TIME: $$BLD_TIME)
DEFINES += BUILD_DATE=\\\"$$BLD_DATE\\\"
DEFINES += BUILD_TIME=\\\"$$BLD_TIME\\\"
}