Skip to content

qplatformwindow.h & qobject_p.h files not found under Linux (OpenSUSE TW) #210

Open

Description

@hydexon

Hi,
I wanted to report a couple of errors, in regards QWindowKit when trying to build SARibbon, seems like under Linux cannot find the private Qt6 headers for some reason, i'm using Qt Creator with the CMake build files:

Image

This could be because my Linux distribution: OpenSUSE Tumbleweed has their private headers inside "versioned" directories, like this:

  • /usr/include/qt6/QtCore/6.10.1/QtCore/private
  • /usr/include/qt6/QtGui/6.10.1/QtGui/qpa

My workaround would be symbolic links to those paths to match the include header paths in order to make it work, but have to undo it to prevent any sort of future problems for other applications.

Seems Debian and Ubuntu distros doesn't follow that because they are not rolling release distros.

Thanks.

Activity

  1. wangwenx190 commented on Dec 29, 2025

    @wangwenx190
    Collaborator

    these private headers are also placed in versioned directories on Windows

  2. yang1206 commented on Jan 22, 2026

    @yang1206

    在macOS中使用homebrew安装的Qt同样有这个问题,出现在6.10.1版本,上一个版本6.9.3没有问题

  3. yang1206 commented on Jan 23, 2026

    @yang1206

    发现用官方工具安装 QT也是如此,目前 qwk在 macos 上无法正常编译的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions