File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ It is built to resemble the plotting API used by Matlab and matplotlib.
9
9
### Windows
10
10
11
11
``` bash
12
+ conda install qt
12
13
mkdir build
13
14
cd build
14
15
cmake .. -G " Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX=..\d ist
Original file line number Diff line number Diff line change @@ -68,8 +68,12 @@ static bool __XXX_YYY_ZZZ_INIT__() {
68
68
const std::string PYTHONPATH = PYTHONHOME + " ;" + PYTHONHOME +
69
69
R"( \site-packages;)" + CONDA_PREFIX +
70
70
R"( \DLLs)" ;
71
+ const std::string QT_QPA_PLATFORM_PLUGIN_PATH =
72
+ CONDA_PREFIX + R"( \Library\plugins\platforms)" ;
71
73
_putenv_s (" PYTHONHOME" , PYTHONHOME.c_str ());
72
74
_putenv_s (" PYTHONPATH" , PYTHONPATH.c_str ());
75
+ _putenv_s (" QT_QPA_PLATFORM_PLUGIN_PATH" ,
76
+ QT_QPA_PLATFORM_PLUGIN_PATH.c_str ());
73
77
#else
74
78
const std::string PYTHONHOME =
75
79
CONDA_PREFIX + " /lib/python" + PYTHON_VERSION;
You can’t perform that action at this time.
0 commit comments