Results 1 to 12 of 12

Thread: qtmultimedia - video hardware acceleartion on raspberry pi

  1. #1
    Join Date
    Sep 2014
    Posts
    11
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default qtmultimedia - video hardware acceleartion on raspberry pi

    Hi everybody,

    do you know if qtmultimedia can be used to show hardware accelerated videos on the raspberry pi (qt5.3)?

    I googled quite a lot but don't know how to get on.
    The qt-project website claims that qtmultimedia can be used with gstreamer and the gst-omx plugin (but no mentioning of hardware acceleration).
    GStreamer comes with the versions 0.10 and 1.x. Do both versions support hardware acceleration?
    Some people say it works, others say it doesn't. And most of the information seems to be quite old (<2012).

    I cross-compiled qt for the raspberry on my linux host which works fine.
    I don't understand which options i need for ./configure, so that gstreamer support and the gst-omx plugin will be created.
    Or is it detected automatically? Then how do i have to compile/install it?

    Thanks for your help,
    ben

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: qtmultimedia - video hardware acceleartion on raspberry pi

    Qt uses GStreamer in version 0.10. OpenMAX plugin should give you hardware accelerated playback (if you manage to build it for Pi).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Sep 2014
    Posts
    11
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: qtmultimedia - video hardware acceleartion on raspberry pi

    I tried both, v0.10 and v1.x.

    - v0.10: precompiled libraries from raspbian repository
    libgstreamer0.10-dev
    libgstreamer-plugins-base0.10-dev
    gstreamer-tools
    gstreamer0.10-plugins-good
    gstreamer0.10-plugins-bad
    - v1.2: selfcompiled without errors

    In both cases gstreamer is not recognized while configuring and crosscompiling qt for the raspberry.
    I am using Qt 5.3.

    1) I found some posts that claim, that the gstreamer support has been deactivated at the moment for >=v5.2 (at least for the raspberry configuration). Does anybody know about that?
    2) Do i have to set some environmental variables?
    3) Do i have to set a specific option for ./configure?
    4) Do i have to enable the support of other functions in ./configure, e.g. pkg-config?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: qtmultimedia - video hardware acceleartion on raspberry pi

    Quote Originally Posted by ben80 View Post
    In both cases gstreamer is not recognized while configuring and crosscompiling qt for the raspberry.
    Did you look in the log for errors from this test? What were they?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Sep 2014
    Posts
    11
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: qtmultimedia - video hardware acceleartion on raspberry pi

    Yes i did:
    • configure summary
    • <qtsrc>/qtmultimedia/config.log -> are there other log files as well?



    configure summary:
    Qt Code:
    1. Building on: linux-g++ (i386, CPU features:)
    2. Building for: devices/linux-rasp-pi-g++ (arm, CPU features:)
    3. Platform notes:
    4.  
    5. - Also available for Linux: linux-kcc linux-icc linux-cxx
    6.  
    7. qmake vars .......... styles += mac fusion windows DEFINES += QT_NO_MTDEV QMAKE_X11_PREFIX = /usr QMAKE_XKB_CONFIG_ROOT = /usr/share/X11/xkb sql-drivers = sql-plugins = sqlite qmake switches .........
    8.  
    9. Build options:
    10. Configuration .......... accessibility alsa audio-backend c++11 clock-gettime clock-monotonic compile_examples concurrent cross_compile egl eglfs evdev eventfd freetype full-config getaddrinfo getifaddrs iconv icu inotify ipv6ifname large-config largefile libudev linuxfb medium-config minimal-config mremap nis no-harfbuzz no-pkg-config opengl opengles2 openssl pcre png posix_fallocate precompile_header qpa qpa reduce_exports release rpath shared small-config system-zlib xcb xcb-plugin xcb-qt xcb-xlib xkbcommon-qt
    11. Build parts ............ tools libs
    12. Mode ................... release
    13. Using C++11 ............ yes
    14. Using PCH .............. yes
    15. Target compiler supports:
    16. iWMMXt/Neon .......... no/auto
    17.  
    18. Qt modules and options:
    19. Qt D-Bus ............... no
    20. Qt Concurrent .......... yes
    21. Qt GUI ................. yes
    22. Qt Widgets ............. yes
    23. Large File ............. yes
    24. QML debugging .......... yes
    25. Use system proxies ..... no
    26.  
    27. Support enabled for:
    28. Accessibility .......... yes
    29. ALSA ................... yes
    30. CUPS ................... no
    31. Evdev .................. yes
    32. FontConfig ............. no
    33. FreeType ............... yes (bundled copy)
    34. Glib ................... no
    35. GTK theme .............. no
    36. HarfBuzz ............... no
    37. Iconv .................. yes
    38. ICU .................... yes
    39. Image formats:
    40. GIF .................. yes (plugin, using bundled copy)
    41. JPEG ................. yes (plugin, using bundled copy)
    42. PNG .................. yes (in QtGui, using bundled copy)
    43. journald ............... no
    44. mtdev .................. no
    45. Networking:
    46. getaddrinfo .......... yes
    47. getifaddrs ........... yes
    48. IPv6 ifname .......... yes
    49. OpenSSL .............. yes (loading libraries at run-time)
    50. NIS .................... yes
    51. OpenGL / OpenVG:
    52. EGL .................. yes
    53. OpenGL ............... yes (OpenGL ES 2.x)
    54. OpenVG ............... no
    55. PCRE ................... yes (bundled copy)
    56. pkg-config ............. no
    57. PulseAudio ............. no
    58. QPA backends:
    59. DirectFB ............. no
    60. EGLFS ................ yes
    61. KMS .................. no
    62. LinuxFB .............. yes
    63. XCB .................. yes (bundled copy)
    64. EGL on X ........... no
    65. GLX ................ no
    66. MIT-SHM ............ yes
    67. Xcb-Xlib ........... yes
    68. Xcursor ............ yes (loaded at runtime)
    69. Xfixes ............. yes (loaded at runtime)
    70. Xi ................. yes (loaded at runtime)
    71. Xi2 ................ no
    72. Xinerama ........... yes (loaded at runtime)
    73. Xrandr ............. yes (loaded at runtime)
    74. Xrender ............ no
    75. XKB ................ yes
    76. XShape ............. yes
    77. XSync .............. yes
    78. XVideo ............. yes
    79. Session management ..... yes
    80. SQL drivers:
    81. DB2 .................. no
    82. InterBase ............ no
    83. MySQL ................ no
    84. OCI .................. no
    85. ODBC ................. no
    86. PostgreSQL ........... no
    87. SQLite 2 ............. no
    88. SQLite ............... yes (plugin, using bundled copy)
    89. TDS .................. no
    90. udev ................... yes
    91. xkbcommon .............. yes (bundled copy, XKB config root: /usr/share/X11/xkb)
    92. zlib ................... yes (system library)
    93.  
    94. NOTE: libxkbcommon and libxkbcommon-x11 0.4.1 or higher not found on the system, will use
    95. the bundled version from 3rd party directory.
    96. NOTE: Qt is using double for qreal on this system. This is binary incompatible against Qt 5.1.
    97. Configure with '-qreal float' to create a build that is binary compatible with 5.1.
    To copy to clipboard, switch view to plain text mode 


    <qtsrc>/qtmultimedia/config.log
    Qt Code:
    1. executing config test openal
    2. + cd /home/niki/opt/qt5/qtmultimedia/config.tests/openal && /usr/local/qt5pi/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" /home/niki/opt/qt5/qtmultimedia/config.tests/openal
    3. + cd /home/niki/opt/qt5/qtmultimedia/config.tests/openal && make
    4. /home/niki/opt/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 -fno-exceptions -Wall -W -fPIE -DQT_NO_MTDEV -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/local/qt5pi/mkspecs/devices/linux-rasp-pi-g++ -I. -o .obj/main.o main.cpp
    5. main.cpp:45:19: fatal error: AL/al.h: Datei oder Verzeichnis nicht gefunden
    6. compilation terminated.
    7. make: *** [.obj/main.o] Fehler 1
    8. test openal FAILED
    9. executing config test alsa
    10. + cd /home/niki/opt/qt5/qtmultimedia/config.tests/alsa && /usr/local/qt5pi/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" /home/niki/opt/qt5/qtmultimedia/config.tests/alsa
    11. + cd /home/niki/opt/qt5/qtmultimedia/config.tests/alsa && make
    12. /home/niki/opt/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 -fno-exceptions -Wall -W -fPIE -DQT_NO_MTDEV -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/local/qt5pi/mkspecs/devices/linux-rasp-pi-g++ -I. -o .obj/alsatest.o alsatest.cpp
    13. alsatest.cpp:47:5: warning: unused parameter ‘argc’ [-Wunused-parameter]
    14. alsatest.cpp:47:5: warning: unused parameter ‘argv’ [-Wunused-parameter]
    15. /home/niki/opt/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 --sysroot=/mnt/rasp-pi-rootfs -Wl,-O1 -o alsa .obj/alsatest.o -lasound
    16. make: *** Datei »alsa« wird gelöscht
    17. make: *** wait: Keine Kind-Prozesse. Schluss.
    18. make: *** Warte auf noch nicht beendete Prozesse...
    19. make: *** wait: Keine Kind-Prozesse. Schluss.
    20. test alsa FAILED
    21. executing config test pulseaudio
    22. + cd /home/niki/opt/qt5/qtmultimedia/config.tests/pulseaudio && /usr/local/qt5pi/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" /home/niki/opt/qt5/qtmultimedia/config.tests/pulseaudio
    23. Project ERROR: libpulse development package not found
    24. test pulseaudio FAILED
    25. executing config test gstreamer
    26. + cd /home/niki/opt/qt5/qtmultimedia/config.tests/gstreamer && /usr/local/qt5pi/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" /home/niki/opt/qt5/qtmultimedia/config.tests/gstreamer
    27. Project ERROR: gstreamer-0.10 development package not found
    28. test gstreamer FAILED
    29. executing config test resourcepolicy
    30. + cd /home/niki/opt/qt5/qtmultimedia/config.tests/resourcepolicy && /usr/local/qt5pi/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" /home/niki/opt/qt5/qtmultimedia/config.tests/resourcepolicy
    31. Project ERROR: libresourceqt5 development package not found
    32. test resourcepolicy FAILED
    33. executing config test gpu_vivante
    34. + cd /home/niki/opt/qt5/qtmultimedia/config.tests/gpu_vivante && /usr/local/qt5pi/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" /home/niki/opt/qt5/qtmultimedia/config.tests/gpu_vivante
    35. + cd /home/niki/opt/qt5/qtmultimedia/config.tests/gpu_vivante && make
    36. /home/niki/opt/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 -fno-exceptions -Wall -W -fPIE -DQT_NO_MTDEV -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/local/qt5pi/mkspecs/devices/linux-rasp-pi-g++ -I. -o .obj/main.o main.cpp
    37. main.cpp:42:23: fatal error: GLES2/gl2.h: Datei oder Verzeichnis nicht gefunden
    38. compilation terminated.
    39. make: *** [.obj/main.o] Fehler 1
    40. test gpu_vivante FAILED
    To copy to clipboard, switch view to plain text mode 

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: qtmultimedia - video hardware acceleartion on raspberry pi

    You are missing GStreamer development package. At least pkg-config can't find it.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Sep 2014
    Posts
    11
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: qtmultimedia - video hardware acceleartion on raspberry pi

    ok, that's new information to me.


    1) Some features of qt are enabled by an option provided to ./configure and some are detected by pkg-config, right?

    2) I've never worked with pkg-config:

    a) Do i have to install pkg-config on my host pc or in the image i am using for crosscompiling?
    b) How do i tell pkg-config where my GStreamer development package is located?
    c) How do i enable pkg-config in ./configure because pkg-config is not detected by qt either

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: qtmultimedia - video hardware acceleartion on raspberry pi

    Quote Originally Posted by ben80 View Post
    1) Some features of qt are enabled by an option provided to ./configure and some are detected by pkg-config, right?
    No. Passing an option to configure enables a test that builds a test program that uses pkg-config to detect availability of certain files in the system.

    a) Do i have to install pkg-config on my host pc or in the image i am using for crosscompiling?
    In the crosscompile sysroot on the host machine.

    b) How do i tell pkg-config where my GStreamer development package is located?
    By installing that package

    c) How do i enable pkg-config in ./configure because pkg-config is not detected by qt either
    Apparently it is not there. Unfortunately I don't know much about Raspberry Pi (I don't own one) so I cannot help you with detailed information.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  9. #9
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: qtmultimedia - video hardware acceleartion on raspberry pi

    Are using Raspbian? Then you need to install your image on the SD card, launch RaspberryPi using this SD card, and install those required packages there with apt-get. I don't know the exact names of packages, but they will for sure contain "gstreamer" or "gst" and end with "-dev" (use "apt-cache search"). Then extract your image from the SD card and mount the rootfs. Alternatively you can mount the running RaspberryPi rootfs through the network with nfs (in this tutorial they use this solution: https://www.ics.com/blog/building-qt...i#.VCu5YmCSyzc) - the compilation will take more time, but you have mounted your "live" image, so you can run ./configure and check for errors and install additional packages immediately (ommiting the time consuming process of copying the image to SD card, launchig pi, installing, copying from sd and mounting rootfs).
    Last edited by faldzip; 1st October 2014 at 10:25. Reason: Missing link added
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  10. #10
    Join Date
    Sep 2014
    Posts
    11
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: qtmultimedia - video hardware acceleartion on raspberry pi

    ok, after installing pkg-config on my Host PC gstreamer0.10 got detected.
    I couldn't compile gst-omx plugin without errors. It seems like the older branch for gstreamer0.10 is not compatible to some newer libraries any more.
    It seems like gstreamer1.x is not compatible yet to qt5.x, right?

    So, i will wait for gstreamer1.x.

  11. #11
    Join Date
    Jun 2013
    Posts
    2
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Windows Android

    Default Re: qtmultimedia - video hardware acceleartion on raspberry pi

    I have the same problem too.[Qt 5.4.1 & Raspbian(Release date:2015-02-16)]
    I don't know how to solved too.

    cd ~/opt/qt5/qtmultimedia
    /usr/local/qt5pi/bin/qmake .
    make -j4

    mv -f libgstcamerabin.so ../../../../plugins/mediaservice/
    make[4]: Leaving directory `/root/opt/qt5/qtmultimedia/src/plugins/gstreamer/camerabin'
    make[3]: Leaving directory `/root/opt/qt5/qtmultimedia/src/plugins/gstreamer'
    make[2]: Leaving directory `/root/opt/qt5/qtmultimedia/src/plugins'
    make[1]: *** [sub-plugins-make_first] Error 2
    make[1]: Leaving directory `/root/opt/qt5/qtmultimedia/src'
    make: *** [sub-src-make_first] Error 2
    <qtsrc>/qtmultimedia/config.log
    ......
    compilation terminated.
    make: *** [.obj/main.o] Error 1
    test gstreamer_photography FAILED
    executing config test gstreamer_encodingprofiles
    + cd /root/opt/qt5/qtmultimedia/config.tests/gstreamer_encodingprofiles && /usr/local/qt5pi/bin/qmake -spec /usr/local/qt5pi/mkspecs/devices/linux-rasp-pi-g++ "CONFIG -= qt debug_and_release app_bundle lib_bundle" /root/opt/qt5/qtmultimedia/config.tests/gstreamer_encodingprofiles
    + cd /root/opt/qt5/qtmultimedia/config.tests/gstreamer_encodingprofiles && make
    /root/opt/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 -pthread -fno-exceptions -Wall -W -fPIE -DQT_NO_MTDEV -DQT_NO_XKB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -isystem /mnt/rasp-pi-rootfs/usr/include/gstreamer-0.10 -isystem /mnt/rasp-pi-rootfs/usr/include/glib-2.0 -I/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem /mnt/rasp-pi-rootfs/usr/include/libxml2 -I/usr/local/qt5pi/mkspecs/devices/linux-rasp-pi-g++ -o .obj/main.o main.cpp
    main.cpp:39:5: warning: unused parameter ‘argc’ [-Wunused-parameter]
    int main(int argc, char** argv)
    ^
    main.cpp:39:5: warning: unused parameter ‘argv’ [-Wunused-parameter]
    /root/opt/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 --sysroot=/mnt/rasp-pi-rootfs -Wl,-O1 -fuse-ld=gold -o gstreamer_encodingprofiles .obj/main.o -L/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -lgstaudio-0.10 -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10 -pthread -lgstpbutils-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0
    test gstreamer_encodingprofiles succeeded
    executing config test gstreamer_appsrc
    + cd /root/opt/qt5/qtmultimedia/config.tests/gstreamer_appsrc && /usr/local/qt5pi/bin/qmake -spec /usr/local/qt5pi/mkspecs/devices/linux-rasp-pi-g++ "CONFIG -= qt debug_and_release app_bundle lib_bundle" /root/opt/qt5/qtmultimedia/config.tests/gstreamer_appsrc
    + cd /root/opt/qt5/qtmultimedia/config.tests/gstreamer_appsrc && make
    /root/opt/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 -pthread -fno-exceptions -Wall -W -fPIE -DQT_NO_MTDEV -DQT_NO_XKB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -isystem /mnt/rasp-pi-rootfs/usr/include/gstreamer-0.10 -isystem /mnt/rasp-pi-rootfs/usr/include/glib-2.0 -I/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem /mnt/rasp-pi-rootfs/usr/include/libxml2 -I/usr/local/qt5pi/mkspecs/devices/linux-rasp-pi-g++ -o .obj/main.o main.cpp
    main.cpp:38:5: warning: unused parameter ‘argc’ [-Wunused-parameter]
    int main(int argc, char** argv)
    ^
    main.cpp:38:5: warning: unused parameter ‘argv’ [-Wunused-parameter]
    /root/opt/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 --sysroot=/mnt/rasp-pi-rootfs -Wl,-O1 -fuse-ld=gold -o gstreamer_appsrc .obj/main.o -L/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -lgstaudio-0.10 -lgstinterfaces-0.10 -lgstvideo-0.10 -pthread -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0
    test gstreamer_appsrc succeeded
    executing config test linux_v4l
    + cd /root/opt/qt5/qtmultimedia/config.tests/linux_v4l && /usr/local/qt5pi/bin/qmake -spec /usr/local/qt5pi/mkspecs/devices/linux-rasp-pi-g++ "CONFIG -= qt debug_and_release app_bundle lib_bundle" /root/opt/qt5/qtmultimedia/config.tests/linux_v4l
    + cd /root/opt/qt5/qtmultimedia/config.tests/linux_v4l && make
    /root/opt/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 -fno-exceptions -Wall -W -fPIE -DQT_NO_MTDEV -DQT_NO_XKB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -I/usr/local/qt5pi/mkspecs/devices/linux-rasp-pi-g++ -o .obj/main.o main.cpp
    main.cpp:44:5: warning: unused parameter ‘argc’ [-Wunused-parameter]
    int main(int argc, char** argv)
    ^
    main.cpp:44:5: warning: unused parameter ‘argv’ [-Wunused-parameter]
    /root/opt/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 --sysroot=/mnt/rasp-pi-rootfs -Wl,-O1 -fuse-ld=gold -o linux_v4l .obj/main.o
    test linux_v4l succeeded
    executing config test resourcepolicy
    + cd /root/opt/qt5/qtmultimedia/config.tests/resourcepolicy && /usr/local/qt5pi/bin/qmake -spec /usr/local/qt5pi/mkspecs/devices/linux-rasp-pi-g++ "CONFIG -= qt debug_and_release app_bundle lib_bundle" /root/opt/qt5/qtmultimedia/config.tests/resourcepolicy
    Project ERROR: libresourceqt5 development package not found
    test resourcepolicy FAILED
    executing config test gpu_vivante
    + cd /root/opt/qt5/qtmultimedia/config.tests/gpu_vivante && /usr/local/qt5pi/bin/qmake -spec /usr/local/qt5pi/mkspecs/devices/linux-rasp-pi-g++ "CONFIG -= qt debug_and_release app_bundle lib_bundle" /root/opt/qt5/qtmultimedia/config.tests/gpu_vivante
    + cd /root/opt/qt5/qtmultimedia/config.tests/gpu_vivante && make
    /root/opt/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 -fno-exceptions -Wall -W -fPIE -DQT_NO_MTDEV -DQT_NO_XKB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -I/usr/local/qt5pi/mkspecs/devices/linux-rasp-pi-g++ -o .obj/main.o main.cpp
    main.cpp:34:23: fatal error: GLES2/gl2.h: No such file or directory
    #include <GLES2/gl2.h>
    ^
    compilation terminated.
    make: *** [.obj/main.o] Error 1
    test gpu_vivante FAILED

  12. #12
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: qtmultimedia - video hardware acceleartion on raspberry pi

    This is definitely not the same problem. The compilation log tells you exactly what is wrong in your case.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Raspberry Pi + touchscreen
    By robal in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 24th March 2014, 13:08
  2. Replies: 1
    Last Post: 31st May 2013, 15:29
  3. Replies: 0
    Last Post: 21st December 2012, 17:56
  4. Raspberry Pi toolchain problem
    By dellboy in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 21st November 2012, 15:43
  5. Localization - shortDayName - Raspberry Pi
    By scls19fr in forum Qt Programming
    Replies: 0
    Last Post: 25th October 2012, 18:18

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.