[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Can't seem to make pyqtdeploy work
From:       Arve Knudsen <arve.knudsen () gmail ! com>
Date:       2014-05-19 10:46:18
Message-ID: CAEDa090a0YGP-r4qD+16nW0erv9E=qQ35jKZ1Kj+4uJwwPoHDQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@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@riverbankcomputing.com
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>
>

[Attachment #5 (text/html)]

<div dir="ltr">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 :(<div> \
<br></div><div><div><div>      &gt; mingw32-make</div><div>      \
C:/MinGW/bin/mingw32-make -f Makefile.Release</div><div>      mingw32-make[1]: \
Entering directory &#39;Q:/Users/arvek/Repositories/myproject/build&#39;</div><div>  \
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</div> <div>     \
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find \
-lQtCore</div><div>      \
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find \
-lQtGui</div><div>      \
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find \
-lsip</div> <div>      \
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find \
-lQtWidgets</div><div>      \
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find \
-lQtSql</div></div><div> <br></div><div><br></div><div>Arve</div></div></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 11, 2014 at 12:01 \
AM, Phil Thompson <span dir="ltr">&lt;<a href="mailto:phil@riverbankcomputing.com" \
target="_blank">phil@riverbankcomputing.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="">On 10/05/2014 6:05 pm, Arve Knudsen wrote:<br> \
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> The project name, would it matter?<br>
</blockquote>
<br></div>
Depends if it really was the output of the build process, or whether you had replaced \
the project name with &lt;project&gt; for some reason.<span class="HOEnZb"><font \
color="#888888"><br> <br>
Phil</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
                solid;padding-left:1ex">
ArveFra: Phil Thompson<br>
Sendt: ‎10.‎05.‎2014 09:03<br>
Til: <a href="mailto:pyqt@riverbankcomputing.com" \
                target="_blank">pyqt@riverbankcomputing.com</a><br>
Emne: Re: [PyQt] Can&#39;t seem to make pyqtdeploy work<br>
On 09/05/2014 12:31 pm, Arve Knudsen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> Hi<br>
<br>
I&#39;ve now created a pyqtdeploy project for Python 2.7 x86/PyQt5<br>
Windows, but the build seems to bail out (without errors, albeit).<br>
I&#39;ve followed all the steps of the tutorial [1], so I&#39;m really stumped<br>
as to what&#39;s wrong. This is the output from the build process<br>
<br>
Generating code...<br>
<br>
Cleaning Q:UsersarvekRepositories&lt;<u></u>project&gt;build.<br>
<br>
Creating directory Q:UsersarvekRepositories&lt;<u></u>project&gt;build.<br>
<br>
Freezing q:<u></u>usersarvekappdatalocaltempboot<u></u>strap_py2.py<br>
<br>
Running &#39;C:Python27python.exe \
                q:<u></u>usersarvekappdatalocaltempfree<u></u>ze.py<br>
--name pyqtdeploy_bootstrap --as-c<br>
Q:UsersarvekRepositories&lt;<u></u>project&gt;buildfrozen_bootstrap.<u></u>h<br>
q:<u></u>usersarvekappdatalocaltempboot<u></u>strap_py2.py&#39;<br>
<br>
After this, nothing happens.<br>
</blockquote>
<br>
What&#39;s &lt;project&gt;?<br>
<br>
Phil<br>
______________________________<u></u>_________________<br>
PyQt mailing list      <a href="mailto:PyQt@riverbankcomputing.com" \
target="_blank">PyQt@riverbankcomputing.com</a><br> <a \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
target="_blank">http://www.riverbankcomputing.<u></u>com/mailman/listinfo/pyqt</a><br>
 </blockquote>
</div></div></blockquote></div><br></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic