Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 22e7497

Browse files
committed
build: Don't use QuickTime SDK when compiling Windows engine
In LiveCode 8.1, the engine no longer uses QuickTime, so it's not necessary to use the SDK when compiling. This ensures that QuickTime's bogus not-compatible C headers aren't incorrectly used when compiling the engine. QuickTime is still needed for compiling the revVideoGrabber external, and that's left unchanged.
1 parent 6dcaf68 commit 22e7497

File tree

3 files changed

+9
-40
lines changed

3 files changed

+9
-40
lines changed

engine/kernel-server.gyp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,6 @@
9898
],
9999
},
100100
],
101-
[
102-
'OS == "win"',
103-
{
104-
'include_dirs':
105-
[
106-
'<(quicktime_sdk)/CIncludes',
107-
],
108-
},
109-
],
110101
[
111102
'mobile != 0',
112103
{
@@ -158,11 +149,6 @@
158149
[
159150
'OS == "win"',
160151
{
161-
'library_dirs':
162-
[
163-
'<(quicktime_sdk)/Libraries',
164-
],
165-
166152
'libraries':
167153
[
168154
'-ladvapi32',
@@ -184,9 +170,6 @@
184170
'-lwinmm',
185171
'-lwinspool',
186172
'-lws2_32',
187-
188-
'-lQTMLClient',
189-
'-lQTVR',
190173
],
191174
},
192175
],

engine/kernel.gyp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,6 @@
9191
},
9292
},
9393
],
94-
[
95-
'OS == "win"',
96-
{
97-
'include_dirs':
98-
[
99-
'<(quicktime_sdk)/CIncludes',
100-
],
101-
},
102-
],
10394
[
10495
'OS == "emscripten"',
10596
{
@@ -241,11 +232,6 @@
241232
[
242233
'OS == "win"',
243234
{
244-
'library_dirs':
245-
[
246-
'<(quicktime_sdk)/Libraries',
247-
],
248-
249235
'libraries':
250236
[
251237
'-ladvapi32',
@@ -268,9 +254,6 @@
268254
'-lwinmm',
269255
'-lwinspool',
270256
'-lws2_32',
271-
272-
'-lQTMLClient',
273-
'-lQTVR',
274257
],
275258
},
276259
],

engine/src/quicktime.cpp

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (C) 2003-2015 LiveCode Ltd.
1+
/* Copyright (C) 2003-2016 LiveCode Ltd.
22
33
This file is part of LiveCode.
44
@@ -21,13 +21,18 @@
2121
#include "objdefs.h"
2222
#include "parsedef.h"
2323

24+
#include "osspec.h"
25+
#include "variable.h"
26+
27+
/* Pretty much everything in this file is only needed if quicktime
28+
* effects are enabled. */
29+
#if defined(FEATURE_QUICKTIME_EFFECTS)
30+
2431
#include "graphics.h"
2532
#include "stack.h"
2633

2734
#include "player.h"
2835
#include "util.h"
29-
#include "osspec.h"
30-
#include "variable.h"
3136

3237
#ifdef _WINDOWS_DESKTOP
3338
#include "w32prefix.h"
@@ -80,8 +85,6 @@ void UnlockPixels(PixMapHandle pix);
8085

8186
#endif
8287

83-
#ifdef FEATURE_QUICKTIME_EFFECTS
84-
8588
////////////////////////////////////////////////////////////////////////////////
8689

8790
typedef struct
@@ -1262,5 +1265,5 @@ void MCQTGetVersion(MCStringRef& r_version)
12621265
}
12631266

12641267

1265-
#endif
1268+
#endif /* !FEATURE_QUICKTIME_EFFECTS */
12661269

0 commit comments

Comments
 (0)