Bug 465258

Summary: [kdesrc-build] [kf6] CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does not agree with the value of QT_MAJOR_VERSION already determined
Product: [Frameworks and Libraries] frameworks-kauth Reporter: Kyle Devir <kyle.devir>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kyle Devir 2023-02-04 07:49:59 UTC
-- Configuring done
CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "KF5AuthCore".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "KF5AuthWidgets".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "kauth_backend_plugin".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "kauth_helper_plugin".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "kauth_tests_static".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "KAuthSetupActionTest".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "KAuthHelperTest".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "client".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "helper".

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
Comment 1 Nicolas Fella 2023-02-04 13:50:52 UTC
Your setup is broken. Please fix your kdesrc-buildrc to follow https://invent.kde.org/sdk/kdesrc-build/-/blob/master/kdesrc-buildrc-kf6-sample

Note in particular the "branch-group kf6-qt6"
Comment 2 Nicolas Fella 2023-02-04 13:51:10 UTC
*** Bug 465259 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas Fella 2023-02-04 13:51:24 UTC
*** Bug 465260 has been marked as a duplicate of this bug. ***
Comment 4 Nicolas Fella 2023-02-04 13:51:33 UTC
*** Bug 465261 has been marked as a duplicate of this bug. ***