arcan1s / netctl-gui

Qt4/Qt5 GUI and Plasmoid which interact with netctl
http://arcanis.name/projects/netctl-gui/
GNU General Public License v3.0
20 stars 2 forks source link

Install on ubuntu 14.04 with errors #13

Closed sysads closed 9 years ago

sysads commented 10 years ago

Hi

i have tried installing app on Ubuntu 14.04 but getting following errors:

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:26 (find_package): Could not find a package configuration file provided by "Qt5LinguistTools" with any of the following names:

Qt5LinguistToolsConfig.cmake
qt5linguisttools-config.cmake

Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or set "Qt5LinguistTools_DIR" to a directory containing one of the above files. If "Qt5LinguistTools" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): helper/src/CMakeLists.txt:20 (find_package)

I have installed qt5 as follows

wget http://download.qt-project.org/official_releases/qt/5.3/5.3.0/qt-opensource-linux-x64-5.3.0.run

chmod +x qt-opensource-linux-x64-5.3.0.run

./qt-opensource-linux-x64-5.3.0.run

arcan1s commented 10 years ago

If you have installed qt5-tools (there is an option in the installator) then I can suggest you to find lib/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake file. If I had installed Qt5 by this installator as root the full path is /opt/Qt5.3.0/5.3/gcc_64/lib/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake, in other cases you should replace /opt/Qt5.3.0 to Qt5 root path. Then copy this file (or create symlink) to /usr/lib/x86_64-linux-gnu/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake.

But I recommend you to use package manager to install Qt. LinguistTools may be found in this package for example.

Also I want ask you do you really use netctl as network manager? I ask this because netctl is more Arch-specific manager (but of course it can be used in other distribution theoretically).