Re: FreeBSD Port: x11-toolkits/qt6-declarative: 6.7.2 built in the environment where qt6-svg is installed changes the build of qt6-5compat
Date: Sun, 25 Aug 2024 05:08:53 UTC
Additional research on the changes that occur when qt6-svg is installed. Since the target Qt::Svg will exist, svgtoqml subdirectory will be added. https: //code.qt.io /cgit/qt/qtdeclarative.git/tree/tools/CMakeLists.txt#n70 Running the qt_internal_add_tool adds several modules to QT_KNOWN_MODULES_WITH_TOOLS. https: //code.qt.io /cgit/qt/qtdeclarative.git/tree/tools/svgtoqml/CMakeLists.txt#n9 QT_KNOWN_MODULES_WITH_TOOLS will be the string to be converted in configure_file. https: //code.qt.io /cgit/qt/qtbase.git/tree/cmake/QtPostProcessHelpers.cmake#n268 On qt6-5compat side, the following failures begin to occur: Excerpt of the output of configure. -- The following OPTIONAL packages have not been found: * Qt6QuickTools (required version >= 6.7.2) * Qt6Quick (required version >= 6.7.2) -- qt5compat_src depends on Core5Compat;Core5CompatPrivate;Core5CompatVersionless;Core5CompatPrivateVersionless -- qt5compat depends on qt5compat_src -- Configuring done (2.5s) The not found above seems to refer to this in CMakeCache.txt. //The directory containing a CMake configuration file for Qt6QuickTools. Qt6QuickTools_DIR:PATH=Qt6QuickTools_DIR-NOTFOUND It seems that qt6-5compat has to depend on this Qt6QuickTools, but I don't know about it. I don't know if these are necessary, but I will add them for the time being because they may be shortcuts for something. Regards.