thecocce / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

PyQt not displaying jpgs #367

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a small pyqt app with label with pixmal displaying any jpg image
2.
3.

What is the expected output? What do you see instead?
-label should display the jpg image specified. but not displaying.
same application displays the same jpg as expected, when it runs from
python idle.

-same application if it displays some PNG it shows them well in pyscripter
and in python idle

What version of the product are you using? On what operating system?
PyScripter 1.9.9.7
PyQt 4.4.1
Win XP x64 2003 SP2

Please provide any additional information below.

Original issue reported on code.google.com by kaymatrix on 24 May 2010 at 7:15

GoogleCodeExporter commented 9 years ago
Could you provide a sample script so that I can investigate the issue?

Original comment by pyscripter on 11 Aug 2010 at 12:33

GoogleCodeExporter commented 9 years ago
from PyQt4 import QtGui,QtCore
import sys

app = QtGui.QApplication(sys.argv)

win = QtGui.QDialog()
label = QtGui.QLabel(win)
pixmap = QtGui.QPixmap('Winter.jpg')
label.setPixmap(pixmap)
win.show()

appExitCode = app.exec_()
sys.exit(appExitCode)

##Make sure you have Winter.jpg image file relative to this script file.
##Code runs fine in python idle, eric.

Original comment by kaymatrix on 12 Aug 2010 at 5:10

GoogleCodeExporter commented 9 years ago
Cannot reproduce with PyScripter v2.0.  Image displays fine and is the same as 
when running from the standard Python interpreter.  Please make sure you use 
the remote Python engine 
(http://code.google.com/p/pyscripter/wiki/RemoteEngines).

Original comment by pyscripter on 16 Aug 2010 at 5:11