Giter VIP home page Giter VIP logo

Comments (5)

pzhlkj6612 avatar pzhlkj6612 commented on September 15, 2024 1

Hi! Did you try installing Qt6 MinGW with the official installer on Windows locally? If the official installation is broken, too, I think you could raise an issue on Qt's bug tracker: https://bugreports.qt.io/.

And I guess this change is not only for MinGW, but also macOS: Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) - Pastebin.com.

from aqtinstall.

pzhlkj6612 avatar pzhlkj6612 commented on September 15, 2024 1

@pktiuk

There might be a way to install Qt with its online installer by CLI, but I didn't succeed.

My command in PowerShell on Windows 11:

.\qt-unified-windows-x64-online.exe `
  --email '<email>' `
  --password '<password>' `
  --no-save-account `
  --accept-licenses `
  --accept-obligations `
  --default-answer `
  --confirm-command `
  install qt.qt6.671.win64_mingw 

ATTENTION: use Secrets in GitHub Actions to protect your credentials.

Always failed due to this error:

[526488] perform qt.tools.qtdesignstudio operation: Execute
[526491]        - arguments: C:\\Qt\\Tools\QtDesignStudio\bin\sdktool.exe, -s, C:\\Qt\\Tools\QtDesignStudio\share\qtcreator\\QtProject\qtdesignstudio, addTC, --id, ProjectExplorer.ToolChain.Custom:{9799e31f-e3d0-47cb-8bc1-1d0806d0ed23}, --language, C, --name, mock C compiler, --abi, x86-windows-msvc2019-pe-64bit, --path, not_existing, ProjectExplorer.CustomToolChain.TargetAbi, QString:x86-windows-msvc2019-pe-64bit, UNDOEXECUTE, {0,2}, C:\\Qt\\Tools\QtDesignStudio\bin\sdktool.exe, -s, C:\\Qt\\Tools\QtDesignStudio\share\qtcreator\\QtProject\qtdesignstudio, rmTC, --id, ProjectExplorer.ToolChain.Custom:{9799e31f-e3d0-47cb-8bc1-1d0806d0ed23}
[526645] C:\\\\Qt\\\\Tools\\QtDesignStudio\\bin\\sdktool.exe" started, arguments: "-s C:\\\\Qt\\\\Tools\\QtDesignStudio\\share\\qtcreator\\\\QtProject\\qtdesignstudio addTC --id ProjectExplorer.ToolChain.Custom:{9799e31f-e3d0-47cb-8bc1-1d0806d0ed23} --language C --name mock C compiler --abi x86-windows-msvc2019-pe-64bit --path not_existing ProjectExplorer.CustomToolChain.TargetAbi QString:x86-windows-msvc2019-pe-64bit
[529361] Warning: SOFT ASSERT [17:09:26.661]: "false" in C:\Users\qt\work\build\qt-creator\src\libs\utils\filepath.cpp:927
SOFT ASSERT [17:09:26.661]: "false" in C:\Users\qt\work\build\qt-creator\src\libs\utils\filepath.cpp:991
SOFT ASSERT [17:09:29.360]: "false" in C:\Users\qt\work\build\qt-creator\src\libs\utils\filepath.cpp:991
SOFT ASSERT [17:09:29.360]: "false" in C:\Users\qt\work\build\qt-creator\src\libs\utils\filepath.cpp:991
SOFT ASSERT [17:09:29.360]: "false" in C:\Users\qt\work\build\qt-creator\src\libs\utils\filepath.cpp:991
Error: Could not save settings C://Qt//Tools/QtDesignStudio/share/qtcreator//QtProject/qtdesignstudio/toolchains.xml.

I don't know why. I was running the installer with the Admin right.

References:

from aqtinstall.

pktiuk avatar pktiuk commented on September 15, 2024

Hello @pzhlkj6612 ,
I don't have Windows. That's why the only contact I have with this system is via runners used in Continous Integration.

from aqtinstall.

pktiuk avatar pktiuk commented on September 15, 2024

@pzhlkj6612
Is there any official way of installing QT on windows purely by CLI? Which could be replicated inside a GitHub runner?
In such a case I could figure out whether the source of problem lies in QT or in AQT

from aqtinstall.

pzhlkj6612 avatar pzhlkj6612 commented on September 15, 2024

@pktiuk , you can try to deploy a Windows VM on Linux. Debugging build system on CI looks painful to me. If you have Windows users, making a Windows test environment may not hurt.

I've viewed the directory hierarchy of Qt 6.7.0, 6.7.1 and 6.7.2 official installations on a Windows 11:

$ find . -iname '*Qt6GuiTools*'
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsAdditionalTargetInfo.cmake
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfig.cmake
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfigVersion.cmake
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfigVersionImpl.cmake
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsDependencies.cmake
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets-relwithdebinfo.cmake
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets.cmake
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsVersionlessTargets.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsAdditionalTargetInfo.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfig.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfigVersion.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfigVersionImpl.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsDependencies.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets-debug.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets-relwithdebinfo.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsVersionlessTargets.cmake

$ grep -rn 'Qt6GuiTools' .
./6.7.0/mingw_64/lib/cmake/Qt6Gui/Qt6GuiDependencies.cmake:36:set(__qt_Gui_tool_deps "Qt6GuiTools\;6.7.0")
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsAdditionalTargetInfo.cmake:1:# Additional target information for Qt6GuiTools
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfig.cmake:35:if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/Qt6GuiToolsDependencies.cmake")
  <more results from "Qt6GuiToolsConfig.cmake">
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfigVersion.cmake:5:include("${CMAKE_CURRENT_LIST_DIR}/Qt6GuiToolsConfigVersionImpl.cmake")
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsDependencies.cmake:5:set(Qt6GuiTools_FOUND FALSE)
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsDependencies.cmake:16:set(Qt6GuiTools_FOUND TRUE)
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets.cmake:69:file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/Qt6GuiToolsTargets-*.cmake")
./6.7.0/mingw_64/lib/cmake/Qt6WidgetsTools/Qt6WidgetsToolsDependencies.cmake:6:set(__qt_WidgetsTools_tool_deps "Qt6CoreTools\;6.7.0;Qt6GuiTools\;6.7.0")
./6.7.0/msvc2019_64/lib/cmake/Qt6Gui/Qt6GuiDependencies.cmake:36:set(__qt_Gui_tool_deps "Qt6GuiTools\;6.7.0")
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsAdditionalTargetInfo.cmake:1:# Additional target information for Qt6GuiTools
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfig.cmake:35:if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/Qt6GuiToolsDependencies.cmake")
  <more results from "Qt6GuiToolsConfig.cmake">
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfigVersion.cmake:5:include("${CMAKE_CURRENT_LIST_DIR}/Qt6GuiToolsConfigVersionImpl.cmake")
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsDependencies.cmake:5:set(Qt6GuiTools_FOUND FALSE)
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsDependencies.cmake:16:set(Qt6GuiTools_FOUND TRUE)
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets.cmake:69:file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/Qt6GuiToolsTargets-*.cmake")
./6.7.0/msvc2019_64/lib/cmake/Qt6WidgetsTools/Qt6WidgetsToolsDependencies.cmake:6:set(__qt_WidgetsTools_tool_deps "Qt6CoreTools\;6.7.0;Qt6GuiTools\;6.7.0")

Versions 6.7.0, 6.7.1 and 6.7.2 all have the same structure.

from aqtinstall.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.