From anonymous, 6 Months ago, written in Python.
Embed
  1. import os, sys
  2. os.environ["QT_DEBUG_PLUGINS"] = "1"
  3.  
  4. from PyQt5 import QtCore
  5. from PyQt5.QtCore import qVersion, QT_VERSION_STR, PYQT_VERSION_STR, QLibraryInfo
  6. print(f"{sys.version = }")
  7. print(f"{sys.executable = }")
  8. print(f"{qVersion() = }")
  9. print(f"{QT_VERSION_STR = }")
  10. print(f"{PYQT_VERSION_STR = }")
  11. print(f"{QtCore.__file__ = }")
  12.  
  13. from PyQt5 import QtWidgets
  14. print(f"{QtWidgets.__file__ = }")
  15. print(f"{QLibraryInfo.location(QLibraryInfo.DataPath) = }")
  16.  
  17. app = QtWidgets.QApplication([])