tom - 2015-04-22

Hi everybody,

I'm trying to get the generator work on debian,
debian uses qt 4.8 but the generated_cpp_48 directory doesn't work. I
managed to fix this, so now I have a working copy of both PythonQt and
PytohnQt_QtAll libraries.

I was trying then to rebuild the genarated_cpp folder (following this
thread
http://sourceforge.net/p/pythonqt/discussion/631393/thread/8d0263b8/?limit=25#1e05
)

But I miss the webkit stuff:


ls ../generated_cpp
com_trolltech_qt_core
com_trolltech_qt_gui_builtin
com_trolltech_qt_sql
com_trolltech_qt_xml
com_trolltech_qt_core_builtin
com_trolltech_qt_network
com_trolltech_qt_svg
com_trolltech_qt_xmlpatterns
com_trolltech_qt_gui
com_trolltech_qt_opengl
com_trolltech_qt_uitools

and then I'm not able to recompile the examples:


cd PyGuiExample/ && make -f Makefile 
make[2]: Entering directory `/home/debian/pythonqt-code/examples/PyGuiExample'
g++ -m64 -Wl,-O1 -o ../../lib/PyGuiExample main.o qrc_PyGuiExample.o    -L/usr/lib/x86_64-linux-gnu -ldl -lutil -lm -lpython2.7 -L/home/debian/pythonqt-code/build/../lib -lPythonQt -lPythonQt_QtAll -lQtGui -lQtCore -lpthread 
/home/debian/pythonqt-code/build/../lib/libPythonQt_QtAll.so: undefined reference to `PythonQt_init_QtWebKit(_object*)'
collect2: error: ld returned 1 exit status
make[2]: *** [../../lib/PyGuiExample] Error 1
make[2]: Leaving directory `/home/debian/pythonqt-code/examples/PyGuiExample'
make[1]: *** [sub-PyGuiExample-make_default] Error 2
make[1]: Leaving directory `/home/debian/pythonqt-code/examples'
make: *** [sub-examples-make_default-ordered] Error 2

What am I doing wrong?

is there an howto on how to build the qt wrappers from zero?

Thanks a lot

Tommaso

 

Last edit: tom 2015-04-23