Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.7
-
None
-
Fedora 39, KDE Plasma
Description
When building this project: https://invent.kde.org/nicolasfella/qml-module-thing
there are unexpected warnings in the build output:
Warning: HorizontalHeaderView.qml: Warnings occurred while importing base modules: [import] --- Warning: QML types file does not exist: /home/nico/kde/build/qqc2-desktop-style/org/kde/qqc2desktopstyle/private/qqc2desktopstyleplugin.qmltypes [import] --- Warning: HorizontalHeaderView.qml:4:1: StylePrivate.StyleItem was not found. Did you add all import paths? [import] StylePrivate.StyleItem { ^^^^^^^^^^^^ Info: Did you mean "StylePrivate"? StylePrivate.StyleItem { ^^^^^^^^^^^^ Info: HorizontalHeaderView.qml:2:1: Unused import [unused-imports] import org.kde.qqc2desktopstyle.private as StylePrivate ^^^^^^
The given qmltypes file does in fact exist and contains data for StyleItem, so StyleItem should be found.
This seems to happen only when building with Ninja, using Makefiles there is no warnings