Skip to content

Dark theme in version 3.2.1 is not working #339

Description

@skp17

Describe Your Environment

  • PYTHON DISTRIBUTION------------------------------------------------------------
    • Version....................... 3.7.1
    • C Compiler.................... MSC v.1915 32 bit (Intel)
    • C API Version................. 1013
    • Implementation................ cpython
    • Implementation Version........ 3.7.1
  • QT BINDINGS--------------------------------------------------------------------
    • PyQt5 Version................. 5.11.3
    • PyQt5 Qt Version.............. 5.11.2
  • QT ABSTRACTIONS----------------------------------------------------------------
    • qtpy Version.................. 2.4.0
    • qtpy Binding.................. pyqt5
    • qtpy Binding Variable......... os.environ['QT_API']
    • qtpy Import Name.............. qtpy
    • qtpy Status................... OK
  • PYTHON PACKAGES----------------------------------------------------------------
    • helpdev....................... 0.7.1
    • QDarkStyle.................... 3.2.1

Language

Python

Description / Steps to Reproduce [if necessary]

Simply running the command $ qdarkstyle.example --palette=dark produces an error.
Everything works fine with QDarkStyle v3.1. However, I'm getting problems with v3.2 & v3.2.1.

Actual Result

Traceback (most recent call last):
  File "c:\users\steven\appdata\local\programs\python\python37-32\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\steven\appdata\local\programs\python\python37-32\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\steven\.virtualenvs\nep_generic_db_tool-OeiXJOWV\Scripts\qdarkstyle.example.exe\__main__.py", line 7, in <module>
  File "C:\Users\steven\.virtualenvs\nep_generic_db_tool-OeiXJOWV\lib\site-packages\qdarkstyle\example\__main__.py", line 111, in main
    from qtpy import API_NAME, QT_VERSION, PYQT_VERSION, PYSIDE_VERSION, uic
  File "C:\Users\steven\.virtualenvs\nep_generic_db_tool-OeiXJOWV\lib\site-packages\qtpy\__init__.py", line 287, in <module>
    raise QtBindingsNotFoundError from None
qtpy.QtBindingsNotFoundError: No Qt bindings could be found

Expected Results / Proposed Result

[A description, output ou image of the expected/proposed result]

Relevant Code [if necessary]

$ qdarkstyle.example --palette=dark

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions