summarylogtreecommitdiffstats
path: root/drop_ThirdParty_repo.patch
blob: 91a0b1315d01fc35b5d27e182bc1c2efcfa9b871 (plain)
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
72
73
74
75
76
diff -Naur OpenBoard-1.5.3/libs.pri OpenBoard-1.5.3-new/libs.pri
--- OpenBoard-1.5.3/libs.pri	1970-01-01 01:00:00.000000000 +0100
+++ OpenBoard-1.5.3-new/libs.pri	2019-04-12 14:26:16.566266531 +0200
@@ -0,0 +1,72 @@
+
+linux-g++ {
+    SUB_LIB = "linux"
+}
+
+linux-g++-32 {
+    SUB_LIB = "linux"
+}
+linux-g++-64 {
+    SUB_LIB = "linux"
+}
+
+macx {
+    SUB_LIB = "macx"
+}
+
+win32 {
+    CONFIG( debug, debug|release ) {
+        SUB_LIB = "win32/debug"
+    } else {
+        SUB_LIB = "win32/release"
+    }
+}
+
+QUAZIP_DIR   = "/usr"
+LIBS        += "-lquazip5"
+
+LIBS        += "-lpoppler"
+INCLUDEPATH += "/usr/include/poppler"
+
+
+linux-g++ {
+    LIBS        += -lpaper
+}
+linux-g++-32 {
+    LIBS        += -lpaper
+}
+linux-g++-64 {
+    LIBS        += -lpaper
+}
+
+win32 {
+    INCLUDEPATH += "$$PWD/openssl/openssl-1.0.2-win32/include"
+    QMAKE_LIBDIR += "$$PWD/openssl/openssl-1.0.2-win32/lib/static"
+
+    CONFIG( debug, debug|release ) {
+        LIBS += -llibeay32
+        LIBS += -lMsvcrtd
+    } else {
+        LIBS += -llibeay32MT
+        LIBS += -lMsvcrt
+    }
+
+    LIBS += -lWmvcore
+    LIBS += -lWinmm
+	
+	# need those link if we want to change default printer and print usind shell command
+    LIBS        += "-L$$PWD/microsoft/lib" "-lWinspool"
+    LIBS        += "-L$$PWD/microsoft/lib" "-lshell32"
+}
+
+macx {
+    LIBS         += "-framework QuartzCore"
+    LIBS         += "-framework AudioToolbox"
+    LIBS         += "-framework CoreAudio"
+    LIBS         += "-framework ApplicationServices"
+    LIBS         += "-framework Cocoa"
+            
+    LIBS         += "-lcrypto"
+}
+
+