[PyQt] pyqtdeploy: library not found for -lQtCore

Patrick Stinson patrickkidd at gmail.com
Tue May 5 21:03:29 BST 2015


I assume that -lQtCore is looking for a static library though? Shouldn’t it just link with the frameworks using -F?


> On May 2, 2015, at 1:50 AM, Phil Thompson <phil at riverbankcomputing.com> wrote:
> 
> On 02/05/2015 8:20 am, Patrick Stinson wrote:
>> I can see the command line OK but I’m not aware of any static libs in
>> the homebrew build of qt. I assume this means that pyqtdeploy is going
>> to pack everything, even the qt code into one exe inside the bundle?
> 
> No, the exe will try to dynamically load external Qt libraries.
> 
>> And is it even possible to build static qt libraries along with the
>> dynamic lib versions that will load from python source code in
>> development?
> 
> Phil
> 
>>> On May 1, 2015, at 10:59 PM, Ilya Kulakov <kulakov.ilya at gmail.com> wrote:
>>> Try `VERBOSE=1 make` and check whether all dirs are passed to invocations of clang.
>>> Best Regards
>>> Ilya Kulakov
>>>> On 2 мая 2015 г., at 5:09, Patrick Stinson <patrickkidd at gmail.com> wrote:
>>>> I get this when running “make” in the project generated by pyqtdeploy.
>>>> -----------------------------------------------------------
>>>> ld: library not found for -lQtCore
>>>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>>>> make: *** [PKMidiCron.app/Contents/MacOS/PKMidiCron] Error
>>>> -----------------------------------------------------------
>>>> python3/qt/pyqt5 are installed using homebrew, and my piquet does not use static qt libs. Let me know what other info I can provide.
>>>> Thanks!
>>>> _______________________________________________
>>>> PyQt mailing list    PyQt at riverbankcomputing.com
>>>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>> _______________________________________________
>> PyQt mailing list    PyQt at riverbankcomputing.com <mailto:PyQt at riverbankcomputing.com>
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt <http://www.riverbankcomputing.com/mailman/listinfo/pyqt>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com <mailto:PyQt at riverbankcomputing.com>
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt <http://www.riverbankcomputing.com/mailman/listinfo/pyqt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150505/2196bf97/attachment.html>


More information about the PyQt mailing list