Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation Fault when using example in README #238

Open
DoubleF3lix opened this issue Mar 8, 2023 · 0 comments
Open

Segmentation Fault when using example in README #238

DoubleF3lix opened this issue Mar 8, 2023 · 0 comments

Comments

@DoubleF3lix
Copy link

I'm running Raspbian Buster, and I have PySide2 installed.

import sys

from PySide6.QtWidgets import QApplication, QMainWindow, QPushButton

import qdarktheme

app = QApplication(sys.argv)
# Apply the complete dark theme to your Qt App.
qdarktheme.setup_theme()

main_win = QMainWindow()
push_button = QPushButton("PyQtDarkTheme!!")
main_win.setCentralWidget(push_button)

main_win.show()

app.exec()

I executed this code line by line, but I crash with a Segmentation Fault when I get to the qdarktheme.setup_theme() line. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant