ruben2020 / codequery

A code-understanding, code-browsing or code-search tool. This is a tool to index, then query or search C, C++, Java, Python, Ruby, Go and Javascript source code. It builds upon the databases of cscope and ctags, and provides a nice GUI tool.
https://ruben2020.github.io/codequery/
Mozilla Public License 2.0
685 stars 86 forks source link

Cant compile on Linux: Could NOT find QScintilla (missing: QSCINTILLA_LIBRARY) #59

Closed thegala closed 7 years ago

thegala commented 7 years ago

I am using latest upgraded Arch Linux. When trying to compile latest code from git I get this error message

CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find QScintilla (missing: QSCINTILLA_LIBRARY)
Call Stack (most recent call first):
  /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmakefind/FindQScintilla.cmake:104 (find_package_handle_standard_args)
  gui/CMakeLists.txt:152 (FIND_PACKAGE)

Qscintilla is installed.

ruben2020 commented 7 years ago

Hi @thegala There are two versions of qscintilla for Arch, one is based on Qt4 and the other based on Qt5. Please install both using:

sudo pacman -S qscintilla-qt4 qscintilla-qt5

I use the latest Arch Linux on my home laptop and I have no problems.

thegala commented 7 years ago

I think that I have both of them installed I fact I am pretty sure. Currently I have no access to computer so I can't check it . I will give it try once I am back.

ruben2020 commented 7 years ago

Sorry for the delay. I could reproduce the problem and I've fixed it, in the develop branch. @thegala If you can, please try and let me know if it works for you. Thanks.

ruben2020 commented 7 years ago

Now with CodeQuery v0.19.0, there is no more dependency on QScintilla.