wangwenx190 / framelesshelper

Project moved to: https://github.com/stdware/qwindowkit Cross-platform window customization framework for Qt Widgets and Qt Quick. Supports Windows, Linux and macOS.
MIT License
846 stars 202 forks source link

Win11 5.15.2 main 分支下的 版本 #333

Open RichardsATcn opened 11 months ago

RichardsATcn commented 11 months ago

mingw 编译成功,example 运行正常。

使用 find_package(FramelessHelper REQUIRED COMPONENTS Core Widgets) 时候报告以下信息。

C:\Qt\5.15.2\mingw81_64\lib\cmake\FramelessHelper\FramelessHelperCoreTargets.cmake:86: error: The imported target "FramelessHelper::Core" references the file "C:/Qt/5.15.2/mingw81_64/lib64/libFramelessHelperCore.a" but this file does not exist. Possible reasons include: The file was deleted, renamed, or moved to another location. An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "C:/Qt/5.15.2/mingw81_64/lib/cmake/FramelessHelper/FramelessHelperCoreTargets.cmake" but not all the files it references. C:/Qt/5.15.2/mingw81_64/lib/cmake/FramelessHelper/FramelessHelperConfig.cmake:45 (include) CMakeLists.txt:27 (find_package)

/*****/

Running C:\Program Files\CMake\bin\cmake.exe -S E:/QtProject/sndt-715/code_v3/ANSN-715/3rd/framelesshelper/examples -B E:/QtProject/sndt-715/code_v3/ANSN-715/3rd/framelesshelper/build-examples-Desktop_Qt_5_15_2_MinGW_64_bit-Debug in E:\QtProject\sndt-715\code_v3\ANSN-715\3rd\framelesshelper\build-examples-Desktop_Qt_5_15_2_MinGW_64_bit-Debug. CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as

project(ProjectName)

near the top of the file, but after cmake_minimum_required().

CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 3.25)

should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done -- Generating done -- Build files have been written to: E:/QtProject/sndt-715/code_v3/ANSN-715/3rd/framelesshelper/build-examples-Desktop_Qt_5_15_2_MinGW_64_bit-Debug Elapsed time: 00:00.

