Qt versions and building Subsurface

Willem Ferguson willemferguson at zoology.up.ac.za
Thu Jan 4 09:19:54 PST 2018


On 04/01/2018 18:15, Dirk Hohndel wrote:
> cmake caches the Qt paths.
> So please remove your build directories and invoke scripts/build.sh like this:
>
> (assuming that you are in the src directory)
>
> rm -rf subsurface/build subsurface/build-mobile
> CMAKE_PREFIX_PATH=$(pwd)/Qt/5.10.0/clang_64/lib/cmake ./subsurface/scripts/build.sh
>
> This should get the script to pick up Qt5.10 and set up the paths correctly
>
> /D
>
It looks like it is not successful. below is some rudimentary 
information that may give a pointer towards what the problem may be?

Qt was installed using the installer program downloaded from the Qt website.

Any ideas at all?

Kind regards,

willem

During build:

./subsurface/scripts/build.sh: line 447: 
/home/willem/src/Qt/5.10.0/clang_64/lib/cmake/../../bin/qmake: No such 
file or directory
./subsurface/scripts/build.sh: line 448: 
/home/willem/src/Qt/5.10.0/clang_64/lib/cmake/../../bin/qmake: No such 
file or directory
mv: cannot move 'Makefile' to 'Makefile.bak': Permission denied
./subsurface/scripts/build.sh: line 453: Makefile: Permission denied
cat: Makefile.bak: No such file or directory

-- Turning off BLE support as Qt version 5.5.1 is insufficient for that

Qt directory contents:

willem at FINS:~/src/Qt$ ls -l
total 106316
drwxrwxr-x 6 willem willem     4096 Dec 30 19:57 5.10.0
-rw-rw-rw- 1 willem willem    31205 Dec 30 19:58 components.xml
drwxrwxr-x 2 willem willem     4096 Dec 30 19:57 dist
drwxrwxr-x 3 willem willem     4096 Dec 30 19:57 Docs
drwxrwxr-x 3 willem willem     4096 Dec 30 19:57 Examples
-rw-rw-rw- 1 willem willem  1548228 Dec 30 20:30 InstallationLog.txt
drwxr-xr-x 2 willem willem     4096 Dec 30 19:57 Licenses
-rwxr-xr-x 1 willem willem 32927027 Dec 30 19:58 MaintenanceTool
-rw-r--r-- 1 willem willem 74286859 Dec 30 19:58 MaintenanceTool.dat
-rw-rw-rw- 1 willem willem    16366 Dec 30 19:58 MaintenanceTool.ini
-rw-rw-rw- 1 willem willem      362 Dec 30 19:58 network.xml
-rw-rw-r-- 1 willem willem     7991 Oct 25  2016 QtIcon.png
drwxrwxr-x 3 willem willem     4096 Dec 30 19:57 Tools
-rw-rw-r-- 1 willem willem     7374 Dec 19 13:52 update.rcc

willem at FINS:~/src/Qt$ cd 5.10.0
willem at FINS:~/src/Qt/5.10.0$ ls -l
total 16
drwxrwxr-x 12 willem willem 4096 Dec 30 19:57 android_armv7
drwxrwxr-x 12 willem willem 4096 Dec 30 19:57 android_x86
drwxrwxr-x 13 willem willem 4096 Dec 30 19:57 gcc_64
drwxrwxr-x 44 willem willem 4096 Dec 30 19:57 Src
willem at FINS:~/src/Qt/5.10.0$


-- 
This message and attachments are subject to a disclaimer.
Please refer to 
http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf for full 
details.


More information about the subsurface mailing list