Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building with Qt 6.3 on Fedora 34 fails #202

Open
daschuer opened this issue Oct 15, 2021 · 2 comments
Open

Building with Qt 6.3 on Fedora 34 fails #202

daschuer opened this issue Oct 15, 2021 · 2 comments

Comments

@daschuer
Copy link
Contributor

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?

@hefee
Copy link
Contributor

hefee commented Feb 23, 2022

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.

@andykimpe
Copy link

andykimpe commented Feb 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants