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 compile with raspbian lite
Qt 6.11 is out! See what's new in the release blog

qt cross compile with raspbian lite

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 396 Views 2 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.
  • A Offline
    A Offline
    algebra
    wrote on last edited by
    #1

    hi all,

    i need to cross compile qt for raspbian lite version, i dont need libxcb or any gldriver, my app does not use graphic interface. app only runs in terminal so do i need to enable fake kms and also update those drivers? and also do i need to install libxcb-xinerama0-dev libxcb-xinerama0?

    and the config script is

    ./configure -release -opengl es2 -device <rpi-version> -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 -v

    which config parameters must be omitted.

    thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Do you plan to do any GUI long term ?
      Otherwise, IIRC you can disable OpenGL. Note that this is not directly related to the XCB backend.

      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
      • A Offline
        A Offline
        algebra
        wrote on last edited by
        #3

        there will be no gui interface, only app runs in terminal.

        how can i disable opengl through ./configure parameters

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Doesn't -no-opengl do the trick ?

          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
          1

          • Login

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