aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-05-06 12:28:40 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-05-08 16:34:32 +0000
commitec6c7464da76db534c2e498b646f28b355e6f147 (patch)
tree3c8c974670d63f477b0b1b94ab47fcac013e1b8f /examples
parentacde332883bd241d9c9507d97006a28da2d772c3 (diff)
sample binding: Document how to force MSVC in case CMake detects clang
Task-number: PYSIDE-1112 Change-Id: I9eefeb12c1609ee0fda4fd0ab160b25f82813f6a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit be71b8875cd48727844256709082ada04ed74410) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples')
-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"