add resources command not work
-
wrote on 27 Oct 2024, 14:12 last edited by
Hello colleagues!
I try to compile project on Ubuntu linux 18, I have installed everywhere for Qt, but if I launch cmake then I have got error
-- Using Qt () list of plugins suffix;cfapi;xattr discovery suffix <project_dir>/src/libsync/vfs/suffix <project_dir>src/libsync/vfs/suffix suffix -- Added vfsPlugin without tests: suffix discovery cfapi <project_dir>/src/libsync/vfs/cfapi <project_dir>/src/libsync/vfs/cfapi cfapi -- Added vfsPlugin without tests: cfapi discovery xattr <project_dir>/src/libsync/vfs/xattr <project_dir>/src/libsync/vfs/xattr xattr -- Added vfsPlugin without tests: xattr CMake Error at src/gui/CMakeLists.txt:60 (qt_add_resources): Unknown CMake command "qt_add_resources".
CMakeLists.txt on 60 line is
if (NOT DEFINED PACKAGE) set(PACKAGE "${LINUX_PACKAGE_SHORTNAME}-client") endif() set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules ) include(ECMCoverageOption) if(NOT CRASHREPORTER_EXECUTABLE) set(CRASHREPORTER_EXECUTABLE "${APPLICATION_EXECUTABLE}_crash_reporter") endif()
Which way I have to fix this error?
-
Hello colleagues!
I try to compile project on Ubuntu linux 18, I have installed everywhere for Qt, but if I launch cmake then I have got error
-- Using Qt () list of plugins suffix;cfapi;xattr discovery suffix <project_dir>/src/libsync/vfs/suffix <project_dir>src/libsync/vfs/suffix suffix -- Added vfsPlugin without tests: suffix discovery cfapi <project_dir>/src/libsync/vfs/cfapi <project_dir>/src/libsync/vfs/cfapi cfapi -- Added vfsPlugin without tests: cfapi discovery xattr <project_dir>/src/libsync/vfs/xattr <project_dir>/src/libsync/vfs/xattr xattr -- Added vfsPlugin without tests: xattr CMake Error at src/gui/CMakeLists.txt:60 (qt_add_resources): Unknown CMake command "qt_add_resources".
CMakeLists.txt on 60 line is
if (NOT DEFINED PACKAGE) set(PACKAGE "${LINUX_PACKAGE_SHORTNAME}-client") endif() set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules ) include(ECMCoverageOption) if(NOT CRASHREPORTER_EXECUTABLE) set(CRASHREPORTER_EXECUTABLE "${APPLICATION_EXECUTABLE}_crash_reporter") endif()
Which way I have to fix this error?
wrote on 27 Oct 2024, 14:31 last edited by -
wrote on 27 Oct 2024, 16:21 last edited by
Using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu, Unsuccessfully attemption for update.
-
Lifetime Qt Championwrote on 27 Oct 2024, 17:28 last edited by Christian Ehrlicher
This cmake macro is not available for such an ancient Qt version.
1/4