QuantPy icon indicating copy to clipboard operation
QuantPy copied to clipboard

Create instructions on how to make the GUI work on Windows

Open kodchi opened this issue 12 years ago • 5 comments

kodchi avatar Jun 04 '13 02:06 kodchi

So it doesn't look like there is an easy way to get pygobject working on windows. I think there is a way to compile it using mingw, but I haven't tried it.

I think GTK+3 itself is pretty new, so it takes some time before we can use it with pygobject.

jsmidt, are we still going with GTK+ or do you want to see other alternatives?

kodchi avatar Jun 06 '13 19:06 kodchi

I think given these issues the options are:

  1. Use GTK+2 which may be better supported. http://zetcode.com/gui/pygtk/. Looks like it should work with matplotlib: http://matplotlib.org/examples/user_interfaces/embedding_in_gtk.html
  2. Use PyQt: http://zetcode.com/tutorials/pyqt4/ which are a common used and mature bindings for the Qt toolkit. matplotlib is supposed to work with pyQt4: http://matplotlib.org/examples/user_interfaces/embedding_in_qt4.html
  3. Use PySide: http://zetcode.com/gui/pysidetutorial/ which is the newer non-3rd party Qt bindings. I know matplotlib is supposed to work with pyside: http://wiki.scipy.org/Cookbook/Matplotlib/PySide It looks like GUI elements of matplotlib are possibly even based on pyside: http://qt-project.org/wiki/PySide_Based_Apps

Here are some more examples: http://matplotlib.org/examples/user_interfaces/

You decide what is the best option to go with. I am fine with any as long as Windows, Mac and Linux users can install which I believe is the case for all these three.

QuantPy avatar Jun 06 '13 19:06 QuantPy

Sorry, that last comment was really from me.

jsmidt avatar Jun 06 '13 19:06 jsmidt

I think I'll give GTK+3 another try because GTK+2 is an old technology, and I'm not really familiar with QT. If I can get GTK+3 working on Windows, we'll use it right? Getting it to work on Mac should be easier.

kodchi avatar Jun 06 '13 19:06 kodchi

Okay, if you can get it working then sure.

QuantPy avatar Jun 06 '13 19:06 QuantPy