Skip to content

Fix Qt compatibility #19

@willcl-ark

Description

@willcl-ark

With the current shell we can do a full build from depends if we use a dependency provider (e.g. rebase on this branch: bitcoin/bitcoin#32595 )

We do not currently include any Qt libraries, so can't build gui without depends.

If we include Qt libraries like so (which AFAIK is ~correct):

diff --git a/flake.nix b/flake.nix
index 0210333..9a608cf 100644
--- a/flake.nix
+++ b/flake.nix
@@ -57,6 +57,7 @@
           ninja
           pkg-config
           python3
+          qt6.wrapQtAppsHook
           xz
         ]
         ++ platformPkgs isLinux [
@@ -73,6 +74,9 @@
           db4
           libevent
           qrencode
+          qt6.qtbase
+          qt6.qttools
           sqlite.dev
           zeromq
         ]
@@ -110,6 +114,7 @@
         '';
 
         inherit (env) CMAKE_GENERATOR LD_LIBRARY_PATH LOCALE_ARCHIVE;
+        QT_PLUGIN_PATH = "${pkgs.qt6.qtbase}/${pkgs.qt6.qtbase.qtPluginPrefix}";
       };
 
       formatter = pkgsWithLLVM.alejandra;

...then we can build and run bitcoin-qt without depends successfully.

However, this then breaks depends builds via a Qt mismatch, stemming from cmake searching for system Qt (which is in itself a mistake) and finding incorrect version:

Log

-- Configuring submodule 'qtbase'
-- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release'
            -DCMAKE_C_FLAGS=  -I/home/will/src/core/bitcoin/depends/x86_64-pc-linux-gnu/include -pipe -std=c11 -ffile-prefix-map=/home/will/src/core/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/6.7.3-d31a50b620f=/usr
            -DCMAKE_C_FLAGS_RELEASE=-O2
            -DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
            -DCMAKE_CXX_FLAGS=  -I/home/will/src/core/bitcoin/depends/x86_64-pc-linux-gnu/include -pipe -std=c++20 -ffile-prefix-map=/home/will/src/core/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/6.7.3-d31a50b620f=/usr
            -DCMAKE_CXX_FLAGS_RELEASE=-O2
            -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
            -DCMAKE_OBJCOPY=/nix/store/qqylrf4bfgw6ay8jddzfj74gxzmxsz26-clang-wrapper-20.1.4/bin/objcopy
            -DCMAKE_C_STANDARD=11
            -DCMAKE_C_STANDARD_REQUIRED=ON
            -DCMAKE_CXX_STANDARD=20
            -DCMAKE_CXX_STANDARD_REQUIRED=ON
            -DCMAKE_MODULE_PATH:STRING=/home/will/src/core/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/6.7.3-d31a50b620f/qtbase/cmake/platforms

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COMPANY keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COMPANY variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/syncqt/CMakeLists.txt:33 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COPYRIGHT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COPYRIGHT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/syncqt/CMakeLists.txt:33 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_DESCRIPTION keyword was followed by an empty string or no value
  at all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset
  the arg_TARGET_DESCRIPTION variable rather than setting it to an empty
  string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/syncqt/CMakeLists.txt:33 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_PRODUCT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_PRODUCT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/syncqt/CMakeLists.txt:33 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_VERSION keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_VERSION variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/syncqt/CMakeLists.txt:33 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COMPANY keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COMPANY variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/moc/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COPYRIGHT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COPYRIGHT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/moc/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_PRODUCT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_PRODUCT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/moc/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_VERSION keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_VERSION variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/moc/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COMPANY keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COMPANY variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/rcc/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COPYRIGHT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COPYRIGHT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/rcc/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_PRODUCT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_PRODUCT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/rcc/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_VERSION keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_VERSION variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/rcc/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COMPANY keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COMPANY variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/cmake_automoc_parser/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COPYRIGHT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COPYRIGHT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/cmake_automoc_parser/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_PRODUCT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_PRODUCT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/cmake_automoc_parser/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_VERSION keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_VERSION variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/cmake_automoc_parser/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtModuleHelpers.cmake:139 (cmake_parse_arguments):
  The EXTERNAL_HEADERS_DIR keyword was followed by an empty string or no
  value at all.  Policy CMP0174 is not set, so cmake_parse_arguments() will
  unset the arg_EXTERNAL_HEADERS_DIR variable rather than setting it to an
  empty string.
