I am using Qt6 on my Ubuntu 22 machine , I passed in the Qt Folder to the CMAKE_PREFIX_PATH, but it still searches the default directory
full log & error
cmake -DCMAKE_PREFIX_PATH=$HOME/Qt6/6.6.2/gcc_64 ..
cmake -DCMAKE_PREFIX_PATH=$HOME/Qt6/6.6.2/gcc_64 ..
-- Could NOT find libdw (missing: LIBDW_LIBRARY LIBDW_INCLUDE_DIR)
-- Could NOT find libbfd (missing: LIBBFD_LIBRARY LIBBFD_INCLUDE_DIR)
-- Could NOT find libdwarf (missing: LIBDWARF_LIBRARY LIBDWARF_INCLUDE_DIR LIBELF_LIBRARY LIBELF_INCLUDE_DIR)
-- Building GammaRay 2.11.3 in Release mode
-- Not building GammaRay Widget 3D
-- Checking whether private include directories for module Core exist
CMake Error at CMakeLists.txt:291 (message):
The private include directory
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.3 for module Core do not
exist! Please make sure your Qt5 installation contains private headers.
The required directories:
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.3;/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.3/QtCore
Call Stack (most recent call first):
CMakeLists.txt:466 (check_private_headers_exist)
-- Configuring incomplete, errors occurred!
I am using Qt6 on my Ubuntu 22 machine , I passed in the Qt Folder to the CMAKE_PREFIX_PATH, but it still searches the default directory
full log & error
cmake -DCMAKE_PREFIX_PATH=$HOME/Qt6/6.6.2/gcc_64 ..