[PyQt] pyqtdeploy-build 2.4 adding "QT += printsupport" for ios-64?

Patrick Stinson patrickkidd at gmail.com
Fri Oct 11 18:42:25 BST 2019


Scratch that. I have no idea what fixed it, but its broken again even with a re-built sysroot.

I am also wondering why it is repeatedly so hard for me to get the diagnosis right for pyqtdeploy problems.

> On Oct 11, 2019, at 12:32 PM, Patrick Stinson <patrickkidd at gmail.com> wrote:
> 
> Interesting. I changed my “qscintilla" sys root.json entry to “mac|win#qscintilla” (which it should be anyway) and pyqtdeploy-build stopped adding QtPrintSupport to the .pro. There must have been some interaction with the Qt qmake config somewhere or something. No idea.
> 
>> On Oct 11, 2019, at 12:07 PM, Patrick Stinson <patrickkidd at gmail.com> wrote:
>> 
>> pyqtdeploy-build 2.4 is adding “printsupport” to the .pro file it generates for —target ios-64. It seems like this should happen under no circumstances?
>> 
>> Command line:
>> 
>> pyqtdeploy-build --verbose --sysroot ~/dev/vendor/sysroot-ios-64 --target ios-64 --build-dir build/ios pkdiagram.pdy
>> 
>> Relevant sysroot.json:
>> 
>>   "qt5": {
>>       "ios#qt_dir": "../lib/Qt/5.13.1/ios",
>>       "ios#ssl": "securetransport",
>>       "macos|win#edition": "opensource",
>>       "macos|win#ssl": "openssl-linked",
>>       "macos|win#source": "qt-everywhere-src-5.13.1-patched.tar.gz",
>>       "macos|win#configure_options": [
>>           "-opensource",
>>           "-confirm-license",
>>           "-debug-and-release",
>>           "-nomake", "examples",
>>           "-nomake", "tests",
>>           "-no-sql-mysql",
>>           "-no-sql-psql",
>>           "-opengl", "desktop"
>>       ],
>>       "skip": [
>>           "qtactiveqt",
>>           "qtcanvas3d",
>>           "qtgamepad",
>>           "qtremoteobjects",
>>           "qtscript",
>>           "qtserialbus",
>>           "qtserialport",
>>           "qtspeech",
>>           "qtvirtualkeyboard",
>>           "qtwayland",
>>           "qtwebglplugin",
>>           "qtwebsockets",
>>           "qtwebengine",
>>           "qtwebchannel",
>>           "qtwebview"
>>       ],
>>       "static_msvc_runtime": true
>>   },
>> 
>>   "pyqt5": {
>>       "source": "PyQt5_gpl-5.13.1.tar.gz",
>> 	"ios#disabled_features": [
>>           "PyQt_Desktop_OpenGL", "PyQt_MacOSXOnly",
>>           "PyQt_MacCocoaViewContainer", "PyQt_Printer",
>>           "PyQt_PrintDialog", "PyQt_PrintPreviewDialog",
>>           "PyQt_PrintPreviewWidget", "PyQt_Process",
>>           "PyQt_NotBootstrapped"
>>       ],
>>       "win#disabled_features": [
>>           "PyQt_Desktop_OpenGL"
>>       ],
>>       "ios#modules": [
>>           "QtCore", "QtGui", "QtNetwork", "QtWidgets",
>>           "QtMacExtras", "QtPositioning", "QtLocation", "QtQml", "QtQuick", "QtQuickWidgets"
>>       ],
>>       "macos#modules": [
>>           "QtCore", "QtGui", "QtNetwork", "QtPrintSupport", "QtWidgets",
>>           "QtMacExtras", "QtPositioning", "QtLocation", "QtQml", "QtQuick", "QtQuickWidgets"
>>       ],
>>       "win#modules": [
>>           "QtCore", "QtGui", "QtNetwork", "QtPrintSupport", "QtWidgets",
>>           "QtWinExtras", "QtPositioning", "QtLocation", "QtQml", "QtQuick", "QtQuickWidgets"
>>       ]
>>   },
>> 
>> 
>> 
> 



More information about the PyQt mailing list