<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
I'm having some problems deploying my PyQt4/python2.7 project.<br>
My OS is Fedora20.<br>
<br>
I've installed pyqtdeploy v0.4 and the development version
v0.5-preview-2664a71fb643,<br>
I've got the same problems with both.<br>
<br>
What works:<br>
I installed pyqtdeploy (with python3.3 and PyQt5)<br>
I can build the pyqtdeploy project, I got a build directory with all
resources, main.c and other stuff, and of course main.pro<br>
<br>
Problems:<br>
<br>
1)<br>
In main.pro I've got a line which says<br>
<br>
<tt>LIBS += -L/home/.../lib/python2.7/site-packages/PyQt4
-L/home/.../python2.7/site-packages <b>-lQtNetwork_s </b><b>-lQtGui_s
-lQt_s -lQtSql_s </b>-lsip <b>-lQtCore_s</b></tt><br>
<br>
what are those *_s libraries?<br>
After running qmake (qt4) I have them in the makefile and it
complains (<tt>cannot find -lQtGui_s</tt>) because it doesn't find
them,<br>
it finds them without the trailing _s indeed (e.g. libQtGui.so).<br>
<br>
workaround:<br>
<i>What I can do is delete those -l*_s items from main.pro but I'm
not sure at all this is a good idea</i><i> (see errors at the end)</i><br>
<br>
2)<br>
Two lines after (in main.pro) I've got<br>
<br>
<tt>LIBS += -L/home/.../pyqtdeploy <b>-lpython2</b></tt><br>
<br>
Here again there isn't any libpython2.so library, but there's a
libpython2.7.so library indeed<br>
<br>
workaround:<br>
<i>I guess I simply have to replace 2 with 2.7, I'm quite confident
this is a valid workaround/correction</i><br>
<br>
<br>
So after applying the two workarounds on the main.pro file, when
running make I have<br>
<br>
<tt>main.o:(.data+0x8): undefined reference to `initQtNetwork'</tt><tt><br>
</tt><tt>main.o:(.data+0x18): undefined reference to `initQtGui'</tt><tt><br>
</tt><tt>main.o:(.data+0x28): undefined reference to `initQt'</tt><tt><br>
</tt><tt>main.o:(.data+0x38): undefined reference to `initQtSql'</tt><tt><br>
</tt><tt>main.o:(.data+0x48): undefined reference to `initsip'</tt><tt><br>
</tt><tt>main.o:(.data+0x58): undefined reference to `initQtCore'</tt><tt><br>
</tt><tt>collect2: error: ld returned 1 exit status</tt><tt><br>
</tt><br>
(Note: main.c has been generated by pyqtdeploy)<br>
<br>
I cannot find these functions anywhere, is this possibly becuase of
the missing -l*_s libraries?<br>
<br>
Cheers!<br>
<br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
</body>
</html>