aboutsummaryrefslogtreecommitdiffstats
path: root/examples/samplebinding
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-05-06 12:28:40 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-05-08 16:53:31 +0200
commitbe71b8875cd48727844256709082ada04ed74410 (patch)
tree523ebd09834989f7ffe587e39a6dd91b73a4f786 /examples/samplebinding
parenta497db6730f29772265a16244f4a9756bafcceeb (diff)
sample binding: Document how to force MSVC in case CMake detects clang
Pick-to: 6.1 6.1.0 Task-number: PYSIDE-1112 Change-Id: I9eefeb12c1609ee0fda4fd0ab160b25f82813f6a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/samplebinding')
-rw-r--r--examples/samplebinding/README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/samplebinding/README.md b/examples/samplebinding/README.md
index d12d2b774..26ff2b383 100644
--- a/examples/samplebinding/README.md
+++ b/examples/samplebinding/README.md
@@ -177,7 +177,13 @@ python main.py
It is possible that **CMake** can pick up the wrong compiler
for a different architecture, but it can be addressed explicitly
-using the -G option:
+by setting the **CC** environment variable:
+
+```bash
+set CC=cl
+```
+
+or by using the -G option:
```bash
cmake -H.. -B. -G "Visual Studio 14 Win64"