Solved Unknown CMake command "qt5_wrap_ui".

Hi
I'm trying to compile this application https://github.com/mmozeiko/RcloneBrowser/
I've cloned the git, create the build dir
I've installed qt5
but when I tried to run cmake , I've got this error

Code:
CMake Error at CMakeLists.txt:70 (qt5_wrap_ui):
  Unknown CMake command "qt5_wrap_ui".


All the ouput
Code:
$ cmake ..
-- The C compiler identification is Clang 6.0.1
-- The CXX compiler identification is Clang 6.0.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:68 (add_definitions):
  Policy CMP0005 is not set: Preprocessor definition values are now escaped
  automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at CMakeLists.txt:70 (qt5_wrap_ui):
  Unknown CMake command "qt5_wrap_ui".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.13)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also "/home/ragnarok/rclone-dropbox/RcloneBrowser/src/build/CMakeFiles/CMakeOutput.log".


Any ideas ?
thanks ;)
 
Code:
root@asgard-freeBSD:~ # pkg install rclone-browser
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'rclone-browser' have been found in the repositories

OK but freeBSD 12 don't find it ...
 
It was added to the ports tree two days ago. You probably need to switch to the latest package repository, the quarterly branch probably doesn't have it yet.
 
OK I saw that too...
And how I switch to the latest package repository ?
Code:
 freebsd-version
12.0-RELEASE-p5
thanks ;)
 
Create /usr/local/etc/pkg/repos/FreeBSD.conf:
Code:
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"
}
 
Don't work , pkg don't find the package even after an update of the repository

Code:
root@asgard-freeBSD:/usr/local/etc # cat /usr/local/etc/pkg/repos/FreeBSD.conf

FreeBSD: {

  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"

}


root@asgard-freeBSD:/usr/local/etc # pkg update -f

Updating FreeBSD repository catalogue...

Fetching meta.txz: 100%    944 B   0.9kB/s    00:01   

Fetching packagesite.txz: 100%    6 MiB 324.5kB/s    00:20   

Processing entries: 100%

FreeBSD repository update completed. 31630 packages processed.

All repositories are up to date.

root@asgard-freeBSD:/usr/local/etc # pkg search rclone

bomberclone-0.11.9_3           Reimplementation of Atomic Bomber Man

rclone-1.47.0                  Sync files to and from various cloud services
 
I 've updated the Ports Collection and the package is available from the ports. Well. thanx a lot
 
As the above is the first time a package was built for it and judging by the recent timestamp it's possible the package mirrors haven't all been caught up yet.
 
Back
Top