[QtonPi] Problems with configure and fixing symlinks
Rodrigo López
rodrigolopezescolar at gmail.com
Sun Oct 7 12:23:56 CEST 2012
Hello,
I'd appreciate if someone could help me with this:
To my surprise, the raspberry.org QtOnPi image lacks QtNetwork and
QtMultimedia, so I decided to compile Qt5 on my own.
I found two brilliant articles (http://qt-project.org/wiki/Qt5OnRaspberryPiand
http://qt-project.org/wiki/RaspberryPi_Beginners_guide), but I'm having
some troubles anyway.
- The first one arises when fixing symlinks (please, see log below):
*rodrigo at ubuntu:~/rpi$ cross-compile-tools/fixQualifiedLibraryPaths
/mnt/rasp-pi-rootfs
~/rpi/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-gcc
Passed valid toolchain
Adjusting the symlinks in /mnt/rasp-pi-rootfs/usr/lib to be relative
cross-compile-tools/fixQualifiedLibraryPaths: línea 24: cd:
/mnt/rasp-pi-rootfs/usr/lib: No existe el archivo o el directorio
Testing for existence of potential debian multi-arch dir:
/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf
*
- Despite this log, I decided to go on, and found the next problem during
configuration phase (please, see log below):
* Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set.
Note: PKG_CONFIG_SYSROOT_DIR automatically set to /mnt/rasp-pi-rootfs
Could not determine the target architecture!
Turn on verbose messaging (-v) to see the final report.
Project ERROR: Package libudev not found
No QPA platform plugin enabled!
If you really want to build without a QPA platform plugin you must pass
-no-qpa-platform-guard to configure. Doing this will
produce a Qt that can not run GUI applications.
The dependencies needed for xcb to build are listed in
src/plugins/platforms/xcb/README*
Thanks in advance.
Regards.
Rod
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qtonpi/attachments/20121007/10143298/attachment.html
More information about the QtonPi
mailing list