Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. building qt6 from source on windows 10 with mingw error "set Qt6Core_FOUND to FALSE so package "Qt6Core" is considered to be NOT FOUND"

building qt6 from source on windows 10 with mingw error "set Qt6Core_FOUND to FALSE so package "Qt6Core" is considered to be NOT FOUND"

Scheduled Pinned Locked Moved Unsolved Qt 6
errormingw 64 bitbuild from soursourceqt6.5
1 Posts 1 Posters 524 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SpaceEye
    wrote on 26 Feb 2023, 12:20 last edited by
    #1

    The command:

    ..\configure.bat -static -static-runtime -release -opensource -confirm-license -platform win32-g++ -nomake examples -nomake tests -nomake tools -prefix "C:/libs/qt6"
    

    The error:

    ..\configure.bat -static -static-runtime -release -opensource -confirm-license -platform win32-g++ -nomake examples -nomake tests -prefix "C:/libs/qt6"
    + cd qtbase
    + C:\Users\SpaceEye\qt6\qtbase\configure.bat -top-level -static -static-runtime -release -opensource -confirm-license -platform win32-g++ -nomake examples -nomake tests -prefix "C:/libs/qt6"
    -- Windows 10 SDK version:
    'C:/msys64/mingw64/bin/cmake.exe' '-DBUILD_SHARED_LIBS=OFF' '-DCMAKE_INSTALL_PREFIX=C:/libs/qt6' '-DQT_QMAKE_TARGET_MKSPEC=win32-g++' '-DQT_BUILD_EXAMPLES=FALSE' '-DQT_BUILD_TESTS=FALSE' '-DCMAKE_BUILD_TYPE=Release' '-DINPUT_static_runtime=yes' '-G' 'Ninja' 'C:/Users/SpaceEye/qt6'
    -- The CXX compiler identification is GNU 12.1.0
    -- The C compiler identification is GNU 12.1.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/msys64/mingw64/bin/cc.exe
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Checking dependencies of submodule 'qtbase'
    -- Checking dependencies of submodule 'qtimageformats'
    -- Checking dependencies of submodule 'qtlanguageserver'
    -- Checking dependencies of submodule 'qtshadertools'
    -- Checking dependencies of submodule 'qtsvg'
    -- Checking dependencies of submodule 'qtdeclarative'
    -- Checking dependencies of submodule 'qtquicktimeline'
    -- Checking dependencies of submodule 'qtquick3d'
    -- Checking dependencies of submodule 'qtmultimedia'
    -- Checking dependencies of submodule 'qt3d'
    -- Checking dependencies of submodule 'qt5compat'
    -- Checking dependencies of submodule 'qtactiveqt'
    -- Checking dependencies of submodule 'qtcharts'
    -- Checking dependencies of submodule 'qtcoap'
    -- Checking dependencies of submodule 'qtconnectivity'
    -- Checking dependencies of submodule 'qtdatavis3d'
    -- Checking dependencies of submodule 'qtwebsockets'
    -- Checking dependencies of submodule 'qthttpserver'
    -- Checking dependencies of submodule 'qttools'
    -- Checking dependencies of submodule 'qtdoc'
    -- Checking dependencies of submodule 'qtgrpc'
    -- Checking dependencies of submodule 'qtserialport'
    -- Checking dependencies of submodule 'qtpositioning'
    -- Checking dependencies of submodule 'qtlocation'
    -- Checking dependencies of submodule 'qtlottie'
    -- Checking dependencies of submodule 'qtmqtt'
    -- Checking dependencies of submodule 'qtnetworkauth'
    -- Checking dependencies of submodule 'qtopcua'
    -- Checking dependencies of submodule 'qtqa'
    -- Checking dependencies of submodule 'qtquick3dphysics'
    -- Checking dependencies of submodule 'qtquickeffectmaker'
    -- Checking dependencies of submodule 'qtremoteobjects'
    -- Checking dependencies of submodule 'qtscxml'
    -- Checking dependencies of submodule 'qtsensors'
    -- Checking dependencies of submodule 'qtserialbus'
    -- Checking dependencies of submodule 'qtspeech'
    -- Checking dependencies of submodule 'qttranslations'
    -- Checking dependencies of submodule 'qtvirtualkeyboard'
    -- Checking dependencies of submodule 'qtwayland'
    -- Checking dependencies of submodule 'qtwebchannel'
    -- Checking dependencies of submodule 'qtwebengine'
    -- Checking dependencies of submodule 'qtwebview'
    -- Configuring submodule 'qtbase'
                -DCMAKE_C_FLAGS_DEBUG=-g
                -DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG
                -DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
                -DCMAKE_CXX_FLAGS_DEBUG=-g
                -DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG
                -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
                -DCMAKE_OBJCOPY=C:/msys64/mingw64/bin/objcopy.exe
                -DCMAKE_C_STANDARD=11
                -DCMAKE_C_STANDARD_REQUIRED=ON
                -DCMAKE_CXX_STANDARD=17
                -DCMAKE_CXX_STANDARD_REQUIRED=ON
                -DCMAKE_MODULE_PATH:STRING=C:/Users/SpaceEye/qt6/qtbase/cmake/platforms
    -- Configuring submodule 'qtimageformats'
    CMake Error at C:/msys64/mingw64/lib/cmake/zstd/zstdTargets.cmake:37 (message):
      Some (but not all) targets in this export set were already defined.
    
      Targets Defined: zstd::libzstd_static
    
      Targets not yet defined: zstd::libzstd_shared
    
    Call Stack (most recent call first):
      C:/msys64/mingw64/lib/cmake/zstd/zstdConfig.cmake:1 (include)
      qtbase/cmake/FindWrapZSTD.cmake:24 (find_package)
      C:/msys64/mingw64/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
      qt6-build/qtbase/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:36 (find_dependency)
      qt6-build/qtbase/lib/cmake/Qt6Core/Qt6CoreDependencies.cmake:30 (_qt_internal_find_third_party_dependencies)
      qt6-build/qtbase/lib/cmake/Qt6Core/Qt6CoreConfig.cmake:40 (include)
      qt6-build/qtbase/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package)
      qtimageformats/CMakeLists.txt:14 (find_package)
    
    
    CMake Warning at qt6-build/qtbase/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package):
      Found package configuration file:
    
        C:/Users/SpaceEye/qt6/qt6-build/qtbase/lib/cmake/Qt6Core/Qt6CoreConfig.cmake
    
      but it set Qt6Core_FOUND to FALSE so package "Qt6Core" is considered to be
      NOT FOUND.
    Call Stack (most recent call first):
      qtimageformats/CMakeLists.txt:14 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    See also "C:/Users/SpaceEye/qt6/qt6-build/CMakeFiles/CMakeOutput.log".
    See also "C:/Users/SpaceEye/qt6/qt6-build/CMakeFiles/CMakeError.log".
    CMake Error at C:/Users/SpaceEye/qt6/qtbase/cmake/QtProcessConfigureArgs.cmake:987 (message):
      CMake exited with code 1.
    

    CmakeOutput: https://drive.google.com/file/d/1J4EC-mPyslBRgFZiamUpgWAYMwfg8tb7/view?usp=sharing
    CmakeError: https://drive.google.com/file/d/1iF4kR-BN5FJiHUjXDxH_pxRTeGo38n71/view?usp=sharing

    The branch is origin/6.5. Using MSYS2.

    1 Reply Last reply
    1

    1/1

    26 Feb 2023, 12:20

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved