qt-easy-build icon indicating copy to clipboard operation
qt-easy-build copied to clipboard

Improve Linux script to recommend which missing Qt dependencies should be installed

Open idhamari opened this issue 7 years ago • 1 comments

I have few issues when I tried the script in Ubuntu 16.0:

  • The script needs curl and git to be installed
  • The script didn't work at all.
  • Error: Basic XLib functionality test failed! You might need to modify the include and library search path

I solved them by adding these lines to the script:

# download build install cmake and required librarires 
sudo apt -y  install curl subversion git git-svn libxext-dev
curl  -# -OL https://cmake.org/files/v2.8/cmake-2.8.12.1.tar.gz 
tar -xvzf cmake-2.8.12.1.tar.gz
./cmake-2.8.12.1/configure && make && make install

idhamari avatar Mar 27 '18 09:03 idhamari

Which version of Qt did you try to build ?

The script needs curl and git to be installed

When building project from source, this are usually reasonable requirements. The script was updated to fail early if any of the tool are not available.

Error: Basic XLib functionality test failed! You might need to modify the include and library search path apt -y install curl subversion git git-svn libxext-dev

Since the script is generic and can work on either Centos or Debian based distribution, your solution could be generalized.

The idea would be to list the packages required for the platform you know about, detect the platform, and suggest the user to install the package that are missing ...

jcfr avatar Mar 30 '18 12:03 jcfr