错误信息如下:
bill@huhu:~/tmp/PyQt-gpl-5.0$ sudo python3 configure.py
Querying qmake about your Qt installation...
qmake: could not find a Qt installation of ''
An internal error occured. Please report all the output from the program,
including the following traceback, to
[email protected].
Traceback (most recent call last):
File "configure.py", line 2409, in <module>
main(sys.argv)
File "configure.py", line 2366, in main
target_config.get_qt_configuration(opts)
File "configure.py", line 469, in get_qt_configuration
self.designer_plugin_dir = qt_config.QT_INSTALL_PLUGINS + '/designer'
AttributeError: 'TargetQtConfiguration' object has no attribute 'QT_INSTALL_PLUGINS'