Seg3D icon indicating copy to clipboard operation
Seg3D copied to clipboard

Linux CMake defaults for QT binaries not overwritten by Qt5_PATH

Open gduffley opened this issue 7 years ago • 2 comments

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.

gduffley avatar Aug 28 '17 19:08 gduffley

Work around is to delete the cache and reassign Qt5_PATH.

allywarner avatar Jul 06 '20 17:07 allywarner

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.

alinafdima avatar Oct 21 '20 08:10 alinafdima