Skip to content

Comments

Search for GuiPrivate package with Qt 6.10#401

Merged
dantti merged 1 commit intoQtExcel:masterfrom
nicolasfella:privatepackage
Jun 10, 2025
Merged

Search for GuiPrivate package with Qt 6.10#401
dantti merged 1 commit intoQtExcel:masterfrom
nicolasfella:privatepackage

Conversation

@nicolasfella
Copy link
Contributor

Qt 6.10 extracts the private modules into a separate CMake package, so search for it

See https://bugreports.qt.io/browse/QTBUG-87776

Qt 6.10 extracts the private modules into a separate CMake package, so search for it

See https://bugreports.qt.io/browse/QTBUG-87776
@dantti dantti merged commit 90d7626 into QtExcel:master Jun 10, 2025
26 checks passed
@MhmRhm
Copy link

MhmRhm commented Nov 25, 2025

I can see the issue with latest qt.6.10.1. I have also checked out master branch in my build directory and still see the issue:

CMake Error at /home/mohammad/vcpkg/scripts/buildsystems/vcpkg.cmake:908 (_find_package):
  Found package configuration file:

    /home/mohammad/Qt/6.10.1/gcc_arm64/lib/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "GuiPrivate".

  Expected Config file at
  "/home/mohammad/Qt/6.10.1/gcc_arm64/lib/cmake/Qt6GuiPrivate/Qt6GuiPrivateConfig.cmake"
  exists



  Configuring with --debug-find-pkg=Qt6GuiPrivate might reveal details why
  the package was not found.

   find_package search path values and other context for the last package that was not found:
    CMAKE_MODULE_PATH: /home/mohammad/Documents/Processing/cmake;/home/mohammad/Qt/6.10.1/gcc_arm64/lib/cmake/Qt6;/home/mohammad/Qt/6.10.1/gcc_arm64/lib/cmake/Qt6/3rdparty/extra-cmake-modules/find-modules;/home/mohammad/Qt/6.10.1/gcc_arm64/lib/cmake/Qt6/3rdparty/kwin;/home/mohammad/Qt/6.10.1/gcc_arm64/lib/cmake/Qt6;/home/mohammad/Qt/6.10.1/gcc_arm64/lib/cmake/Qt6/3rdparty/extra-cmake-modules/find-modules;/home/mohammad/Qt/6.10.1/gcc_arm64/lib/cmake/Qt6/3rdparty/kwin;/home/mohammad/Qt/6.10.1/gcc_arm64/lib/cmake/Qt6;/home/mohammad/Qt/6.10.1/gcc_arm64/lib/cmake/Qt6/3rdparty/extra-cmake-modules/find-modules;/home/mohammad/Qt/6.10.1/gcc_arm64/lib/cmake/Qt6/3rdparty/kwin
    CMAKE_PREFIX_PATH: /home/mohammad/Documents/Processing-build-linux-default-release/vcpkg_installed/arm64-linux;/home/mohammad/Documents/Processing-build-linux-default-release/vcpkg_installed/arm64-linux/debug;/home/mohammad/Qt/6.10.1/gcc_arm64
    $ENV{CMAKE_PREFIX_PATH}: 
    CMAKE_FIND_ROOT_PATH: /home/mohammad/Documents/Processing-build-linux-default-release/vcpkg_installed/arm64-linux;/home/mohammad/Documents/Processing-build-linux-default-release/vcpkg_installed/arm64-linux/debug
    _qt_additional_packages_prefix_paths: 
    _qt_additional_host_packages_prefix_paths: 
    _qt_cmake_dir: /home/mohammad/Qt/6.10.1/gcc_arm64/lib/cmake
    QT_HOST_PATH: 
    Qt6HostInfo_DIR: 
    Qt6_DIR: /home/mohammad/Qt/6.10.1/gcc_arm64/lib/cmake/Qt6
    CMAKE_TOOLCHAIN_FILE: /home/mohammad/vcpkg/scripts/buildsystems/vcpkg.cmake
    CMAKE_FIND_ROOT_PATH_MODE_PACKAGE: 
    CMAKE_SYSROOT: 
    $ENV{PATH}: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

Call Stack (most recent call first):
  /home/mohammad/Documents/Processing-build-linux-default-release/_deps/qxlsx-src/QXlsx/CMakeLists.txt:22 (find_package)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants