Why fonts in Qt are appearing blurry or pixelated?
问题 All my fonts are appearing pixelated, so I used AntiAliasing but it isn't helping out. As you can see the pixelated font in the image itself: This is the code I am currently using: butt1 = QtWidgets.QLabel("""Scrappr""") font = QtGui.QFont() font.setStyleStrategy(QtGui.QFont.PreferAntialias) font.setPixelSize(22) font.setFamily('Segoe UI Bold') butt1.setFont(QtGui.QFont(font)) I tried different solutions on SO, qtforums etc but nothing works for me :( I tried: Different combinations of