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

Fedora40 + Qt 6.7.2 missing Qt6::qtgraphicaleffectsplugin #9762

Open
gianfelicevincenzo opened this issue Aug 2, 2024 · 4 comments
Open
Labels
bug Something isn't working

Comments

@gianfelicevincenzo
Copy link

Fedora 40 x64

Configuring for Unix Makefiles
APP_VERSION=2.24.0
-- clang-tidy: Binary not found. Linting will be skipped.
Generated BUILD_ID: 2.202408021751
Using Qt version 6.7.2
Building sentry for Linux
CMake Warning at /usr/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:3459 (message):
  The qml plugin 'qtgraphicaleffectsplugin' is a dependency of 'mozillavpn',
  but the link target it defines (Qt6::qtgraphicaleffectsplugin) does not
  exist in the current scope.  The plugin will not be linked.
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (qt6_import_qml_plugins)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (cmake_language)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:774 (_qt_internal_finalize_executable)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:872 (qt6_finalize_target)
  src/CMakeLists.txt:71 (qt_finalize_target)


CMake Warning at /usr/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:3459 (message):
  The qml plugin 'qtgraphicaleffectsprivateplugin' is a dependency of
  'mozillavpn', but the link target it defines
  (Qt6::qtgraphicaleffectsprivate) does not exist in the current scope.  The
  plugin will not be linked.
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (qt6_import_qml_plugins)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (cmake_language)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:774 (_qt_internal_finalize_executable)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:872 (qt6_finalize_target)
  src/CMakeLists.txt:71 (qt_finalize_target)


Creating library translations from /opt/mozilla-vpn-client/src/translations
Importing translations: bg - completeness: 0.1834319526627219
Importing translations: co - completeness: 0.9960552268244576
Importing translations: cs - completeness: 1.0
Importing translations: cy - completeness: 1.0
Importing translations: da - completeness: 0.9960552268244576
Importing translations: de - completeness: 1.0
Importing translations: dsb - completeness: 0.9230769230769231
Importing translations: el - completeness: 0.9960552268244576
Importing translations: en - completeness: 1.0
Importing translations: en_CA - completeness: 0.9960552268244576
Importing translations: en_GB - completeness: 1.0
Importing translations: es_AR - completeness: 1.0
Importing translations: es_CL - completeness: 1.0
Importing translations: es_ES - completeness: 0.9960552268244576
Importing translations: es_MX - completeness: 0.8875739644970414
Importing translations: fa - completeness: 0.0
Importing translations: fi - completeness: 1.0
Importing translations: fr - completeness: 1.0
Importing translations: fy_NL - completeness: 1.0
Importing translations: hsb - completeness: 0.9230769230769231
Importing translations: hu - completeness: 1.0
Importing translations: ia - completeness: 1.0
Importing translations: id - completeness: 1.0
Importing translations: is - completeness: 1.0
Importing translations: it - completeness: 1.0
Importing translations: ja - completeness: 0.9822485207100592
Importing translations: lo - completeness: 0.7928994082840237
Importing translations: nl - completeness: 1.0
Importing translations: oc - completeness: 0.15187376725838264
Importing translations: pa_IN - completeness: 0.9072978303747534
Importing translations: pl - completeness: 1.0
Importing translations: pt_BR - completeness: 1.0
Importing translations: pt_PT - completeness: 0.9960552268244576
Importing translations: ru - completeness: 1.0
Importing translations: sk - completeness: 1.0
Importing translations: sl - completeness: 1.0
Importing translations: sq - completeness: 0.9960552268244576
Importing translations: sv_SE - completeness: 1.0
Importing translations: tr - completeness: 1.0
Importing translations: uk - completeness: 0.9901380670611439
Importing translations: zh_CN - completeness: 1.0
Importing translations: zh_TW - completeness: 1.0
CMake Warning at /usr/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:3459 (message):
  The qml plugin 'qtgraphicaleffectsplugin' is a dependency of 'qml_tests',
  but the link target it defines (Qt6::qtgraphicaleffectsplugin) does not
  exist in the current scope.  The plugin will not be linked.
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (qt6_import_qml_plugins)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (cmake_language)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:774 (_qt_internal_finalize_executable)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:590:EVAL:1 (qt6_finalize_target)
  tests/qml/CMakeLists.txt:DEFERRED


