Results 1 to 4 of 4

Thread: PyQt4 to Py3exe problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: PyQt4 to Py3exe problem

    Maybe per analogiam to this your should try:

    setup(windows=[{"script":"test.py"}], options={"py2exe":{"includes":["sip", "_qt"]}})

  2. #2
    Join Date
    Jun 2007
    Posts
    62
    Thanks
    28
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: PyQt4 to Py2exe problem

    Quote Originally Posted by jacek View Post
    Maybe per analogiam to this your should try:

    setup(windows=[{"script":"test.py"}], options={"py2exe":{"includes":["sip", "_qt"]}})
    Yes, I had tried that. Py2Exe complains that it cannot find _qt.
    I guess nobody here uses PyQt4 with Py2exe. Or it is a trade secret.

  3. #3

    Default Re: PyQt4 to Py3exe problem

    Try this:

    from distutils.core import setup
    import py2exe
    setup(
    windows = [{"script": "test.py"}],
    options = {"py2exe":{"includes":["sip", "PyQt4._qt"]}}
    )

Similar Threads

  1. Replies: 16
    Last Post: 7th March 2006, 15:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.