[PyQt] Can't seem to make pyqtdeploy work

Arve Knudsen arve.knudsen at gmail.com
Mon May 19 11:46:18 BST 2014


Strangely, pyqtdeploy (0.4) works better from source than the pip
installation. As far as I can see, it successfully generated the QMake
project. However, building said project (via mingw32-make) fails :(

    > mingw32-make
    C:/MinGW/bin/mingw32-make -f Makefile.Release
    mingw32-make[1]: Entering directory
'Q:/Users/arvek/Repositories/myproject/build'
    g++ -Wl,-s -Wl,-subsystem,console -mthreads -o release\myproject.exe
release/main.o release/pyqtdeploy_main.o release/pyqtdeploy_module.o
release/qrc_pyqtdeploy.o release/qrc_stdlib.o release/qrc_site-packages.o
 -lglu32 -lopengl32 -lgdi32 -luser32 -LC:/Python27/Lib/site-packages/PyQt5
-LC:/Python27/Lib/site-packages -lQtCore -lQtGui -lsip -lQtWidgets -lQtSql
-LC:/Python27/libs -lpython27 -LD:\Qt\5.2.1\mingw48_32\lib -lQt5Widgets
-lQt5Sql -lQt5Gui -lQt5Core
    c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe:
cannot find -lQtCore
    c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe:
cannot find -lQtGui
    c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe:
cannot find -lsip
    c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe:
cannot find -lQtWidgets
    c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe:
cannot find -lQtSql


Arve


On Sun, May 11, 2014 at 12:01 AM, Phil Thompson <phil at riverbankcomputing.com
> wrote:

> On 10/05/2014 6:05 pm, Arve Knudsen wrote:
>
>> The project name, would it matter?
>>
>
> Depends if it really was the output of the build process, or whether you
> had replaced the project name with <project> for some reason.
>
> Phil
>
>
>  ArveFra: Phil Thompson
>> Sendt: ‎10.‎05.‎2014 09:03
>> Til: pyqt at riverbankcomputing.com
>> Emne: Re: [PyQt] Can't seem to make pyqtdeploy work
>> On 09/05/2014 12:31 pm, Arve Knudsen wrote:
>>
>>> Hi
>>>
>>> I've now created a pyqtdeploy project for Python 2.7 x86/PyQt5
>>> Windows, but the build seems to bail out (without errors, albeit).
>>> I've followed all the steps of the tutorial [1], so I'm really stumped
>>> as to what's wrong. This is the output from the build process
>>>
>>> Generating code...
>>>
>>> Cleaning Q:UsersarvekRepositories<project>build.
>>>
>>> Creating directory Q:UsersarvekRepositories<project>build.
>>>
>>> Freezing q:usersarvekappdatalocaltempbootstrap_py2.py
>>>
>>> Running 'C:Python27python.exe q:usersarvekappdatalocaltempfreeze.py
>>> --name pyqtdeploy_bootstrap --as-c
>>> Q:UsersarvekRepositories<project>buildfrozen_bootstrap.h
>>> q:usersarvekappdatalocaltempbootstrap_py2.py'
>>>
>>> After this, nothing happens.
>>>
>>
>> What's <project>?
>>
>> Phil
>> _______________________________________________
>> PyQt mailing list    PyQt at riverbankcomputing.com
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140519/3c0c1ece/attachment.html>


More information about the PyQt mailing list