<html><head>
<style>body{font-family:Helvetica,Arial;font-size:13px}</style></head>
<body style="margin-bottom:45px">
<div style="font-size: 10pt;"><div dir="ltr" style="margin-top:0;margin-bottom:0;">Bumping my own threads with more thoughts and/or information as usual...</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">I don't see '-framework XCTest' anywhere in the linker line (unless my eyes deceive me). Seeing as it contains the desired missing symbols, should it be? And if so, How do I add it?</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">Cheers, Rob</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div id="SignatureBox" dir="ltr" style="margin-top:0;margin-bottom:0;"><div dir="ltr" style="margin-top:0;margin-bottom:0;font-size:9pt;font-style:italic;">This was sent using a LG Mobile. On O2</div></div></div><div style="font-size: 10pt;"><div id="LGEmailHeader" dir="ltr" style="margin-top:0;margin-bottom:0;"><div dir="lt
r" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">------ Original message------</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>From: </b>Robert Kent<rob@gulon.co.uk></rob@gulon.co.uk></div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Date: </b>Wed, 18 May 2016 20:43</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>To: </b><a href="mailto:pyqt@riverbankcomputing.com">pyqt@riverbankcomputing.com</a>;</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Cc: </b></div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Subject:</b>[PyQt] Static PyQt5.6 - QtQuick not building</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;" dir="ltr">Hi Phil,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13p
x; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;" dir="ltr"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;" dir="ltr">I’m trying to build a static version of PyQt5.6 on OSX 10.11.4 (Xcode 7.3.1, Python 3.5.1) for use with pyqtdeploy 1.2.1, but when I run configure, its failing the config test to built the QtQuick* modules. I have static versions of Qt5.6.0 and SIP 4.18 installed in my $SYSROOT. The static versions of libQt5Quick, libQt5QuickTest, libQt5QuickWidgets etc. are all there in the lib directory. The build lines I am using are as follows:</div><div dir="ltr"><br></div>pyqtdeploycli --package pyqt5 configure<div dir="ltr">python <a href="http://configure.py">configure.py</a> --static --sysroot=$SYSROOT --no-tools --no-qsci-api --no-designer-plugin --no-qml-plugin —qmake=$SYSROOT/qt-5.6.0/bin/qmake --verbose<br><div id="bloop_sign_1463599770372000000" c
lass="bloop_sign" dir="ltr"><div style="font-family:helvetica,arial;font-size:13px" dir="ltr"><br></div><div style="font-family:helvetica,arial;font-size:13px" dir="ltr"><span style="font-family: Helvetica, Arial;">The output snippet (with --verbose) for QtQuickWidgets for example is as follows:</span></div><div style="font-family:helvetica,arial;font-size:13px" dir="ltr"><span style="font-family: Helvetica, Arial;"><br></span></div><div style="font-family:helvetica,arial;font-size:13px" dir="ltr"><div dir="ltr">Checking to see if the QtQuickWidgets module should be built...</div><div dir="ltr">/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/bin/qmake -o cfgtest_<a href="http://QtQuickWidgets.mk">QtQuickWidgets.mk</a> cfgtest_<a href="http://QtQuickWidgets.pro">QtQuickWidgets.pro</a></div><div dir="ltr">make -f cfgtest_<a href="http://QtQuickWidgets.mk">QtQuickWidgets.mk</a></div><div dir="ltr">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/
bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/<a href="http://MacOSX.pl">MacOSX.pl</a>atform/Developer/SDKs/<a href="http://MacOSX10.11.sd">MacOSX10.11.sd</a>k -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../Documents/pydsysroot-osx2/qt-5.6.0/include -I../../Documents/pydsysroot-osx2/qt-5.6.0/include/QtQuickWidgets -I../../Documents/pydsysroot-osx2/qt-5.6.0/include/QtQuick -I../../Documents/pydsysroot-osx2/qt-5.6.0/include/QtWidgets -I../../Documents/pydsysroot-osx2/qt-5.6.0/include/QtGui -I../../Documents/pydsysroot-osx2/qt-5.6.0/include/QtQml -I../../Documents/pydsysroot-osx2/qt-5.6.0/include/QtNetwork -I../../Documents/pydsysroot-osx2/qt-5.6.0/include/QtCore -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/<a href="http://MacOSX.pl">MacOSX.pl</a>atform/Developer/SDK
s/<a href="http://MacOSX10.11.sd">MacOSX10.11.sd</a>k/System/Library/Frameworks/<a href="http://OpenGL.fr">OpenGL.fr</a>amework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/<a href="http://MacOSX.pl">MacOSX.pl</a>atform/Developer/SDKs/<a href="http://MacOSX10.11.sd">MacOSX10.11.sd</a>k/System/Library/Frameworks/<a href="http://AGL.fr">AGL.fr</a>amework/Headers -I../../Documents/pydsysroot-osx2/qt-5.6.0/mkspecs/macx-clang -o cfgtest_QtQuickWidgets.o cfgtest_QtQuickWidgets.cpp</div><div dir="ltr">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -stdlib=libc++ -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/<a href="http://MacOSX.pl">MacOSX.pl</a>atform/Developer/SDKs/<a href="http://MacOSX10.11.sd">MacOSX10.11.sd</a>k -mmacosx-version-min=10.7 -o cfgtest_QtQuickWidgets.app/Contents/MacOS/cfgtest_QtQuickWidgets cfgtest_QtQuickWidgets.o cfgtest_qtquickwidgets_qml_plu
gin_import.o cfgtest_qtquickwidgets_plugin_import.o -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/lib -lQt5QuickWidgets -framework DiskArbitration -framework IOKit -framework Foundation -framework CoreServices -framework AppKit -framework ApplicationServices -framework CoreFoundation -framework Cocoa -framework OpenGL -framework AGL -framework Security -framework SystemConfiguration -framework Carbon -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/qml/QtQuick.2 -lqtquick2plugin -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/qml/Qt/labs/calendar -lqtlabscalendarplugin -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/qml/QtQuick/Window.2 -lwindowplugin -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/qml/Qt/labs/templates -lqtlabstemplatesplugin -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/qml/Qt/labs/controls -lqtlabscontrolsplugin -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/qml/Qt/labs/controls/material -lqtlabsmaterialstyleplugin -L/Users/rob/Documents/pydsys
root-osx2/qt-5.6.0/qml/Qt/labs/controls/universal -lqtlabsuniversalstyleplugin -lQt5LabsControls -lQt5LabsTemplates -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/qml/QtGraphicalEffects/private -lqtgraphicaleffectsprivate -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/qml/QtMultimedia -ldeclarative_multimedia -lQt5MultimediaQuick_p -lQt5Multimedia -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/qml/QtQuick/Controls -lqtquickcontrolsplugin -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/qml/QtQuick/Layouts -lqquicklayoutsplugin -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/qml/QtQml/Models.2 -lmodelsplugin -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/qml/QtQuick/Extras -lqtquickextrasplugin -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/qml/QtTest -lqmltestplugin -lQt5QuickTest -lQt5Test -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/qml/QtQuick/Particles.2 -lparticlesplugin -lQt5QuickParticles -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/plugins/platforms -lqcoco
a -lcups -lQt5PlatformSupport -lQt5DBus -lqtfreetype -lQt5PrintSupport -lQt5Widgets -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/plugins/imageformats -lqdds -lqicns -lqico -lqtga -lqtiff -lqwbmp -lqwebp -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/plugins/qmltooling -lqmldbg_debugger -lqmldbg_inspector -lQt5Quick -lqmldbg_local -lqmldbg_native -lQt5Gui -lqtharfbuzzng -lqmldbg_profiler -lqmldbg_server -lqmldbg_tcp -lQt5Qml -L/Users/rob/Documents/pydsysroot-osx2/qt-5.6.0/plugins/bearer -lqcorewlanbearer -framework CoreWLAN -lqgenericbearer -lQt5Network -lQt5Core -lz -lqtpcre -lm</div><div dir="ltr">Undefined symbols for architecture x86_64:</div><div dir="ltr"> "_OBJC_CLASS_$_XCTestCase", referenced from:</div><div dir="ltr"> _OBJC_CLASS_$_QtTestLibWrapper in libQt5Test.a(qxctestlogger.o)</div><div dir="ltr"> _OBJC_CLASS_$_QtTestLibTest in libQt5Test.a(qxctestlogger.o)</div><div dir="ltr"> "_OBJC_CLASS_$_XCTestDriver",
referenced from:</div><div dir="ltr"> objc-class-ref in libQt5Test.a(qxctestlogger.o)</div><div dir="ltr"> "_OBJC_CLASS_$_XCTestProbe", referenced from:</div><div dir="ltr"> objc-class-ref in libQt5Test.a(qxctestlogger.o)</div><div dir="ltr"> "_OBJC_CLASS_$_XCTestSuite", referenced from:</div><div dir="ltr"> objc-class-ref in libQt5Test.a(qxctestlogger.o)</div><div dir="ltr"> _OBJC_CLASS_$_QtTestLibTests in libQt5Test.a(qxctestlogger.o)</div><div dir="ltr"> "_OBJC_METACLASS_$_XCTestCase", referenced from:</div><div dir="ltr"> _OBJC_METACLASS_$_QtTestLibWrapper in libQt5Test.a(qxctestlogger.o)</div><div dir="ltr"> _OBJC_METACLASS_$_QtTestLibTest in libQt5Test.a(qxctestlogger.o)</div><div dir="ltr"> "_OBJC_METACLASS_$_XCTestSuite", referenced from:</div><div dir="ltr"> _OBJC_METACLASS_$_QtTestLibTests in libQt5Test.
a(qxctestlogger.o)</div><div dir="ltr">ld: symbol(s) not found for architecture x86_64</div><div dir="ltr">clang: error: linker command failed with exit code 1 (use -v to see invocation)</div><div dir="ltr">make: *** [cfgtest_QtQuickWidgets.app/Contents/MacOS/cfgtest_QtQuickWidgets] Error 1</div><div dir="ltr"><br></div><div dir="ltr">Any thoughts on what I’ve screwed up?</div><div dir="ltr"><br></div><div dir="ltr">Cheers, Rob</div></div></div></div></div>
</body></html>