Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved RaspberryPi3EGLFS How to edit qmake configuration ?

    Mobile and Embedded
    2
    5
    835
    Loading More Posts
    • 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.
    • P
      Pavi92 last edited by

      Hi,

      can someone tell me how to edit the qmake configuration ?
      I'm trying to get cross compilation to work with this tutorial: https://wiki.qt.io/RaspberryPi2EGLFS

      Before I run make in step 10 I check the config.summary file and there are some errors. For example Fontconfig should be yes but it is no.

      I used this command: ./configure -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -no-use-gold-linker

      jsulm 1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @Pavi92 last edited by

        @Pavi92 To see why fontconfig (and what else) is set to no add -v parameter to configure call and see what exactly is missing. Most probably you don't have header/libs for those parts in your sysroot.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 1
        • P
          Pavi92 last edited by

          @jsulm thank you,

          I will try this.

          1 Reply Last reply Reply Quote 0
          • P
            Pavi92 last edited by

            @jsulm you were right.

            it complains about missing headers.
            I think the problem is in step 6. : rsync -avz pi@raspberrypi.local:/usr/lib sysroot/usr
            it says some files were not transfarred.

            jsulm 1 Reply Last reply Reply Quote 0
            • jsulm
              jsulm Lifetime Qt Champion @Pavi92 last edited by

              @Pavi92 Or the needed files are not there because not installed

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply Reply Quote 1
              • First post
                Last post