[PyQt] Customizing ui compiler to use pyrcc5?

Giuseppe Corbelli corbelligiuseppe at mesdan.it
Wed Apr 22 09:58:23 BST 2020

On 4/21/20 8:09 PM, Patrick Stinson wrote:
> Has anyone tried to create a qmake project that will handle pyqt5 targets? Seems that would have to at least:
> 1) Customize the ui compiler to use pyrcc5 instead of rcc
> 2) Build sip submodules (I have actually had some success with this)
> 3) Figure out a way to simultaneously build for multiple platforms, e.g. macOS and iOS.
> I am trying get my dev, macOS, iOS, and Windows targets into a single
> qmake-based build system to simplify development and deployment
> across platforms.

As far as I know Qt is moving away from qmake to cmake for QT6[1][2] so 
I would suggest staying one step ahead and using cmake, which should be 
already a viable option for QT5.

[2] https://wiki.qt.io/CMake_Port
Giuseppe Corbelli

More information about the PyQt mailing list