-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathZExifToolProcess_Examples.pro
More file actions
71 lines (56 loc) · 2.07 KB
/
ZExifToolProcess_Examples.pro
File metadata and controls
71 lines (56 loc) · 2.07 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
QT += core widgets gui
CONFIG += c++17 # c++11, c++14 or c++17
# TARGET = Examples
TEMPLATE = app
# 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
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
SOURCES += \
ZExifToolProcess_Examples/main.cpp \
ZExifToolProcess_Examples/MainWindow.cpp \
ZExifToolProcess_Examples/Example1.cpp \
ZExifToolProcess_Examples/Example2.cpp \
ZExifToolProcess_Examples/Example3.cpp
HEADERS += \
ZExifToolProcess_Examples/MainWindow.h \
ZExifToolProcess_Examples/Example1.h \
ZExifToolProcess_Examples/Example2.h \
ZExifToolProcess_Examples/Example3.h
FORMS += \
ZExifToolProcess_Examples/Example1.ui \
ZExifToolProcess_Examples/Example2.ui \
ZExifToolProcess_Examples/Example3.ui
RESOURCES += \
zResources/Resources.qrc
DISTFILES += \
CHANGELOG.md \
LICENSE.md \
README.md
# ZExifToolProcess: Add the following line to your project
include(ZExifTool/Lib_ZExifTool.pri)
###
# PVL preferences
###
macx {
# Do to NOT puts the executable into a bundle
CONFIG -= app_bundle
# Silence untested Qt version with MacOs SDK warning
CONFIG += sdk_no_version_check
}
linux {
# For Ubuntu - Prevent from executable recognizes as shared library
# The behavior is occurring because newer ubuntu distros set GCC default link flag -pie, which marks
# e_type as ET_DYN on the binary file. Consequently, the Operating System recognizes as Shared Library.
QMAKE_LFLAGS += -no-pie
}
###
# Default rules for deployment.
###
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target