Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Raspberry PI CrossCompile Lib --> Missing "libQtXmlPatterns.so.5"
Forum Updated to NodeBB v4.3 + New Features

Raspberry PI CrossCompile Lib --> Missing "libQtXmlPatterns.so.5"

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 3 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zeph
    wrote on last edited by
    #1

    Hi,

    i try to use qt5 via cross compiling. (Guide: http://qt-project.org/wiki/Create#QtonPi_App_SDK)

    I have install the stuff on my host (arch linux, 64bit) and use the "helllo-qtonpi" example for the first shot. The compile is okay (still no have errors), but if i try to start the programm on my raspberry (raspbian), i get the error message "./hello-qtonpi: error while loading shared libraries: libQtXmlPatterns.so.5: cannot open shared object file: No such file or directory".
    The installation of qt5_snapshot is okay and the path to the lib-folder works, (because i don't get the "/opt/qt50-snapshot/lib/libQtQuick.so.5" error). In the lib-folder of "/opt/qt50-snapshot/" i can't find a libQtXmlPattern* or somethink like this).

    I tried to extract the libs from the qt5 sd-card image and save them in /opt/qt5_extract/lib. (In this folder, the libQtXmlPatterns.so.5 exist) I add the new folder to the ldconfig and use ldconfig to update. But this doesn't fix my problem, i got the same error message again. If i use the ldd-tool with libQtXmlPatterns.so.5, i get only a "not a dynamic executable". The libs in "/opt/qt50-snapshot" are dynamic (the ldd does print a lot of stuff), so i think, this is the problem, with the extracted libs.

    If i want to use the qt sd-card image, i don't get any output. (I can use actually only a composite/S-Video output, i don't know if this output is active in the sd-card image... In the next days, i should get my HDMI-Cable...)

    Can anybody help me? Where can i get the libs?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rnadal
      wrote on last edited by
      #2

      Hello Zeph,

      I just got started on my Rasp yesterday and I'm currently stuck with the same issues. It seems there is a mismatch between the release included with QtOnPi from the raspberry website and qt50-snapshot. Also, the current release of qtonpi does not boot on my 512mb pi. I think the best bet will be to setup and compile your own toolchain against the latest raspbian build.

      I will keep you updated with my progress.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        TioRoy
        wrote on last edited by
        #3

        I've tried qtonpi too. But with same problems. So I decided to crosscompile qt5 and use wheezy intead qtonpi (to keep Pi updated).

        Check this "thread":http://qt-project.org/forums/viewthread/21114

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved