Qt Forum

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

    Unsolved Qt cross build and ./configure ---> how to add include directories?

    Mobile and Embedded
    2
    2
    137
    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.
    • F
      Frime last edited by

      I want to cross compile Qt for raspberry pi.
      But in the "configure" step of qt are some important include directory paths missing. This causes the problem some important headers will not be found (e.g. openssl).

      Relevant output of my ./configure -v [...]

      Global lib dirs: [] [/opt/cross-pi-gcc/lib/gcc/arm-linux-gnueabihf/8.3.0 /opt/cross-pi-gcc/arm-linux-gnueabihf/lib /home/friedemann/raspi/sysroot/lib /home/friedemann/raspi/sysroot/usr/lib]

      Global inc dirs: [] [/opt/cross-pi-gcc/arm-linux-gnueabihf/include/c++/8.3.0 /opt/cross-pi-gcc/arm-linux-gnueabihf/include/c++/8.3.0/arm-linux-gnueabihf /opt/cross-pi-gcc/arm-linux-gnueabihf/include/c++/8.3.0/backward /opt/cross-pi-gcc/lib/gcc/arm-linux-gnueabihf/8.3.0/include /opt/cross-pi-gcc/lib/gcc/arm-linux-gnueabihf/8.3.0/include-fixed /opt/cross-pi-gcc/arm-linux-gnueabihf/include]

      you see that libdirs contains the important folders of my sysroot, but incdir doesn't. How can I fix this?

      Thanks in advance,
      Friedemann

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        Did you install the development packages in your RPi before synchronizing it ?
        Did you synchronize the full sysroot ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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