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. i.MX6 configure option -no-xcb
Forum Updated to NodeBB v4.3 + New Features

i.MX6 configure option -no-xcb

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 1.2k 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.
  • A Offline
    A Offline
    aheimberger
    wrote on last edited by
    #1

    Hey guys, I try to build a qt application for an i.MX6. I have cross compiled the application for a specific yocto target, but now I ran into the problem, that the application can be started manually, but not using systemd for startup, because it is missing library xcb.

    I found those two articles, which mention using the configure option -no-xcb:

    • https://community.freescale.com/thread/306294
    • http://doc.qt.io/qt-5/configure-options.html

    But I do not understand how to use ./configure, can't find it within the directory where Qt is installed.

    Thanks for your help.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      PhTe
      wrote on last edited by
      #2

      The no-xcb option and the ./configure script is only needed if you want to build the qt libraries by your own.
      configure is used to create the makefiles and prepare the build, the no-xcb option tells the script that the qt libraries should be compiled without x-server support.

      You could try to add the path to the xcb library to the enviroment variable LD_LIBRARY_PATH.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aheimberger
        wrote on last edited by
        #3

        TY : I set environment variable QT_QPA_PLATFROM='eglfs'. This must be done before the application starts. This environment variable is not available during boot.

        It can also be done by starting the application directly with:
        ./appName -platform eglfs

        Ronel_qtmasterR 1 Reply Last reply
        0
        • A aheimberger

          TY : I set environment variable QT_QPA_PLATFROM='eglfs'. This must be done before the application starts. This environment variable is not available during boot.

          It can also be done by starting the application directly with:
          ./appName -platform eglfs

          Ronel_qtmasterR Offline
          Ronel_qtmasterR Offline
          Ronel_qtmaster
          wrote on last edited by
          #4

          @aheimberger you should add that in profile

          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