Seg3D
Seg3D copied to clipboard
Linux CMake defaults for QT binaries not overwritten by Qt5_PATH
The default values for the Qt specific binaries (Qt5Core_DIR, Qt5Gui_DIR, etc.) are not overwritten by the Qt5_PATH variable. If you manually delete the values, it will use Qt5_PATH to properly locate them.
Work around is to delete the cache and reassign Qt5_PATH.
Alternatively, one can replace the line:
SET(Qt5_PATH "" CACHE PATH "Path to directory where Qt 5 is installed. Directory should contain lib and bin subdirectories.")
by
SET(Qt5_PATH "<QT_PATH>")
in the file Superbuild/Superbuild.cmake to force set the Qt5_PATH variable. Here <QT_PATH> is the path to the QT5 installation.