본문 바로가기
Python

[Ex] PySide6

by ds31x 2025. 3. 11.

설치하고 나서 간단히 테스트 할 수 있는 코드

from PySide6.QtWidgets import QLabel, QApplication
import sys

app = QApplication(sys.argv)
widget = QLabel("test!")
widget.resize(300, 200) # 창의 크기 설정 (너비, 높이)
widget.show()
sys.exit(app.exec())

 

2025.02.11 - [Python/PySide PyQt] - [PySide6] Installing PySide6 (and Designer) on Windows (with Conda)

 

[PySide6] Installing PySide6 (and Designer) on Windows (with Conda)

기존에 conda 가상환경에 다시 pip로 설치를 했었는데,conda를 25.1.1 로 업데이트하고 PySide6와 designer를 설치하니 제대로 설치가 됨. Prerequisiteconda : conda-forge 채널에서 설치.os : Windows11, 23H2 (22631.4751)I

ds31x.tistory.com