Results 1 to 3 of 3

Thread: Python Bindings for QtWinMigrate

  1. #1
    Join Date
    Jan 2015
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Python Bindings for QtWinMigrate

    Hello there,

    so there is this commercial application that allows me to use Python as a scripting language and PyQt/PySide to create GUIs for my tools. Sadly there is currently no proper way to parent these GUIs to the main application (thus lacking in usability a lot), since it is using MFC internally. There is a plugin created by 3rd party company that solved this problem by creating python bindings for the QtWinMigrate library, but unfortunately they only distribute the .pyd file and I have not yet been able to contact them since all email addresses are gone.

    I would like to create a QtWinMigrate.pyd on my own, linked against Qt 4.8.5 x64 and Python 2.7.3 x64. Fortunately, someone has already shared part of the work in form of SIP files.

    My question now is, how would I start and go about this problem?

    The SIP files reference QtGui/QWidget.sip, so I guess they need to be integrated into the sources of PyQt and build from there. I also guess I need to put the qtwinmigrate code somewhere to make it work. Afaik understand I also need to make sure that the MFC libraries are somehow involved. I have a copy of Visual Studio 2012 Professional where they are included to do all this stuff.

    As you can probably read between the lines, I am more of a Python guy stumbling into the C++ compilation world, but curious to learn how things work.
    Any tips would be greatly appreciated!

    Thanks

  2. #2
    Join Date
    Jan 2015
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Python Bindings for QtWinMigrate

    No one with sip experience? PySide/shiboken maybe?

  3. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Python Bindings for QtWinMigrate

    River Bank Computing, the creators of the PyQt bindings, have a mailinglist.
    http://www.riverbankcomputing.com/support/lists

    Cheers,
    _

Similar Threads

  1. QtWinMigrate not working with Qt5
    By Al W in forum Qt Programming
    Replies: 0
    Last Post: 13th October 2014, 08:45
  2. Embedding PyQt4 into an Application running Python via Boost::Python
    By GreyHound in forum Installation and Deployment
    Replies: 1
    Last Post: 6th February 2012, 06:48
  3. QtWinmigrate static linking with MFC
    By dslee168 in forum Qt Programming
    Replies: 0
    Last Post: 5th January 2012, 22:23
  4. qtwinmigrate
    By lorik in forum Newbie
    Replies: 10
    Last Post: 28th September 2011, 08:15
  5. Replies: 0
    Last Post: 8th April 2011, 20:10

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.