Call Stack (most recent call first):
  qtbase/cmake/Qt3rdPartyLibraryHelpers.cmake:369 (qt_internal_add_module)
  qtbase/src/3rdparty/zlib/CMakeLists.txt:43 (qt_internal_add_3rdparty_header_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtTargetHelpers.cmake:59 (cmake_parse_arguments):
  The PRECOMPILED_HEADER keyword was followed by an empty string or no value
  at all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset
  the arg_PRECOMPILED_HEADER variable rather than setting it to an empty
  string.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:610 (qt_internal_extend_target)
  qtbase/cmake/Qt3rdPartyLibraryHelpers.cmake:369 (qt_internal_add_module)
  qtbase/src/3rdparty/zlib/CMakeLists.txt:43 (qt_internal_add_3rdparty_header_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/src/corelib/Qt6CoreMacros.cmake:1462 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  qtbase/src/corelib/CMakeLists.txt:407 (qt6_extract_metatypes)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtModuleHelpers.cmake:139 (cmake_parse_arguments):
  The EXTERNAL_HEADERS_DIR keyword was followed by an empty string or no
  value at all.  Policy CMP0174 is not set, so cmake_parse_arguments() will
  unset the arg_EXTERNAL_HEADERS_DIR variable rather than setting it to an
  empty string.
Call Stack (most recent call first):
  qtbase/cmake/Qt3rdPartyLibraryHelpers.cmake:369 (qt_internal_add_module)
  qtbase/src/3rdparty/libpng/CMakeLists.txt:35 (qt_internal_add_3rdparty_header_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtTargetHelpers.cmake:59 (cmake_parse_arguments):
  The PRECOMPILED_HEADER keyword was followed by an empty string or no value
  at all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset
  the arg_PRECOMPILED_HEADER variable rather than setting it to an empty
  string.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:610 (qt_internal_extend_target)
  qtbase/cmake/Qt3rdPartyLibraryHelpers.cmake:369 (qt_internal_add_module)
  qtbase/src/3rdparty/libpng/CMakeLists.txt:35 (qt_internal_add_3rdparty_header_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtTargetHelpers.cmake:59 (cmake_parse_arguments):
  The PRECOMPILED_HEADER keyword was followed by an empty string or no value
  at all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset
  the arg_PRECOMPILED_HEADER variable rather than setting it to an empty
  string.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:610 (qt_internal_extend_target)
  qtbase/cmake/Qt3rdPartyLibraryHelpers.cmake:369 (qt_internal_add_module)
  qtbase/src/3rdparty/harfbuzz-ng/CMakeLists.txt:195 (qt_internal_add_3rdparty_header_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/src/corelib/Qt6CoreMacros.cmake:1462 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:753 (qt6_extract_metatypes)
  qtbase/src/network/CMakeLists.txt:8 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtTargetHelpers.cmake:59 (cmake_parse_arguments):
  The PRECOMPILED_HEADER keyword was followed by an empty string or no value
  at all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset
  the arg_PRECOMPILED_HEADER variable rather than setting it to an empty
  string.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:610 (qt_internal_extend_target)
  qtbase/src/xml/CMakeLists.txt:8 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/src/corelib/Qt6CoreMacros.cmake:1462 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:753 (qt6_extract_metatypes)
  qtbase/src/xml/CMakeLists.txt:8 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtTargetHelpers.cmake:59 (cmake_parse_arguments):
  The PRECOMPILED_HEADER keyword was followed by an empty string or no value
  at all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset
  the arg_PRECOMPILED_HEADER variable rather than setting it to an empty
  string.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:610 (qt_internal_extend_target)
  qtbase/src/dbus/CMakeLists.txt:8 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/src/corelib/Qt6CoreMacros.cmake:1462 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:753 (qt6_extract_metatypes)
  qtbase/src/dbus/CMakeLists.txt:8 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COMPANY keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COMPANY variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/uic/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COPYRIGHT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COPYRIGHT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/uic/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_PRODUCT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_PRODUCT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/uic/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_VERSION keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_VERSION variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/uic/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COMPANY keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COMPANY variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/qdbuscpp2xml/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COPYRIGHT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COPYRIGHT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/qdbuscpp2xml/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_PRODUCT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_PRODUCT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/qdbuscpp2xml/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_VERSION keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_VERSION variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/qdbuscpp2xml/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COMPANY keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COMPANY variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/qdbusxml2cpp/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COPYRIGHT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COPYRIGHT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/qdbusxml2cpp/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_PRODUCT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_PRODUCT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/qdbusxml2cpp/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_VERSION keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_VERSION variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/qdbusxml2cpp/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COMPANY keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COMPANY variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/qtpaths/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_COPYRIGHT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_COPYRIGHT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/qtpaths/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_PRODUCT keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_PRODUCT variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/qtpaths/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtExecutableHelpers.cmake:15 (cmake_parse_arguments):
  The TARGET_VERSION keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_TARGET_VERSION variable rather than setting it to an empty string.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:111 (qt_internal_add_executable)
  qtbase/src/tools/qtpaths/CMakeLists.txt:9 (qt_internal_add_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/src/corelib/Qt6CoreMacros.cmake:1462 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:753 (qt6_extract_metatypes)
  qtbase/src/gui/CMakeLists.txt:53 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtTargetHelpers.cmake:59 (cmake_parse_arguments):
  The PRECOMPILED_HEADER keyword was followed by an empty string or no value
  at all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset
  the arg_PRECOMPILED_HEADER variable rather than setting it to an empty
  string.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:610 (qt_internal_extend_target)
  qtbase/src/assets/icons/CMakeLists.txt:4 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/src/corelib/Qt6CoreMacros.cmake:1462 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:753 (qt6_extract_metatypes)
  qtbase/src/assets/icons/CMakeLists.txt:4 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/src/corelib/Qt6CoreMacros.cmake:1462 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:753 (qt6_extract_metatypes)
  qtbase/src/widgets/CMakeLists.txt:8 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtTargetHelpers.cmake:59 (cmake_parse_arguments):
  The PRECOMPILED_HEADER keyword was followed by an empty string or no value
  at all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset
  the arg_PRECOMPILED_HEADER variable rather than setting it to an empty
  string.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:610 (qt_internal_extend_target)
  qtbase/src/platformsupport/devicediscovery/CMakeLists.txt:8 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/src/corelib/Qt6CoreMacros.cmake:1462 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:753 (qt6_extract_metatypes)
  qtbase/src/platformsupport/devicediscovery/CMakeLists.txt:8 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/src/corelib/Qt6CoreMacros.cmake:1462 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:753 (qt6_extract_metatypes)
  qtbase/src/platformsupport/fbconvenience/CMakeLists.txt:8 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtTargetHelpers.cmake:59 (cmake_parse_arguments):
  The PRECOMPILED_HEADER keyword was followed by an empty string or no value
  at all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset
  the arg_PRECOMPILED_HEADER variable rather than setting it to an empty
  string.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:610 (qt_internal_extend_target)
  qtbase/src/testlib/CMakeLists.txt:10 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/src/corelib/Qt6CoreMacros.cmake:1462 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:753 (qt6_extract_metatypes)
  qtbase/src/testlib/CMakeLists.txt:10 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/cmake/QtTargetHelpers.cmake:59 (cmake_parse_arguments):
  The PRECOMPILED_HEADER keyword was followed by an empty string or no value
  at all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset
  the arg_PRECOMPILED_HEADER variable rather than setting it to an empty
  string.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:610 (qt_internal_extend_target)
  qtbase/src/plugins/platforms/xcb/CMakeLists.txt:13 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at qtbase/src/corelib/Qt6CoreMacros.cmake:1462 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:753 (qt6_extract_metatypes)
  qtbase/src/plugins/platforms/xcb/CMakeLists.txt:13 (qt_internal_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.

Package x11 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable
No package 'x11' found
-- Configuring submodule 'qtactiveqt'
-- Configuring submodule 'qtdeclarative'
-- Configuring submodule 'qttools'
CMake Warning at qtbase/lib/cmake/Qt6Core/Qt6CoreConfigVersion.cmake:56 (message):
  Version 6.9.0 of package Qt6CorePrivate was requested but an incompatible
  version was found: 6.7.3.  You can pass -DQT_NO_PACKAGE_VERSION_CHECK=TRUE
  to disable the version check and force the incompatible version to be used.
  There is no guarantee the build will succeed.  Use at your own risk.  You
  can silence this warning by passing
  -DQT_NO_PACKAGE_VERSION_INCOMPATIBLE_WARNING=TRUE
Call Stack (most recent call first):
  /nix/store/wphngc22a7aphbp5pi5jqmqlsqmisgn5-cmake-3.31.6/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  qtbase/cmake/QtPublicDependencyHelpers.cmake:111 (find_dependency)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6SqlPrivate/Qt6SqlPrivateDependencies.cmake:45 (_qt_internal_find_qt_dependencies)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6SqlPrivate/Qt6SqlPrivateConfig.cmake:36 (include)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6Sql/Qt6SqlConfig.cmake:85 (find_package)
  qtbase/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
  qttools/CMakeLists.txt:22 (find_package)


CMake Warning at qtbase/lib/cmake/Qt6CoreTools/Qt6CoreToolsConfigVersion.cmake:56 (message):
  Version 6.9.0 of package Qt6CoreTools was requested but an incompatible
  version was found: 6.7.3.  You can pass -DQT_NO_PACKAGE_VERSION_CHECK=TRUE
  to disable the version check and force the incompatible version to be used.
  There is no guarantee the build will succeed.  Use at your own risk.  You
  can silence this warning by passing
  -DQT_NO_PACKAGE_VERSION_INCOMPATIBLE_WARNING=TRUE
Call Stack (most recent call first):
  qtbase/cmake/QtPublicDependencyHelpers.cmake:65 (find_package)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6Core/Qt6CoreDependencies.cmake:40 (_qt_internal_find_tool_dependencies)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6Core/Qt6CoreConfig.cmake:45 (include)
  /nix/store/wphngc22a7aphbp5pi5jqmqlsqmisgn5-cmake-3.31.6/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  qtbase/cmake/QtPublicDependencyHelpers.cmake:111 (find_dependency)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6SqlPrivate/Qt6SqlPrivateDependencies.cmake:45 (_qt_internal_find_qt_dependencies)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6SqlPrivate/Qt6SqlPrivateConfig.cmake:36 (include)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6Sql/Qt6SqlConfig.cmake:85 (find_package)
  qtbase/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
  qttools/CMakeLists.txt:22 (find_package)


CMake Warning at qtbase/lib/cmake/Qt6CoreTools/Qt6CoreToolsConfigVersion.cmake:56 (message):
  Version 6.9.0 of package Qt6CoreTools was requested but an incompatible
  version was found: 6.7.3.  You can pass -DQT_NO_PACKAGE_VERSION_CHECK=TRUE
  to disable the version check and force the incompatible version to be used.
  There is no guarantee the build will succeed.  Use at your own risk.  You
  can silence this warning by passing
  -DQT_NO_PACKAGE_VERSION_INCOMPATIBLE_WARNING=TRUE
Call Stack (most recent call first):
  qtbase/cmake/QtPublicDependencyHelpers.cmake:65 (find_package)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6Core/Qt6CoreDependencies.cmake:40 (_qt_internal_find_tool_dependencies)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6Core/Qt6CoreConfig.cmake:45 (include)
  /nix/store/wphngc22a7aphbp5pi5jqmqlsqmisgn5-cmake-3.31.6/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  qtbase/cmake/QtPublicDependencyHelpers.cmake:111 (find_dependency)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6SqlPrivate/Qt6SqlPrivateDependencies.cmake:45 (_qt_internal_find_qt_dependencies)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6SqlPrivate/Qt6SqlPrivateConfig.cmake:36 (include)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6Sql/Qt6SqlConfig.cmake:85 (find_package)
  qtbase/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
  qttools/CMakeLists.txt:22 (find_package)


CMake Warning at qtbase/lib/cmake/Qt6CoreTools/Qt6CoreToolsConfigVersion.cmake:56 (message):
  Version 6.9.0 of package Qt6CoreTools was requested but an incompatible
  version was found: 6.7.3.  You can pass -DQT_NO_PACKAGE_VERSION_CHECK=TRUE
  to disable the version check and force the incompatible version to be used.
  There is no guarantee the build will succeed.  Use at your own risk.  You
  can silence this warning by passing
  -DQT_NO_PACKAGE_VERSION_INCOMPATIBLE_WARNING=TRUE
Call Stack (most recent call first):
  qtbase/cmake/QtPublicDependencyHelpers.cmake:65 (find_package)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6Core/Qt6CoreDependencies.cmake:40 (_qt_internal_find_tool_dependencies)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6Core/Qt6CoreConfig.cmake:45 (include)
  /nix/store/wphngc22a7aphbp5pi5jqmqlsqmisgn5-cmake-3.31.6/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  qtbase/cmake/QtPublicDependencyHelpers.cmake:111 (find_dependency)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6SqlPrivate/Qt6SqlPrivateDependencies.cmake:45 (_qt_internal_find_qt_dependencies)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6SqlPrivate/Qt6SqlPrivateConfig.cmake:36 (include)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6Sql/Qt6SqlConfig.cmake:85 (find_package)
  qtbase/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
  qttools/CMakeLists.txt:22 (find_package)


CMake Error at /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6CorePrivate/Qt6CorePrivateVersionlessAliasTargets.cmake:3 (_qt_internal_check_multiple_inclusion):
  Unknown CMake command "_qt_internal_check_multiple_inclusion".
Call Stack (most recent call first):
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6CorePrivate/Qt6CorePrivateConfig.cmake:72 (include)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6Core/Qt6CoreConfig.cmake:87 (find_package)
  /nix/store/wphngc22a7aphbp5pi5jqmqlsqmisgn5-cmake-3.31.6/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  qtbase/cmake/QtPublicDependencyHelpers.cmake:111 (find_dependency)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6SqlPrivate/Qt6SqlPrivateDependencies.cmake:45 (_qt_internal_find_qt_dependencies)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6SqlPrivate/Qt6SqlPrivateConfig.cmake:36 (include)
  /nix/store/8qs879yx84gng0yljdybwi4fbbgg3dyy-qtbase-6.9.0/lib/cmake/Qt6Sql/Qt6SqlConfig.cmake:85 (find_package)
  qtbase/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
  qttools/CMakeLists.txt:22 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:1077 (message):
  CMake exited with code 1.


make: *** [funcs.mk:343: /home/will/src/core/bitcoin/depends/x86_64-pc-linux-gnu/.qt_stamp_configured] Error 1
make: Leaving directory '/home/will/src/core/bitcoin/depends'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions