2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 01:46:15 +01:00

Update the pyqt example

This commit is contained in:
Waf Project 2024-05-20 23:37:27 +02:00
parent 72db8e0240
commit 8d2ad010f5

View File

@ -14,9 +14,11 @@ def options(opt):
opt.load('python pyqt5') opt.load('python pyqt5')
def configure(conf): def configure(conf):
# Recent UIC/RCC versions require explicit python generator selection # Recent UIC/RCC versions may require explicit python generator selection
conf.env.QT_PYUIC_FLAGS = ['-g', 'python'] #conf.env.QT_PYUIC_FLAGS = ['-g', 'python']
conf.env.QT_PYRCC_FLAGS = ['-g', 'python'] #conf.env.QT_PYRCC_FLAGS = ['-g', 'python']
#
#
# Load also python to demonstrate mixed calls # Load also python to demonstrate mixed calls
conf.load('python pyqt5') conf.load('python pyqt5')
conf.check_python_version((2,7,4)) conf.check_python_version((2,7,4))