-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
trik-pythonqt/src/PythonQt.cpp
Lines 322 to 327 in e307140
| // TODO: Someting like PyRun_String("sysconfig.get_config_var('LDLIBRARY')") | |
| // should be used to extract shared object name for current interpreter | |
| const auto &libName = QString("libpython3.%1.so").arg(PY_MINOR_VERSION).toStdString(); | |
| if (NULL == dlopen(libName.c_str(), RTLD_GLOBAL | RTLD_LAZY)) { | |
| qFatal("Failed to load %s", libName.c_str()); | |
| abort(); |