qtkeychain icon indicating copy to clipboard operation
qtkeychain copied to clipboard

Building with Qt 6.3 on Fedora 34 fails

Open daschuer opened this issue 3 years ago • 2 comments

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?

daschuer avatar Oct 15 '21 21:10 daschuer

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.

hefee avatar Feb 23 '22 10:02 hefee

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

andykimpe avatar Feb 23 '24 21:02 andykimpe