KDAB / GammaRay

GammaRay is a tool to poke around in a Qt-application and also to manipulate the application to some extent.
https://www.kdab.com/gammaray
Other
1.6k stars 282 forks source link

Please make sure your Qt5 installation contains private headers. #985

Closed seifmostafa73 closed 5 months ago

seifmostafa73 commented 5 months ago

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!
Waqar144 commented 5 months ago

The error is telling you what to do (install qt private packages):

Please make sure your Qt5 installation contains private headers.