Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt cross build and ./configure ---> how to add include directories?
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 299 Views
  • 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 Offline
    F Offline
    Frime
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0

      • Login

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