Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI not building with QT6 and Mingw #999

Open
pktiuk opened this issue Jun 28, 2024 · 1 comment
Open

Fix CI not building with QT6 and Mingw #999

pktiuk opened this issue Jun 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working CI - Github Actions Issues involving usage of Github Actions and creating scripts used by ci Windows Windows-only issues

Comments

@pktiuk
Copy link
Member

pktiuk commented Jun 28, 2024

CI is broken for build Build / WinServer2019 MinGW QT6 Debug

Cmake is unable to get all of the QT packages


CMake Warning at C:/msys64/mingw64/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
  By not providing "FindQt6GuiTools.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt6GuiTools", but CMake did not find one.

  Could not find a package configuration file provided by "Qt6GuiTools"
  (requested version 6.7.1) with any of the following names:

    Qt6GuiToolsConfig.cmake
    qt6guitools-config.cmake

  Add the installation prefix of "Qt6GuiTools" to CMAKE_PREFIX_PATH or set
  "Qt6GuiTools_DIR" to a directory containing one of the above files.  If
  "Qt6GuiTools" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  qt/Qt/6.7.1/mingw_64/lib/cmake/Qt6WidgetsTools/Qt6WidgetsToolsDependencies.cmake:12 (find_dependency)
  qt/Qt/6.7.1/mingw_64/lib/cmake/Qt6WidgetsTools/Qt6WidgetsToolsConfig.cmake:36 (include)
  qt/Qt/6.7.1/mingw_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:65 (find_package)
  qt/Qt/6.7.1/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsDependencies.cmake:37 (_qt_internal_find_tool_dependencies)
  qt/Qt/6.7.1/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake:43 (include)
  qt/Qt/6.7.1/mingw_64/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
  CMakeLists.txt:530 (find_package)


CMake Warning at qt/Qt/6.7.1/mingw_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:65 (find_package):
  Found package configuration file:

    D:/a/antimicrox/antimicrox/qt/Qt/6.7.1/mingw_64/lib/cmake/Qt6WidgetsTools/Qt6WidgetsToolsConfig.cmake

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

  Qt6WidgetsTools could not be found because dependency Qt6GuiTools could not
  be found.

Call Stack (most recent call first):
  qt/Qt/6.7.1/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsDependencies.cmake:37 (_qt_internal_find_tool_dependencies)
  qt/Qt/6.7.1/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake:43 (include)
  qt/Qt/6.7.1/mingw_64/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
  CMakeLists.txt:530 (find_package)


CMake Warning at qt/Qt/6.7.1/mingw_64/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package):
  Found package configuration file:

    D:/a/antimicrox/antimicrox/qt/Qt/6.7.1/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake

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

  Qt6Widgets could not be found because dependency Qt6WidgetsTools could not
  be found.

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

  Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
  of the path variables that find_package uses to try and find the package.

Call Stack (most recent call first):
  CMakeLists.txt:530 (find_package)


CMake Error at CMakeLists.txt:530 (find_package):
  Found package configuration file:

    D:/a/antimicrox/antimicrox/qt/Qt/6.7.1/mingw_64/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 "Widgets".

  Expected Config file at
  "D:/a/antimicrox/antimicrox/qt/Qt/6.7.1/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake"
  exists

Upvote & Fund

  • If you find this issue important, mark it with 👍. It lets us see which fixes and features are demanded by the most users.
  • We're using Polar.sh so you can upvote and help fund this issue. It may incentivize some developers to contribute to this project and fix some bugs.
  • Funded developer receives the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@pktiuk pktiuk added bug Something isn't working CI - Github Actions Issues involving usage of Github Actions and creating scripts used by ci Windows Windows-only issues labels Jun 28, 2024
@pktiuk pktiuk self-assigned this Jun 28, 2024
@pktiuk
Copy link
Member Author

pktiuk commented Jun 29, 2024

Linked issue: miurahr/aqtinstall#793

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI - Github Actions Issues involving usage of Github Actions and creating scripts used by ci Windows Windows-only issues
Projects
None yet
Development

No branches or pull requests

1 participant