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 > On Jan 4, 2018, at 8:07 AM, Willem Ferguson <[email protected]> > wrote: > > I have been interacting with Stefan about some code development and have run > into some Qt problems with interpreting HTML. After checking, it turns out > that my build script still uses the system-installed Qt5.5.1 and not Qt5.10 > as expected. I need some advice. I installed QT5.10 in folder src/Qt/5.10.0. > However, when I build, the build script still uses Qt5.5.1 > > QT_SYSROOT: > QT_INSTALL_PREFIX:/usr > QT_INSTALL_ARCHDATA:/usr/lib/x86_64-linux-gnu/qt5 > QT_INSTALL_DATA:/usr/share/qt5 > QT_INSTALL_DOCS:/usr/share/qt5/doc > QT_INSTALL_HEADERS:/usr/include/x86_64-linux-gnu/qt5 > QT_INSTALL_LIBS:/usr/lib/x86_64-linux-gnu > QT_INSTALL_LIBEXECS:/usr/lib/x86_64-linux-gnu/qt5/libexec > QT_INSTALL_BINS:/usr/lib/x86_64-linux-gnu/qt5/bin > QT_INSTALL_TESTS:/usr/tests > QT_INSTALL_PLUGINS:/usr/lib/x86_64-linux-gnu/qt5/plugins > QT_INSTALL_IMPORTS:/usr/lib/x86_64-linux-gnu/qt5/imports > QT_INSTALL_QML:/usr/lib/x86_64-linux-gnu/qt5/qml > QT_INSTALL_TRANSLATIONS:/usr/share/qt5/translations > QT_INSTALL_CONFIGURATION:/etc/xdg > QT_INSTALL_EXAMPLES:/usr/lib/x86_64-linux-gnu/qt5/examples > QT_INSTALL_DEMOS:/usr/lib/x86_64-linux-gnu/qt5/examples > QT_HOST_PREFIX:/usr > QT_HOST_DATA:/usr/lib/x86_64-linux-gnu/qt5 > QT_HOST_BINS:/usr/lib/x86_64-linux-gnu/qt5/bin > QT_HOST_LIBS:/usr/lib/x86_64-linux-gnu > QMAKE_SPEC:linux-g++-64 > QMAKE_XSPEC:linux-g++-64 > QMAKE_VERSION:3.0 > QT_VERSION:5.5.1 > > Version 5.5.1 is the system version installed in the system area of the OS > (Ubuntu 16.04). How do I force the build script to use the correct Qt? > > I see no options in build.sh. > > Kind regards, > > willem > > > > -- > 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. _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
