Matt McCormick <m...@...> writes: > > I am trying to build a PyQt4 application that uses veusz, but I am having > difficulties. I am a relative newbie to PyQt4 and Veusz, but here is a Hello > World that shows what I am trying to do. > > #!/usr/bin/env python > > # A hello world example of using veusz in a PyQt4 app. >
OK, finally figured it out. ... > app = QtGui.QApplication(sys.argv) ... Turns out that doesn't work. Veusz need some initialization functions. The following is needed instead. Note stylesheet has to be imported before Application. import veusz.setting.stylesheet from veusz.application import Application app = Application(sys.argv) _______________________________________________ Veusz-discuss mailing list [email protected] https://mail.gna.org/listinfo/veusz-discuss
