qtkeychain
qtkeychain copied to clipboard
Building with Qt 6.3 on Fedora 34 fails
cmake ../.. -DBUILD_WITH_QT6=ON
results in the following error message:
Make Error at /usr/lib64/cmake/Qt6Core/Qt6CoreVersionlessTargets.cmake:37 (message):
Some (but not all) targets in this export set were already defined.
Targets Defined: Qt::Core
Targets not yet defined: Qt::CorePrivate
Call Stack (most recent call first):
/usr/lib64/cmake/Qt6Core/Qt6CoreConfig.cmake:63 (include)
/usr/lib64/cmake/Qt6/Qt6Config.cmake:186 (find_package)
CMakeLists.txt:87 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/daniel/workspace/qtkeychain/build/qt6/CMakeFiles/CMakeOutput.log".
See also "/home/daniel/workspace/qtkeychain/build/qt6/CMakeFiles/CMakeError.log".
The packages qt6-qtbase-private-devel and qt6-qtbase-devel are installed.
Do I miss something?
We had the same issue for Debian. Lu YaNing found out that you need to install qtbase5-private-dev, qt6-tools-dev, qt6-tools-dev-tool, libgcrypt20-dev and qt6-l10n-tools. See the correspondig MR on Debian: https://salsa.debian.org/owncloud-team/qtkeychain/-/merge_requests/3
and you don't need to install qt6-base-private-dev.
alo hefee you need to wake up
he asked for fedora not for debian
it's not at all the type of system or even the package name
maybe try this but without guarantee I have different error so maybe you with this it will work
sudo dnf -y install qt6-qtbase-devel qt6-qtmultimedia-devel qt6-qttools-devel qt6-qt5compat-devel qt6-qtspeech-devel qt6-qtbase-private-devel