Qt6 build fail

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Blacklight
Posts: 41
Joined: Sat Feb 25, 2023 12:10 pm
Location: India
Contact:

Qt6 build fail

Post by Blacklight »

I tried building for Qt5 and Qt6 in parallel, since Qt6 is in alpha stage. Qt5 build succeeded, Qt6 failed.

I was on master, at commit cb0b02adf47c7408debe5f1cfade0807fc2715a7.

Here's the error log:

Code: Select all

[ 12%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/FreeCADGui_autogen/mocs_compilation.cpp.o
[ 12%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/3Dconnexion/GuiAbstractNativeEvent.cpp.o
[ 12%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/3Dconnexion/GuiNativeEventLinux.cpp.o
[ 12%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/Application.cpp.o
In file included from /home/jyothish/Projects/FreeCAD-Qt6/src/Base/BaseClassPy.h:7,
                 from /home/jyothish/Projects/FreeCAD-Qt6/src/Base/PersistencePy.h:7,
                 from /home/jyothish/Projects/FreeCAD-Qt6/src/App/PropertyContainerPy.h:7,
                 from /home/jyothish/Projects/FreeCAD-Qt6/src/App/ExtensionContainerPy.h:7,
                 from /home/jyothish/Projects/FreeCAD-Qt6/src/App/DocumentObjectPy.h:7,
                 from /home/jyothish/Projects/FreeCAD-fork/src/Gui/Application.cpp:48:
/home/jyothish/Projects/FreeCAD-fork/src/Base/PyObjectBase.h: In function ‘void Base::PyTypeCheck(PyObject**, PyTypeObject*, const char*)’:
/home/jyothish/Projects/FreeCAD-fork/src/Base/PyObjectBase.h:536:43: error: invalid use of incomplete type ‘PyTypeObject’ {aka ‘struct _typeobject’}
  536 |             str << "Type must be " << type->tp_name << " or None, not " << (*ptr)->ob_type->tp_name;
      |                                           ^~
In file included from /usr/include/python3.10/Python.h:74,
                 from /home/jyothish/Projects/FreeCAD-fork/src/Base/PyObjectBase.h:38:
/usr/include/python3.10/object.h:66:16: note: forward declaration of ‘PyTypeObject’ {aka ‘struct _typeobject’}
   66 | typedef struct _typeobject PyTypeObject;
      |                ^~~~~~~~~~~
/home/jyothish/Projects/FreeCAD-fork/src/Base/PyObjectBase.h:536:91: error: invalid use of incomplete type ‘PyTypeObject’ {aka ‘struct _typeobject’}
  536 |             str << "Type must be " << type->tp_name << " or None, not " << (*ptr)->ob_type->tp_name;
      |                                                                                           ^~
/usr/include/python3.10/object.h:66:16: note: forward declaration of ‘PyTypeObject’ {aka ‘struct _typeobject’}
   66 | typedef struct _typeobject PyTypeObject;
      |                ^~~~~~~~~~~
In file included from /home/jyothish/Projects/FreeCAD-fork/src/CXX/Python3/Extensions.hxx:183,
                 from /home/jyothish/Projects/FreeCAD-fork/src/CXX/Extensions.hxx:42,
                 from /home/jyothish/Projects/FreeCAD-fork/src/Base/Interpreter.h:44,
                 from /home/jyothish/Projects/FreeCAD-fork/src/Gui/Application.cpp:50:
/home/jyothish/Projects/FreeCAD-fork/src/CXX/Python3/PythonType.hxx: At global scope:
/home/jyothish/Projects/FreeCAD-fork/src/CXX/Python3/PythonType.hxx:206:14: error: declaration does not declare anything [-fpermissive]
  206 |         std::unordered_map<int, void*>  slots;
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/jyothish/Projects/FreeCAD-fork/src/Gui/Application.cpp: In member function ‘QStringList Gui::Application::workbenches() const’:
/home/jyothish/Projects/FreeCAD-fork/src/Gui/Application.cpp:1659:30: error: ‘PyUnicode_AsUTF8’ was not declared in this scope; did you mean ‘PyUnicode_AsUCS4’?
 1659 |         const char* wbName = PyUnicode_AsUTF8(key);
      |                              ^~~~~~~~~~~~~~~~
      |                              PyUnicode_AsUCS4
/home/jyothish/Projects/FreeCAD-fork/src/Gui/Application.cpp: In static member function ‘static void Gui::Application::runApplication()’:
/home/jyothish/Projects/FreeCAD-fork/src/Gui/Application.cpp:2245:28: warning: ‘static void QApplication::setActiveWindow(QWidget*)’ is deprecated: Use QWidget::activateWindow() instead. [-Wdeprecated-declarations]
 2245 |     mainApp.setActiveWindow(&mw);
      |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from /usr/include/qt6/QtWidgets/QApplication:1,
                 from /home/jyothish/Projects/FreeCAD-fork/src/Gui/GuiApplicationNativeEventAware.h:26,
                 from /home/jyothish/Projects/FreeCAD-fork/src/Gui/GuiApplication.h:27,
                 from /home/jyothish/Projects/FreeCAD-fork/src/Gui/Application.cpp:74:
/usr/include/qt6/QtWidgets/qapplication.h:84:17: note: declared here
   84 |     static void setActiveWindow(QWidget* act);
      |                 ^~~~~~~~~~~~~~~
make[2]: *** [src/Gui/CMakeFiles/FreeCADGui.dir/build.make:650: src/Gui/CMakeFiles/FreeCADGui.dir/Application.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6753: src/Gui/CMakeFiles/FreeCADGui.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
@chennes said he had the same issue, but has no recollection of how he solved it. Pinging @wmayer.
Keep calm, and be nice to everyone!
wmayer
Founder
Posts: 20324
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Qt6 build fail

Post by wmayer »

I was compiling from git commit 245c803fd and everything worked fine for me.
From your build failure I don't see how this is related to Qt6. Could it be that you use a different Python version for your Qt5 and Qt6 builds?
User avatar
Blacklight
Posts: 41
Joined: Sat Feb 25, 2023 12:10 pm
Location: India
Contact:

Re: Qt6 build fail

Post by Blacklight »

I only have Python 3.10 installed. Also, I used make instead of cmake --build, if that calls it any differently 🤔 (I'm a newbie).

I'll retry building git commit 245c803fd.

CMake summary, if it's of any use:

Code: Select all

   ==============
     System
   ==============

-- bindir:                      bin
-- BLAS:                        -undefined-
-- CMAKE_VERSION:               3.26.3
-- Compiler:                    /usr/bin/c++ (13.0.1)
-- datadir:                     share
-- docdir:                      share/doc/FreeCAD
-- includedir:                  include
-- libdir:                      lib64
-- prefix:                      /usr/local
-- Python:                      3.10.10 [/usr/bin/python3.10] Suffix: [.abi3]

   ==============
     Config
   ==============

-- BUILD_FEM:                   ON
-- BUILD_GUI:                   ON
-- BUILD_SMESH:                 ON
-- BUILD_START:                 ON
-- BUILD_TECHDRAW:              ON
-- BUILD_TEST:                  ON
-- BUILD_VR:                    OFF 
-- BUILD_WEB:                   ON
-- CMAKE_BUILD_TYPE:            Release
-- CMAKE_CXX_FLAGS:             -Wall -Wextra -Wno-write-strings 
-- CMAKE_CXX_STANDARD:          17
-- CMAKE_INSTALL_PREFIX:        /usr/local
-- CMAKE_PREFIX_PATH:           OFF 
-- FREECAD_CREATE_MAC_APP:      -undefined-
-- FREECAD_LIBPACK_USE:         OFF 
-- FREECAD_QT_VERSION:          6
-- FREECAD_USE_EXTERNAL_KDL:    OFF 
-- FREECAD_USE_EXTERNAL_SMESH:  OFF 
-- FREECAD_USE_FREETYPE:        ON
-- FREECAD_USE_PYBIND11:        OFF 
-- PYTHON_EXECUTABLE:           /usr/bin/python3.10
-- PYTHON_LIBRARY:              /usr/lib64/libpython3.10.so
-- USE_CUDA:                    -undefined-
-- USE_OPENCV:                  -undefined-

   ==============
     Libraries
   ==============

-- Boost:                       1.81.0
-- Coin3D:                      4.0.0 [optimized;Coin;debug;Coin] [/usr/include/Coin4]
-- Coin3D_DOC:                  not found
-- DesignerPlugin:              not built (BUILD_DESIGNER_PLUGIN is OFF)
-- Doxygen:                     1.9.6 Language: English
-- Eigen3:                      3.4.0
-- fmt:                         9.1.0
-- Freetype:                    2.13.0
-- HDF5:                        1.12.2
-- Matplotlib:                  3.6.3 PathDirs: /usr/lib64/python3.10/site-packages/matplotlib
-- MEDFile:                     4.1.1 [/usr/lib64/libmedC.so;/usr/lib64/libmed.so] [/usr/include]
-- NETGEN:                      not enabled
-- OCC:                         7.7.0 [/usr/lib64] [/usr/include/opencascade]
-- OCC_Libs:                    [TKFillet;TKMesh;TKernel;TKG2d;TKG3d;TKMath;TKIGES;TKSTL;TKShHealing;TKXSBase;TKBool;TKBO;TKBRep;TKTopAlgo;TKGeomAlgo;TKGeomBase;TKOffset;TKPrim;TKSTEPBase;TKSTEPAttr;TKSTEP209;TKSTEP;TKHLR;TKFeat]
-- OpenGL_Lib:                  []
-- OpenGLU_Incl:                [/usr/include]
-- OpenGLU_Lib:                 [/usr/lib64/libGLU.so]
-- pivy:                        0.6.8
-- pybind11:                    not enabled
-- PYCXX:                       7.1.7 Incl: /home/jyothish/Projects/FreeCAD-fork/src Src:/home/jyothish/Projects/FreeCAD-fork/src/CXX
-- PySide:                      6.5.0 [/usr/include/PySide6]
-- PySideTools:                 v: 6  uic: [/usr/lib64/qt6/libexec/uic]  rcc: [/usr/lib64/qt6/libexec/rcc]
-- QtConcurrent:                6.5.0
-- QtCore:                      6.5.0
-- QtNetwork:                   6.5.0
-- QtOpenGL:                    6.5.0
-- QtPrintSupport:              6.5.0
-- QtSvg:                       6.5.0
-- QtUiTools:                   6.5.0
-- QtWebEngineWidgets:          6.5.0
-- QtWidgets:                   6.5.0
-- QtXml:                       6.5.0
-- Rift:                        not enabled (BUILD_VR)
-- Shiboken:                    6.5.0 [/usr/include/shiboken6;/usr/include/python3.10]
-- SMESH:                       7.7.1.0 build internal
-- SPNAV:                       [/usr/lib64/libspnav.so] [/usr/include]
-- SWIG:                        4.1.1
-- VTK:                         9.2.6
-- XercesC:                     3.2.4 [/usr/lib64/libxerces-c.so] [/usr/include]
-- ZLIB:                        1.2.13

=================================================
Now run 'cmake --build /home/jyothish/Projects/FreeCAD-Qt6' to build FreeCAD
=================================================
Keep calm, and be nice to everyone!
User avatar
Blacklight
Posts: 41
Joined: Sat Feb 25, 2023 12:10 pm
Location: India
Contact:

Re: Qt6 build fail

Post by Blacklight »

Failed with the same message. Am I missing any specific Qt6 packages?
Keep calm, and be nice to everyone!
User avatar
chennes
Veteran
Posts: 3914
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Qt6 build fail

Post by chennes »

I feel like the problem for me turned out to be something with PySide setting up the Python limited API... I'm sorry I didn't take any notes while I was fighting with it.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
wmayer
Founder
Posts: 20324
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Qt6 build fail

Post by wmayer »

I have Py 3.10, too.
chennes wrote:I feel like the problem for me turned out to be something with PySide setting up the Python limited API... I'm sorry I didn't take any notes while I was fighting with it.
This is what I fear, too.

PyObjectBase.h includes Python.h and this is supposed to include all relevant headers so that the PyTypeObject is declared. Can you make the following test, please:
Open PyObjectBase.h and add this block directly after the include of Python.h

Code: Select all

#if defined(Py_LIMITED_API)
#  error Py_LIMITED_API is set
#endif
If you start to compile do you get an error "Py_LIMITED_API is set"?
User avatar
Blacklight
Posts: 41
Joined: Sat Feb 25, 2023 12:10 pm
Location: India
Contact:

Re: Qt6 build fail

Post by Blacklight »

wmayer wrote: Fri Apr 28, 2023 6:27 am If you start to compile do you get an error "Py_LIMITED_API is set"?
I'm now at /Mod/Mesh and I can see that it is set.

Code: Select all

[ 55%] Building CXX object src/Mod/Web/App/CMakeFiles/Web.dir/Server.cpp.o
[ 55%] Building CXX object tests/CMakeFiles/Tests_run.dir/src/Base/Unit.cpp.o
[ 55%] Linking CXX shared library ../../../../Mod/Web/Web.so
[ 55%] Built target Web
[ 55%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/Application.cpp.o
[ 55%] Building CXX object src/Mod/Mesh/App/CMakeFiles/Mesh.dir/Core/Triangulation.cpp.o
In file included from /home/jyothish/Projects/FreeCAD-Qt6/src/Base/BaseClassPy.h:7,
                 from /home/jyothish/Projects/FreeCAD-Qt6/src/Base/PersistencePy.h:7,
                 from /home/jyothish/Projects/FreeCAD-Qt6/src/App/PropertyContainerPy.h:7,
                 from /home/jyothish/Projects/FreeCAD-Qt6/src/App/ExtensionContainerPy.h:7,
                 from /home/jyothish/Projects/FreeCAD-Qt6/src/App/DocumentObjectPy.h:7,
                 from /home/jyothish/Projects/FreeCAD-fork/src/Gui/Application.cpp:48:
/home/jyothish/Projects/FreeCAD-fork/src/Base/PyObjectBase.h:40:5: error: #error PY_LIMITED_API is set
   40 | #   error PY_LIMITED_API is set
      |     ^~~~~
[ 55%] Building CXX object src/Mod/Mesh/App/CMakeFiles/Mesh.dir/Core/Trim.cpp.o
Keep calm, and be nice to everyone!
User avatar
Blacklight
Posts: 41
Joined: Sat Feb 25, 2023 12:10 pm
Location: India
Contact:

Re: Qt6 build fail

Post by Blacklight »

It failed differently this time, but I think I should clean and rebuild.

Code: Select all

[ 55%] Building CXX object tests/CMakeFiles/Tests_run.dir/src/App/ElementMap.cpp.o
make[2]: *** [src/Gui/CMakeFiles/FreeCADGui.dir/build.make:650: src/Gui/CMakeFiles/FreeCADGui.dir/Application.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6804: src/Gui/CMakeFiles/FreeCADGui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 55%] Building CXX object tests/CMakeFiles/Tests_run.dir/src/App/IndexedName.cpp.o
[ 55%] Building CXX object tests/CMakeFiles/Tests_run.dir/src/App/License.cpp.o
and finally

Code: Select all

[ 58%] Linking CXX shared library ../../../../Mod/Mesh/Mesh.so
[ 58%] Built target Mesh
make: *** [Makefile:136: all] Error 2
jyothish@suse ~/P/FreeCAD-Qt6 [2]> 
Keep calm, and be nice to everyone!
wmayer
Founder
Posts: 20324
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Qt6 build fail

Post by wmayer »

I'm now at /Mod/Mesh and I can see that it is set.
It already starts to build Mesh but the error still occurs for FreeCADGui because it happens when building Gui/Application.cpp.

So, the define PY_LIMITED_API is set by a 3rd party library and the candidate most likely is shiboken or PySide. Now can you go through all .cmake files of your PySide and shiboken installations and search for PY_LIMITED_API, please?
User avatar
Blacklight
Posts: 41
Joined: Sat Feb 25, 2023 12:10 pm
Location: India
Contact:

Re: Qt6 build fail

Post by Blacklight »

Found this:

Code: Select all

jyothish@suse ~/P/FreeCAD-Qt6> grep -inr "PY_LIMITED_API" /usr/lib64/cmake/
/usr/lib64/cmake/Shiboken6/Shiboken6Targets.cmake:71:  INTERFACE_COMPILE_DEFINITIONS "Py_LIMITED_API=0x03060000"
Full file:

Code: Select all

jyothish@suse ~/P/FreeCAD-Qt6> cat -n /usr/lib64/cmake/Shiboken6/Shiboken6Targets.cmake
     1	# Generated by CMake
     2	
     3	if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
     4	   message(FATAL_ERROR "CMake >= 2.8.0 required")
     5	endif()
     6	if(CMAKE_VERSION VERSION_LESS "2.8.3")
     7	   message(FATAL_ERROR "CMake >= 2.8.3 required")
     8	endif()
     9	cmake_policy(PUSH)
    10	cmake_policy(VERSION 2.8.3...3.24)
    11	#----------------------------------------------------------------
    12	# Generated CMake target import file.
    13	#----------------------------------------------------------------
    14	
    15	# Commands may need to know the format version.
    16	set(CMAKE_IMPORT_FILE_VERSION 1)
    17	
    18	# Protect against multiple inclusion, which would fail when already imported targets are added once more.
    19	set(_cmake_targets_defined "")
    20	set(_cmake_targets_not_defined "")
    21	set(_cmake_expected_targets "")
    22	foreach(_cmake_expected_target IN ITEMS Shiboken6::libshiboken)
    23	  list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
    24	  if(TARGET "${_cmake_expected_target}")
    25	    list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
    26	  else()
    27	    list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
    28	  endif()
    29	endforeach()
    30	unset(_cmake_expected_target)
    31	if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
    32	  unset(_cmake_targets_defined)
    33	  unset(_cmake_targets_not_defined)
    34	  unset(_cmake_expected_targets)
    35	  unset(CMAKE_IMPORT_FILE_VERSION)
    36	  cmake_policy(POP)
    37	  return()
    38	endif()
    39	if(NOT _cmake_targets_defined STREQUAL "")
    40	  string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
    41	  string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
    42	  message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
    43	endif()
    44	unset(_cmake_targets_defined)
    45	unset(_cmake_targets_not_defined)
    46	unset(_cmake_expected_targets)
    47	
    48	
    49	# Compute the installation prefix relative to this file.
    50	get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
    51	# Use original install prefix when loaded through a
    52	# cross-prefix symbolic link such as /lib -> /usr/lib.
    53	get_filename_component(_realCurr "${_IMPORT_PREFIX}" REALPATH)
    54	get_filename_component(_realOrig "/usr/lib64/cmake/Shiboken6" REALPATH)
    55	if(_realCurr STREQUAL _realOrig)
    56	  set(_IMPORT_PREFIX "/usr/lib64/cmake/Shiboken6")
    57	endif()
    58	unset(_realOrig)
    59	unset(_realCurr)
    60	get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
    61	get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
    62	get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
    63	if(_IMPORT_PREFIX STREQUAL "/")
    64	  set(_IMPORT_PREFIX "")
    65	endif()
    66	
    67	# Create imported target Shiboken6::libshiboken
    68	add_library(Shiboken6::libshiboken SHARED IMPORTED)
    69	
    70	set_target_properties(Shiboken6::libshiboken PROPERTIES
    71	  INTERFACE_COMPILE_DEFINITIONS "Py_LIMITED_API=0x03060000"
    72	  INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/shiboken6"
    73	)
    74	
    75	# Load information for each installed configuration.
    76	file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/Shiboken6Targets-*.cmake")
    77	foreach(_cmake_config_file IN LISTS _cmake_config_files)
    78	  include("${_cmake_config_file}")
    79	endforeach()
    80	unset(_cmake_config_file)
    81	unset(_cmake_config_files)
    82	
    83	# Cleanup temporary variables.
    84	set(_IMPORT_PREFIX)
    85	
    86	# Loop over all imported files and verify that they actually exist
    87	foreach(_cmake_target IN LISTS _cmake_import_check_targets)
    88	  foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
    89	    if(NOT EXISTS "${_cmake_file}")
    90	      message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
    91	   \"${_cmake_file}\"
    92	but this file does not exist.  Possible reasons include:
    93	* The file was deleted, renamed, or moved to another location.
    94	* An install or uninstall procedure did not complete successfully.
    95	* The installation package was faulty and contained
    96	   \"${CMAKE_CURRENT_LIST_FILE}\"
    97	but not all the files it references.
    98	")
    99	    endif()
   100	  endforeach()
   101	  unset(_cmake_file)
   102	  unset("_cmake_import_check_files_for_${_cmake_target}")
   103	endforeach()
   104	unset(_cmake_target)
   105	unset(_cmake_import_check_targets)
   106	
   107	# This file does not depend on other imported targets which have
   108	# been exported from the same project but in a separate export set.
   109	
   110	# Commands beyond this point should not need to know the version.
   111	set(CMAKE_IMPORT_FILE_VERSION)
   112	cmake_policy(POP)

This is how I searched for the files:

Code: Select all

jyothish@suse ~/P/FreeCAD-Qt6> rpm -ql python3-pyside6 | grep .cmake
jyothish@suse ~/P/FreeCAD-Qt6 [0|1]> rpm -ql python3-pyside6-devel | grep .cmake
/usr/lib64/cmake/PySide6
/usr/lib64/cmake/PySide6/PySide6Config.abi3.cmake
/usr/lib64/cmake/PySide6/PySide6Config.cmake
/usr/lib64/cmake/PySide6/PySide6ConfigVersion.cmake
/usr/lib64/cmake/PySide6/PySide6Targets-relwithdebinfo.cmake
/usr/lib64/cmake/PySide6/PySide6Targets.cmake
/usr/lib64/cmake/PySide6Qml
/usr/lib64/cmake/PySide6Qml/PySide6QmlConfig.abi3.cmake
/usr/lib64/cmake/PySide6Qml/PySide6QmlConfig.cmake
/usr/lib64/cmake/PySide6Qml/PySide6QmlConfigVersion.cmake
/usr/lib64/cmake/PySide6Qml/PySide6QmlTargets-relwithdebinfo.cmake
/usr/lib64/cmake/PySide6Qml/PySide6QmlTargets.cmake
jyothish@suse ~/P/FreeCAD-Qt6> rpm -ql python3-shiboken6 | grep .cmake
jyothish@suse ~/P/FreeCAD-Qt6 [0|1]> rpm -ql python3-shiboken6-devel | grep .cmake
/usr/lib64/cmake/Shiboken6
/usr/lib64/cmake/Shiboken6/Shiboken6Config.abi3.cmake
/usr/lib64/cmake/Shiboken6/Shiboken6Config.cmake
/usr/lib64/cmake/Shiboken6/Shiboken6ConfigVersion.cmake
/usr/lib64/cmake/Shiboken6/Shiboken6Targets-relwithdebinfo.cmake
/usr/lib64/cmake/Shiboken6/Shiboken6Targets.cmake
/usr/lib64/cmake/Shiboken6/ShibokenHelpers.cmake
/usr/lib64/cmake/Shiboken6Tools
/usr/lib64/cmake/Shiboken6Tools/Shiboken6ToolsConfig.cmake
/usr/lib64/cmake/Shiboken6Tools/Shiboken6ToolsConfigVersion.cmake
/usr/lib64/cmake/Shiboken6Tools/Shiboken6ToolsTargets-relwithdebinfo.cmake
/usr/lib64/cmake/Shiboken6Tools/Shiboken6ToolsTargets.cmake
jyothish@suse ~/P/FreeCAD-Qt6> 
Keep calm, and be nice to everyone!
Post Reply