<div dir="ltr"><span style="color:rgb(0,0,0);font-size:12.8px">Hello all,</span><div><span style="color:rgb(0,0,0);font-size:12.8px"><br></span></div><div><span style="color:rgb(0,0,0);font-size:12.8px">I am trying to build a QtQuick demo application using pyqtdeploy. I have been able to build under Linux successfully, but am getting a strange set of errors in OS X when following similar build procedure.</span><div style="color:rgb(0,0,0);font-size:12.8px"><br></div><div style="color:rgb(0,0,0);font-size:12.8px">I am using SIP 4.18-1 and PyQt 5.7 and Online-Installer of Qt 5.7.1 on Mac OS X 10.10.5. I have Python 3.5.2 from <a href="http://python.org/" target="_blank">python.org</a> and built SIP and PyQt5.7 using python3 configure.py for each.I have used the development snapshot of <span style="font-size:12.8px">pyqtdeploy </span><span style="font-size:12.8px">and v1.3.1, both with the same problem:</span></div><div style="color:rgb(0,0,0);font-size:12.8px"><br></div><div style="color:rgb(0,0,0);font-size:12.8px">I build SIP statically, following the instructions on the pyqtdeploy docs. When I try to run qmake then make after successful pyqtdeploy build I get the following:<br></div><div style="color:rgb(0,0,0);font-size:12.8px"><br></div><div style="color:rgb(0,0,0);font-size:12.8px"> /Applications/Xcode.app/<wbr>Contents/Developer/Toolchains/<wbr>XcodeDefault.xctoolchain/usr/<wbr>bin/clang++ -headerpad_max_install_names -stdlib=libc++ -Wl,-syslibroot,/Applications/<wbr>Xcode.app/Contents/Developer/<wbr>Platforms/MacOSX.platform/<wbr>Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.8 -Wl,-rpath,/opt/Qt/5.7/clang_<wbr>64/lib -o aaaa.app/Contents/MacOS/aaaa pyqtdeploy_main.o pyqtdeploy_start.o pdytools_module.o qrc_pyqtdeploy.o -F/opt/Qt/5.7/clang_64/lib -L/Library/Frameworks/Python.<wbr>framework/Versions/3.5/lib/<wbr>python3.5/site-packages -lsip -L/Library/Frameworks/Python.<wbr>framework/Versions/3.5/lib/<wbr>python3.5/site-packages/PyQt5 -lQt -lQtCore -lQtGui -lQtNetwork -lQtQml -lQtQuick -lQtWidgets -L/Library/Frameworks/Python.<wbr>framework/Versions/3.5 -lPython -framework SystemConfiguration -framework CoreFoundation -framework QtQuick -framework QtQml -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit -framework QtGui -framework QtWidgets -framework OpenGL -framework AGL </div><div style="color:rgb(0,0,0);font-size:12.8px">Undefined symbols for architecture x86_64:</div><div style="color:rgb(0,0,0);font-size:12.8px"> "_PyBytes_FromStringAndSize", referenced from:</div><div style="color:rgb(0,0,0);font-size:12.8px"> qrcimporter_get_data(_object*, _object*) in pdytools_module.o</div><div style="color:rgb(0,0,0);font-size:12.8px"> "_PyImport_AddModuleObject", referenced from:</div><div style="color:rgb(0,0,0);font-size:12.8px"> qrcimporter_load_module(_<wbr>object*, _object*) in pdytools_module.o</div><div style="color:rgb(0,0,0);font-size:12.8px"> "_PyImport_<wbr>ExecCodeModuleObject", referenced from:</div><div style="color:rgb(0,0,0);font-size:12.8px"> qrcimporter_load_module(_<wbr>object*, _object*) in pdytools_module.o</div><div style="color:rgb(0,0,0);font-size:12.8px"> "_PyModule_Create2", referenced from:</div><div style="color:rgb(0,0,0);font-size:12.8px"> _PyInit_pdytools in pdytools_module.o</div><div style="color:rgb(0,0,0);font-size:12.8px"> "_PyUnicode_FSDecoder", referenced from:</div><div style="color:rgb(0,0,0);font-size:12.8px"> qrcimporter_init(_object*, _object*, _object*) in pdytools_module.o</div><div style="color:rgb(0,0,0);font-size:12.8px"> "_PyUnicode_FromKindAndData", referenced from:</div><div style="color:rgb(0,0,0);font-size:12.8px"> qstring_to_str(QString const&) in pdytools_module.o</div><div style="color:rgb(0,0,0);font-size:12.8px"> "_PyUnicode_FromString", referenced from:</div><div style="color:rgb(0,0,0);font-size:12.8px"> pyqtdeploy_start(int, char**, _inittab*, char const*, char const*, char const**) in pyqtdeploy_start.o</div><div style="color:rgb(0,0,0);font-size:12.8px"> "_PyUnicode_FromStringAndSize"<wbr>, referenced from:</div><div style="color:rgb(0,0,0);font-size:12.8px"> pyqtdeploy_start(int, char**, _inittab*, char const*, char const*, char const**) in pyqtdeploy_start.o</div><div style="color:rgb(0,0,0);font-size:12.8px"> "_Py_<wbr>HasFileSystemDefaultEncoding", referenced from:</div><div style="color:rgb(0,0,0);font-size:12.8px"> pyqtdeploy_start(int, char**, _inittab*, char const*, char const*, char const**) in pyqtdeploy_start.o</div><div style="color:rgb(0,0,0);font-size:12.8px"> "__Py_FalseStruct", referenced from:</div><div style="color:rgb(0,0,0);font-size:12.8px"> qrcimporter_is_package(_<wbr>object*, _object*) in pdytools_module.o</div><div style="color:rgb(0,0,0);font-size:12.8px">ld: symbol(s) not found for architecture x86_64</div><div style="color:rgb(0,0,0);font-size:12.8px">clang: error: linker command failed with exit code 1 (use -v to see invocation)</div><div style="color:rgb(0,0,0);font-size:12.8px">make: *** [aaaa.app/Contents/MacOS/aaaa] Error 1</div><div style="color:rgb(0,0,0);font-size:12.8px"><br></div><div style="color:rgb(0,0,0);font-size:12.8px">Any ideas?</div><div><div class="gmail_signature"><div dir="ltr"><br></div></div></div>
</div></div>