CMake Warning at /usr/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:3459 (message):
  The qml plugin 'qtgraphicaleffectsprivateplugin' is a dependency of
  'qml_tests', but the link target it defines
  (Qt6::qtgraphicaleffectsprivate) does not exist in the current scope.  The
  plugin will not be linked.
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (qt6_import_qml_plugins)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (cmake_language)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:774 (_qt_internal_finalize_executable)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:590:EVAL:1 (qt6_finalize_target)
  tests/qml/CMakeLists.txt:DEFERRED


Creating library translations-unit-tests from /opt/mozilla-vpn-client/tests/unit_tests/translations
CMake Warning at /usr/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:3459 (message):
  The qml plugin 'qtgraphicaleffectsplugin' is a dependency of 'dummyvpn',
  but the link target it defines (Qt6::qtgraphicaleffectsplugin) does not
  exist in the current scope.  The plugin will not be linked.
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (qt6_import_qml_plugins)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (cmake_language)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:774 (_qt_internal_finalize_executable)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:872 (qt6_finalize_target)
  tests/dummyvpn/CMakeLists.txt:60 (qt_finalize_target)


CMake Warning at /usr/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:3459 (message):
  The qml plugin 'qtgraphicaleffectsprivateplugin' is a dependency of
  'dummyvpn', but the link target it defines (Qt6::qtgraphicaleffectsprivate)
  does not exist in the current scope.  The plugin will not be linked.
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (qt6_import_qml_plugins)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (cmake_language)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:774 (_qt_internal_finalize_executable)
  /usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:872 (qt6_finalize_target)
  tests/dummyvpn/CMakeLists.txt:60 (qt_finalize_target)


-- Configuring done (5.5s)
-- Generating done (0.5s)
-- Build files have been written to: /opt/mozilla-vpn-client/build
@gianfelicevincenzo gianfelicevincenzo added the bug Something isn't working label Aug 2, 2024
@strseb
Copy link
Collaborator

strseb commented Aug 6, 2024

-- Configuring done (5.5s)
-- Generating done (0.5s)
-- Build files have been written to: /opt/mozilla-vpn-client/build

cmake configure did finish successfully, (tho you might need to obtain qtgraphicaleffectsplugin) - what is the issue? :)
(we can re-open this if there is a bug :) )

@strseb strseb closed this as completed Aug 6, 2024
@gianfelicevincenzo
Copy link
Author

qt graphic does not exist in q6 but only in qt5. The problem, as you can see, is that it can't find this library...

@strseb strseb reopened this Aug 6, 2024
@strseb strseb changed the title [BUG] Compile QT6 (2) Fedora40 + Qt 6.7.2 mssing Qt6::qtgraphicaleffectsplugin Aug 6, 2024
@strseb strseb changed the title Fedora40 + Qt 6.7.2 mssing Qt6::qtgraphicaleffectsplugin Fedora40 + Qt 6.7.2 missing Qt6::qtgraphicaleffectsplugin Aug 6, 2024
@oskirby
Copy link
Collaborator

oskirby commented Aug 26, 2024

My understanding is that we do really need the GraphicalEffects plugin as it produces a bunch of shaders used by the QML frontend (things like shadows and blending). This should be provided by a Qt5 compatibility library. Could you try installing the qt6-qt5compat-devel package and see if that gets things building again?

Note: this is declared as a build requirement in mozillavpn.spec

@oskirby
Copy link
Collaborator

oskirby commented Aug 26, 2024

I will admit though, the GraphicalEffects plugin doesn't really do that much for us and we could probably refactor it away and simplify some build dependencies by writing/importing the shaders directly into our codebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants