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. Qt6 private headers not found
Forum Updated to NodeBB v4.3 + New Features

Qt6 private headers not found

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 289 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.
  • K Offline
    K Offline
    kwalsh
    wrote on last edited by kwalsh
    #1

    We're using Yocto and attempting to backport GStreamer 1.24.0 (scarthgap), but the build fails during the gst-plugins-good recipe.

    The error is shown below, this is true for all private headers (e.g. QtCore/private, QtGui/private, etc.)

    ../git/ext/qt6/gstqsg6material.cc:32:10: fatal error: 'QtGui/private/qrhi_p.h' file not found
    | #include <QtGui/private/qrhi_p.h>
    |          ^~~~~~~~~~~~~~~~~~~~~~~~
    | 1 error generated.
    

    The compile statement of interest is the below,

    -I/.../gstreamer1.0-plugins-good/1.24.0.imx-r0/recipe-sysroot/usr/include/QtGui
    

    But the private header files are actually at,

    .../gstreamer1.0-plugins-good/1.24.0.imx-r0/recipe-sysroot/usr/include/QtGui/6.5.1/QtGui/private/qrhi_p.h
    

    Setup

    • Qt Version: 6.5.1
    • Yocto Layer: meta-qt6
    • Yocto Version: kirkstone

    I was noticing from meta-qt6/conf/layer.conf that LAYERSERIES_COMPAT_qt6-layer only included scarthgap in Qt6.6.3 and higher, perhaps that is our issue still only being on 6.5.1?

    Any advice would be much appreciated, thanks!

    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