Running C:\Program Files\CMake\bin\cmake.exe -S E:/QtProject/sndt-715/code_v3/ANSN-715/3rd/framelesshelper -B E:/QtProject/sndt-715/code_v3/ANSN-715/3rd/build-framelesshelper-Desktop_Qt_5_15_2_MinGW_64_bit-Debug "-DFRAMELESSHELPER_BUILD_EXAMPLES:BOOL=ON" in E:\QtProject\sndt-715\code_v3\ANSN-715\3rd\build-framelesshelper-Desktop_Qt_5_15_2_MinGW_64_bit-Debug. CMake Warning at cmake/utils.cmake:645 (message): setup_compile_params: Current toolchain is not supported. Only LLVM-MinGW (https://github.com/mstorsjo/llvm-mingw) has partial support. Call Stack (most recent call first): src/core/CMakeLists.txt:305 (setup_compile_params)

CMake Warning at cmake/utils.cmake:645 (message): setup_compile_params: Current toolchain is not supported. Only LLVM-MinGW (https://github.com/mstorsjo/llvm-mingw) has partial support. Call Stack (most recent call first): src/widgets/CMakeLists.txt:177 (setup_compile_params)

CMake Warning at cmake/utils.cmake:645 (message): setup_compile_params: Current toolchain is not supported. Only LLVM-MinGW (https://github.com/mstorsjo/llvm-mingw) has partial support. Call Stack (most recent call first): src/quick/CMakeLists.txt:285 (setup_compile_params)

CMake Warning at cmake/utils.cmake:645 (message): setup_compile_params: Current toolchain is not supported. Only LLVM-MinGW (https://github.com/mstorsjo/llvm-mingw) has partial support. Call Stack (most recent call first): examples/widget/CMakeLists.txt:130 (setup_compile_params)

CMake Warning at cmake/utils.cmake:645 (message): setup_compile_params: Current toolchain is not supported. Only LLVM-MinGW (https://github.com/mstorsjo/llvm-mingw) has partial support. Call Stack (most recent call first): examples/mainwindow/CMakeLists.txt:135 (setup_compile_params)

CMake Warning at cmake/utils.cmake:645 (message): setup_compile_params: Current toolchain is not supported. Only LLVM-MinGW (https://github.com/mstorsjo/llvm-mingw) has partial support. Call Stack (most recent call first): examples/dialog/CMakeLists.txt:130 (setup_compile_params)

-- Configuring done -- Generating done -- Build files have been written to: E:/QtProject/sndt-715/code_v3/ANSN-715/3rd/build-framelesshelper-Desktop_Qt_5_15_2_MinGW_64_bit-Debug Elapsed time: 00:01.

Running C:\Program Files\CMake\bin\cmake.exe -S E:/QtProject/sndt-715/code_v3/ANSN-715/3rd/framelesshelper -B E:/QtProject/sndt-715/code_v3/ANSN-715/3rd/build-framelesshelper-Desktop_Qt_5_15_2_MinGW_64_bit-Debug in E:\QtProject\sndt-715\code_v3\ANSN-715\3rd\build-framelesshelper-Desktop_Qt_5_15_2_MinGW_64_bit-Debug. CMake Warning at cmake/utils.cmake:645 (message): setup_compile_params: Current toolchain is not supported. Only LLVM-MinGW (https://github.com/mstorsjo/llvm-mingw) has partial support. Call Stack (most recent call first): src/core/CMakeLists.txt:305 (setup_compile_params)

CMake Warning at cmake/utils.cmake:645 (message): setup_compile_params: Current toolchain is not supported. Only LLVM-MinGW (https://github.com/mstorsjo/llvm-mingw) has partial support. Call Stack (most recent call first): src/widgets/CMakeLists.txt:177 (setup_compile_params)

CMake Warning at cmake/utils.cmake:645 (message): setup_compile_params: Current toolchain is not supported. Only LLVM-MinGW (https://github.com/mstorsjo/llvm-mingw) has partial support. Call Stack (most recent call first): src/quick/CMakeLists.txt:285 (setup_compile_params)

CMake Warning at cmake/utils.cmake:645 (message): setup_compile_params: Current toolchain is not supported. Only LLVM-MinGW (https://github.com/mstorsjo/llvm-mingw) has partial support. Call Stack (most recent call first): examples/widget/CMakeLists.txt:130 (setup_compile_params)

CMake Warning at cmake/utils.cmake:645 (message): setup_compile_params: Current toolchain is not supported. Only LLVM-MinGW (https://github.com/mstorsjo/llvm-mingw) has partial support. Call Stack (most recent call first): examples/mainwindow/CMakeLists.txt:135 (setup_compile_params)

CMake Warning at cmake/utils.cmake:645 (message): setup_compile_params: Current toolchain is not supported. Only LLVM-MinGW (https://github.com/mstorsjo/llvm-mingw) has partial support. Call Stack (most recent call first): examples/dialog/CMakeLists.txt:130 (setup_compile_params)

-- Configuring done -- Generating done -- Build files have been written to: E:/QtProject/sndt-715/code_v3/ANSN-715/3rd/build-framelesshelper-Desktop_Qt_5_15_2_MinGW_64_bit-Debug Elapsed time: 00:01.

Running C:\Program Files\CMake\bin\cmake.exe -S E:/QtProject/sndt-715/code_v3/ANSN-715 -B E:/QtProject/sndt-715/code_v3/build-ANSN-715-Desktop_Qt_5_15_2_MinGW_64_bit-Debug in E:\QtProject\sndt-715\code_v3\build-ANSN-715-Desktop_Qt_5_15_2_MinGW_64_bit-Debug. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) Doxygen not found. Documentations will not be built. DEPLOYQT_EXECUTABLE : C:/Qt/5.15.2/mingw81_64/bin/windeployqt.exe RCC_EXECUTABLE : C:/Qt/5.15.2/mingw81_64/bin/rcc.exe CMake Error at C:/Qt/5.15.2/mingw81_64/lib/cmake/FramelessHelper/FramelessHelperCoreTargets.cmake:86 (message): The imported target "FramelessHelper::Core" references the file

 "C:/Qt/5.15.2/mingw81_64/lib64/libFramelessHelperCore.a"

but this file does not exist. Possible reasons include:

Call Stack (most recent call first): C:/Qt/5.15.2/mingw81_64/lib/cmake/FramelessHelper/FramelessHelperConfig.cmake:45 (include) CMakeLists.txt:27 (find_package)

-- Configuring incomplete, errors occurred! See also "E:/QtProject/sndt-715/code_v3/build-ANSN-715-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/CMakeFiles/CMakeOutput.log". CMake process exited with exit code 1.

Elapsed time: 00:00.

Running C:\Program Files\CMake\bin\cmake.exe -S E:/QtProject/sndt-715/code_v3/ANSN-715 -B E:/QtProject/sndt-715/code_v3/build-ANSN-715-Desktop_Qt_5_15_2_MinGW_64_bit-Debug in E:\QtProject\sndt-715\code_v3\build-ANSN-715-Desktop_Qt_5_15_2_MinGW_64_bit-Debug. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) Doxygen not found. Documentations will not be built. DEPLOYQT_EXECUTABLE : C:/Qt/5.15.2/mingw81_64/bin/windeployqt.exe RCC_EXECUTABLE : C:/Qt/5.15.2/mingw81_64/bin/rcc.exe CMake Error at C:/Qt/5.15.2/mingw81_64/lib/cmake/FramelessHelper/FramelessHelperCoreTargets.cmake:86 (message): The imported target "FramelessHelper::Core" references the file

 "C:/Qt/5.15.2/mingw81_64/lib64/libFramelessHelperCore.a"

but this file does not exist. Possible reasons include:

Call Stack (most recent call first): C:/Qt/5.15.2/mingw81_64/lib/cmake/FramelessHelper/FramelessHelperConfig.cmake:45 (include) CMakeLists.txt:27 (find_package)

-- Configuring incomplete, errors occurred! See also "E:/QtProject/sndt-715/code_v3/build-ANSN-715-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/CMakeFiles/CMakeOutput.log". CMake process exited with exit code 1.

Elapsed time: 00:00.