Skip to content

Commit b812bf9

Browse files
Mac UserMac User
authored andcommitted
Udapted wd to build on MAC with Qt 5
1 parent a79fa45 commit b812bf9

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

wd_test.gyp

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,22 @@
6565
'-luserenv.lib',
6666
],
6767
} ],
68+
[ 'OS=="mac"', {
69+
'link_settings': {
70+
'libraries': [
71+
'<(QT_LIB_PATH)/libQt5Network.a',
72+
'<(QT_LIB_PATH)/libQt5Xml.a',
73+
'<(QT_LIB_PATH)/libQt5XmlPatterns.a',
74+
'<(QT_LIB_PATH)/libQt5Gui.a',
75+
'<(QT_LIB_PATH)/libQt5Core.a',
76+
'<(QT_LIB_PATH)/libQt5Widgets.a',
77+
'Foundation.framework',
78+
'CoreFoundation.framework',
79+
'ApplicationServices.framework',
80+
'Security.framework',
81+
],
82+
},
83+
} ],
6884
],
6985
}, {
7086
'conditions': [
@@ -204,7 +220,7 @@
204220
} ],
205221
[ 'OS=="mac"', {
206222
'link_settings': {
207-
'libraries': ['<(QT_LIB_PATH)/Qt5WebKit.framework',],
223+
'libraries': ['<(QT_LIB_PATH)/libQt5WebKit.a','<(QT_LIB_PATH)/libQt5WebKitWidgets.a',],
208224
},
209225
} ],
210226
],

0 commit comments

Comments
 (0)