Hello, I managed to successfuly compile Qt 5.5 for raspberry pi 2, but I need to compile it with GStreamer 1 and webkit support. I cant use GStreamer 0.1 because of incompatibility of webkit using 1.0 and qtmultimedia using 0.1... so when I instantiate both of these modules, it crashes...
I have SDcard with raspbian mounted in /mnt/rasp-pi-rootfs. If I run configure like this, ./configure -gstreamer 1.0 -v -opengl es2 -device linux-rasp-pi-g++ -device-option \ CROSS_COMPILE=/home/imrija/qtpi/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs \ -opensource -confirm-license -optimized-qmake -reduce-exports -release -icu -make libs -prefix /usr/local/qt5pi \ it prints error about lphtread. so I tried to pass -lpthread parameter, it printed similar error, so I repeated this proccess for -lrt... now my configure looks like this: ./configure -lpthread -lrt -gstreamer 1.0 -v -opengl es2 -device linux-rasp-pi-g++ \ -device-option CROSS_COMPILE=/home/imrija/qtpi/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- \ -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -icu -make libs -prefix /usr/local/qt5pi now it prints the same error for libpcre: --------- GStreamer 1.0 auto-detection... () /home/imrija/qtpi/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs -O2 -pthread -pthread -pthread -pthread -pthread -Wall -W -fPIC -I. -I/mnt/rasp-pi-rootfs/usr/include/gstreamer-1.0 -I/mnt/rasp-pi-rootfs/usr/include/glib-2.0 -I/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I../../../mkspecs/devices/linux-rasp-pi-g++ -o gstreamer.o gstreamer.cpp /home/imrija/qtpi/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-rpath-link,/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/mnt/rasp-pi-rootfs/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o gstreamer gstreamer.o --sysroot=/mnt/rasp-pi-rootfs -lpthread -lrt -L/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -lgstaudio-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstpbutils-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 /home/imrija/qtpi/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: /mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libglib-2.0.a(libglib_2_0_la-gregex.o): undefined reference to symbol 'pcre_study' /home/imrija/qtpi/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: note: 'pcre_study' is defined in DSO /mnt/rasp-pi-rootfs/lib/arm-linux-gnueabihf/libpcre.so.3 so try adding it to the linker command line /mnt/rasp-pi-rootfs/lib/arm-linux-gnueabihf/libpcre.so.3: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status Makefile:109: návod pro cíl „gstreamer“ selhal make: *** [gstreamer] Chyba 1 GStreamer 1.0 disabled. The GStreamer 1.0 functionality test failed! Turn on verbose messaging (-v) to ./configure to see the final report. ---------- but when I try adding -lpcre it fails the same.... I tried also -no-pcre, -qt-pcre and -system-pcre parameters, but no success. What am I doing wrong ? Thanks, Jan Imrich.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest