【发布时间】:2017-11-25 21:57:21
【问题描述】:
我想在我的 pyqt4 应用程序上显示来自 mysql db 的图像。我研究了一些关于这个主题的页面。但我无法理解。我想在 qlabel 上显示图像。
我有 gui 文件和 callpage.py
从 callpage.py 我想这样显示:
self.ui.labelPicture.setPixmap(QtGui.QPixmap(img))
How to display a picture from mysql database using python?
How to insert / retrieve a file stored as a BLOB in a MySQL db using python
【问题讨论】: