[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] pyqt4.10.4 QtGui.QFileDialog.getOpenFileNames can not work well with Anaconda1.9r
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2014-04-29 9:48:00
Message-ID: c4593acb743307c50cde249b7cbf3467 () www ! riverbankcomputing ! com
[Download RAW message or body]

On 29/04/2014 10:28 am, shaohua199 wrote:
> Hi,
> 
> After I install the pyqt4.10.4 into the Anaconda1.9.2(python2.7.6),
> and run the following test script:
> 
> import sys
> import os
> from PyQt4 import QtGui
> if __name__ == "__main__":
>  app = QtGui.QApplication(sys.argv)
> 
>  filter_ = "Library File(*.lib *.l *.scs);;All File(*.*)"
>  title = "Select files"
>  lib_path_list = QtGui.QFileDialog.getOpenFileNames(None, title,
> os.getcwd(), filter_)
> 
>  sys.exit(app.exec_())
> 
> Then, the dialog show, but can not display the file name, directory
> name normally, just like following picture:
> 
> Could you tell me what reason it is, how can I fix this issue?
> Thank you very much!!

Most likely a problem with your Qt installation, or Anaconda. Nothing to 
do with PyQt.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic