You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kindly look into the project most of the requirement are depreciated kindly update the code cause i am getting warning in cmake
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_KCM=on -DBUILD_PLASMOID=on
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Looking for GLIBC
-- Looking for GLIBC - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:111 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
CMakeLists.txt:55 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Gettext: /usr/bin/msgmerge (found version "0.21")
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.115.0")
-- Found KF5: success (found version "5.115.0") found components: I18n
-- qmlplugindump failed for QtQuick.
-- Could NOT find QtQuick-QMLModule (missing: QtQuick-QMLModule_FOUND)
-- qmlplugindump failed for QtQuick.Controls.
-- Could NOT find QtQuick.Controls-QMLModule (missing: QtQuick.Controls-QMLModule_FOUND)
-- Found QtQuick.Layouts-QMLModule: TRUE (found version "")
-- qmlplugindump failed for QtQuick.Dialogs.
-- Could NOT find QtQuick.Dialogs-QMLModule (missing: QtQuick.Dialogs-QMLModule_FOUND)
-- qmlplugindump failed for org.kde.kirigami.
-- Could NOT find org.kde.kirigami-QMLModule (missing: org.kde.kirigami-QMLModule_FOUND)
-- Compiling for Systemd
-- Build the standalone application
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:111 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
fancontrol-gui/CMakeLists.txt:15 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.115.0")
-- Found KF5DBusAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5DBusAddons/KF5DBusAddonsConfig.cmake (found version "5.115.0")
-- Found KF5Package: /usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageConfig.cmake (found version "5.115.0")
-- Found KF5Declarative: /usr/lib/x86_64-linux-gnu/cmake/KF5Declarative/KF5DeclarativeConfig.cmake (found version "5.115.0")
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.115.0")
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.115.0")
-- Found KF5: success (found version "5.115.0") found components: CoreAddons DBusAddons Package Declarative Config Notifications
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:46 (message):
Providing metadata with .desktop files is deprecated. Please run
"desktoptojson -i
/home/yuvi/Downloads/fancontrol-gui-master/fancontrol-gui/package/metadata.desktop"
to convert the file to json and remove the desktop file
Call Stack (most recent call first):
fancontrol-gui/CMakeLists.txt:27 (kpackage_install_package)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:37 (message):
kcoreaddons_desktop_to_json is deprecated and will be removed in KF6.
Convert the desktop files to JSON in source using the desktoptojson
executable
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:49 (kcoreaddons_desktop_to_json)
fancontrol-gui/CMakeLists.txt:27 (kpackage_install_package)
-- Build the KCM
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:111 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
kcm/CMakeLists.txt:6 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found KF5KCMUtils: /usr/lib/x86_64-linux-gnu/cmake/KF5KCMUtils/KF5KCMUtilsConfig.cmake (found version "5.115.0")
-- Found KF5: success (found version "5.115.0") found components: CoreAddons Package Declarative KCMUtils
-- qmlplugindump failed for org.kde.kcm.
-- Could NOT find org.kde.kcm-QMLModule (missing: org.kde.kcm-QMLModule_FOUND)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:46 (message):
Providing metadata with .desktop files is deprecated. Please run
"desktoptojson -i
/home/yuvi/Downloads/fancontrol-gui-master/kcm/package/metadata.desktop" to
convert the file to json and remove the desktop file
Call Stack (most recent call first):
kcm/CMakeLists.txt:17 (kpackage_install_package)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:37 (message):
kcoreaddons_desktop_to_json is deprecated and will be removed in KF6.
Convert the desktop files to JSON in source using the desktoptojson
executable
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:49 (kcoreaddons_desktop_to_json)
kcm/CMakeLists.txt:17 (kpackage_install_package)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:37 (message):
kcoreaddons_desktop_to_json is deprecated and will be removed in KF6.
Convert the desktop files to JSON in source using the desktoptojson
executable
Call Stack (most recent call first):
kcm/CMakeLists.txt:19 (kcoreaddons_desktop_to_json)
-- Build the plasmoid
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- qmlplugindump failed for org.kde.plasma.core.
-- Could NOT find org.kde.plasma.core-QMLModule (missing: org.kde.plasma.core-QMLModule_FOUND)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:46 (message):
Providing metadata with .desktop files is deprecated. Please run
"desktoptojson -i
/home/yuvi/Downloads/fancontrol-gui-master/plasmoid/package/metadata.desktop"
to convert the file to json and remove the desktop file
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/KF5Plasma/KF5PlasmaMacros.cmake:36 (kpackage_install_package)
plasmoid/CMakeLists.txt:5 (plasma_install_package)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:37 (message):
kcoreaddons_desktop_to_json is deprecated and will be removed in KF6.
Convert the desktop files to JSON in source using the desktoptojson
executable
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:49 (kcoreaddons_desktop_to_json)
/usr/lib/x86_64-linux-gnu/cmake/KF5Plasma/KF5PlasmaMacros.cmake:36 (kpackage_install_package)
plasmoid/CMakeLists.txt:5 (plasma_install_package)
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:111 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
import/CMakeLists.txt:46 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found KF5Auth: /usr/lib/x86_64-linux-gnu/cmake/KF5Auth/KF5AuthConfig.cmake (found version "5.115.0")
-- Found KF5: success (found version "5.115.0") found components: Auth Config
-- The following RUNTIME packages have been found:
QtQuick.Layouts-QMLModule, QML module 'QtQuick.Layouts' is a runtime dependency.
-- The following OPTIONAL packages have been found:
Qt5QmlModels (required version >= 5.15.13)
-- The following REQUIRED packages have been found:
ECM (required version >= 5.38)
Gettext
KF5I18n
KF5DBusAddons
KF5Notifications
KF5Declarative
KF5KCMUtils
Qt5Gui (required version >= 5.15.2)
Qt5Widgets (required version >= 5.15.2)
KF5Plasma
Qt5Core
Qt5Network (required version >= 5.15.13)
Qt5Qml
KF5Auth
Qt5DBus (required version >= 5.15.2)
KF5Config
KF5
Qt5Test
Qt5
-- The following RUNTIME packages have not been found:
QtQuick-QMLModule, QML module 'QtQuick' is a runtime dependency.
QtQuick.Controls-QMLModule, QML module 'QtQuick.Controls' is a runtime dependency.
QtQuick.Dialogs-QMLModule, QML module 'QtQuick.Dialogs' is a runtime dependency.
org.kde.kirigami-QMLModule, QML module 'org.kde.kirigami' is a runtime dependency.
org.kde.kcm-QMLModule, QML module 'org.kde.kcm' is a runtime dependency.
org.kde.plasma.core-QMLModule, QML module 'org.kde.plasma.core' is a runtime dependency.
-- Configuring done (4.4s)
-- Generating done (0.1s)
-- Build files have been written to: /home/yuvi/Downloads/fancontrol-gui-master/build
yuvi@yuvi:~/Downloads/fancontrol-gui-master/build$ cmake --version
cmake version 3.28.3
CMake suite maintained and supported by Kitware (kitware.com/cmake)
The text was updated successfully, but these errors were encountered:
kindly look into the project most of the requirement are depreciated kindly update the code cause i am getting warning in cmake
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_KCM=on -DBUILD_PLASMOID=on
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Looking for GLIBC
-- Looking for GLIBC - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:111 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
CMakeLists.txt:55 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Gettext: /usr/bin/msgmerge (found version "0.21")
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.115.0")
-- Found KF5: success (found version "5.115.0") found components: I18n
-- qmlplugindump failed for QtQuick.
-- Could NOT find QtQuick-QMLModule (missing: QtQuick-QMLModule_FOUND)
-- qmlplugindump failed for QtQuick.Controls.
-- Could NOT find QtQuick.Controls-QMLModule (missing: QtQuick.Controls-QMLModule_FOUND)
-- Found QtQuick.Layouts-QMLModule: TRUE (found version "")
-- qmlplugindump failed for QtQuick.Dialogs.
-- Could NOT find QtQuick.Dialogs-QMLModule (missing: QtQuick.Dialogs-QMLModule_FOUND)
-- qmlplugindump failed for org.kde.kirigami.
-- Could NOT find org.kde.kirigami-QMLModule (missing: org.kde.kirigami-QMLModule_FOUND)
-- Compiling for Systemd
-- Build the standalone application
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:111 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
fancontrol-gui/CMakeLists.txt:15 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.115.0")
-- Found KF5DBusAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5DBusAddons/KF5DBusAddonsConfig.cmake (found version "5.115.0")
-- Found KF5Package: /usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageConfig.cmake (found version "5.115.0")
-- Found KF5Declarative: /usr/lib/x86_64-linux-gnu/cmake/KF5Declarative/KF5DeclarativeConfig.cmake (found version "5.115.0")
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.115.0")
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.115.0")
-- Found KF5: success (found version "5.115.0") found components: CoreAddons DBusAddons Package Declarative Config Notifications
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:46 (message):
Providing metadata with .desktop files is deprecated. Please run
"desktoptojson -i
/home/yuvi/Downloads/fancontrol-gui-master/fancontrol-gui/package/metadata.desktop"
to convert the file to json and remove the desktop file
Call Stack (most recent call first):
fancontrol-gui/CMakeLists.txt:27 (kpackage_install_package)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:37 (message):
kcoreaddons_desktop_to_json is deprecated and will be removed in KF6.
Convert the desktop files to JSON in source using the desktoptojson
executable
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:49 (kcoreaddons_desktop_to_json)
fancontrol-gui/CMakeLists.txt:27 (kpackage_install_package)
-- Build the KCM
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:111 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
kcm/CMakeLists.txt:6 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found KF5KCMUtils: /usr/lib/x86_64-linux-gnu/cmake/KF5KCMUtils/KF5KCMUtilsConfig.cmake (found version "5.115.0")
-- Found KF5: success (found version "5.115.0") found components: CoreAddons Package Declarative KCMUtils
-- qmlplugindump failed for org.kde.kcm.
-- Could NOT find org.kde.kcm-QMLModule (missing: org.kde.kcm-QMLModule_FOUND)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:46 (message):
Providing metadata with .desktop files is deprecated. Please run
"desktoptojson -i
/home/yuvi/Downloads/fancontrol-gui-master/kcm/package/metadata.desktop" to
convert the file to json and remove the desktop file
Call Stack (most recent call first):
kcm/CMakeLists.txt:17 (kpackage_install_package)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:37 (message):
kcoreaddons_desktop_to_json is deprecated and will be removed in KF6.
Convert the desktop files to JSON in source using the desktoptojson
executable
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:49 (kcoreaddons_desktop_to_json)
kcm/CMakeLists.txt:17 (kpackage_install_package)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:37 (message):
kcoreaddons_desktop_to_json is deprecated and will be removed in KF6.
Convert the desktop files to JSON in source using the desktoptojson
executable
Call Stack (most recent call first):
kcm/CMakeLists.txt:19 (kcoreaddons_desktop_to_json)
-- Build the plasmoid
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- qmlplugindump failed for org.kde.plasma.core.
-- Could NOT find org.kde.plasma.core-QMLModule (missing: org.kde.plasma.core-QMLModule_FOUND)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:46 (message):
Providing metadata with .desktop files is deprecated. Please run
"desktoptojson -i
/home/yuvi/Downloads/fancontrol-gui-master/plasmoid/package/metadata.desktop"
to convert the file to json and remove the desktop file
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/KF5Plasma/KF5PlasmaMacros.cmake:36 (kpackage_install_package)
plasmoid/CMakeLists.txt:5 (plasma_install_package)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:37 (message):
kcoreaddons_desktop_to_json is deprecated and will be removed in KF6.
Convert the desktop files to JSON in source using the desktoptojson
executable
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:49 (kcoreaddons_desktop_to_json)
/usr/lib/x86_64-linux-gnu/cmake/KF5Plasma/KF5PlasmaMacros.cmake:36 (kpackage_install_package)
plasmoid/CMakeLists.txt:5 (plasma_install_package)
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:111 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
import/CMakeLists.txt:46 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found KF5Auth: /usr/lib/x86_64-linux-gnu/cmake/KF5Auth/KF5AuthConfig.cmake (found version "5.115.0")
-- Found KF5: success (found version "5.115.0") found components: Auth Config
-- The following RUNTIME packages have been found:
-- The following OPTIONAL packages have been found:
-- The following REQUIRED packages have been found:
-- The following RUNTIME packages have not been found:
-- Configuring done (4.4s)
-- Generating done (0.1s)
-- Build files have been written to: /home/yuvi/Downloads/fancontrol-gui-master/build
yuvi@yuvi:~/Downloads/fancontrol-gui-master/build$ cmake --version
cmake version 3.28.3
CMake suite maintained and supported by Kitware (kitware.com/cmake)
The text was updated successfully, but these errors were encountered: