path: root/examples/widgets/graphicsview
diff options
authorKai Koehne <>2015-01-12 16:05:00 +0100
committerKai Koehne <>2015-02-13 21:23:19 +0000
commit9ddfa43e023f06387eb3360cc2e15bfff68ffe5f (patch)
treebf989d12377762712ff405e218b1a59e5b093d60 /examples/widgets/graphicsview
parentfcf7e82babb733fa90130ebf398816e09ed4abbb (diff)
MSVC: Remove use of -Zm argument
We've been setting the -Zm argument since the dawn of times (even before the first git commit). Anyhow, MSDN from VS2008 onwards indicates that this is not needed: "In earlier versions of Visual C++, the compiler used several discrete heaps, and each had a finite limit. Currently, the compiler dynamically grows the heaps as necessary up to a total heap size limit, and requires a fixed-size buffer only to construct precompiled headers. Consequently, the /Zm compiler option is rarely necessary." [ChangeLog][Compiler Specific Changes] Visual Studio: -Zm200 (an option to specify the precompiled header memory allocation limit) is not added anymore by qmake to the compiler calls. If you encounter an C1076 compiler error you might need to re-add it in your .pro file. Change-Id: Ia4bec7eba09d893a7d81886a1814602b9ce7563c Reviewed-by: Friedemann Kleint <>
Diffstat (limited to 'examples/widgets/graphicsview')
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/widgets/graphicsview/boxes/ b/examples/widgets/graphicsview/boxes/
index 93621878f1..e608b1c845 100644
--- a/examples/widgets/graphicsview/boxes/
+++ b/examples/widgets/graphicsview/boxes/
@@ -32,10 +32,3 @@ INSTALLS += target
wince*: {
-win32-msvc* {
- QMAKE_CFLAGS -= -Zm200
- QMAKE_CFLAGS += -Zm500