Compiling and installing QMake plugin

William Frank kibork at gmail.com
Thu Dec 30 17:44:43 GMT 2010


Hi All,
I was trying to install qmake plugin, but found no descriptions how to do it.
I've obtained source from git clone git://anongit.kde.org/kdev-qmake
but got error:

-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Adding /usr/local/share/apps/cmake/modules to CMAKE_MODULE_PATH
-- Found KDE 4.6 include dir: /usr/include
-- Found KDE 4.6 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
CMake Error at CMakeLists.txt:17 (find_package):
  Could not find module FindKDevelop-PG-Qt.cmake or a configuration file for
  package KDevelop-PG-Qt.

  Adjust CMAKE_MODULE_PATH to find FindKDevelop-PG-Qt.cmake or set
  KDevelop-PG-Qt_DIR to the directory containing a CMake configuration file
  for KDevelop-PG-Qt.  The file will have one of the following names:

    KDevelop-PG-QtConfig.cmake
    kdevelop-pg-qt-config.cmake



CMake Error at parser/CMakeLists.txt:14 (kdevpgqt_generate):
  Unknown CMake command "kdevpgqt_generate".


-- Configuring incomplete, errors occurred!

I also found sources of kdevelop-pg-qt but cmake fails on it also:

-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Adding /usr/local/share/apps/cmake/modules to CMAKE_MODULE_PATH
-- Found KDE 4.6 include dir: /usr/include
-- Found KDE 4.6 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
'bison' was not found!
Assuming existence of the generated parser files kdev-pg-parser.[hh,cc]
'flex' was not found!
Assuming existence of the generated lexer file kdev-pg-lexer.cc
--- Assuming existence of the generated lexer file cclexer.cpp
--- Assuming existence of the generated lexer file cool_lexer.cpp
-- Configuring done
CMake Error at examples/cool/CMakeLists.txt:89 (ADD_EXECUTABLE):
  Cannot find source file "cool_lexer.cpp".  Tried extensions .c .C .c++ .cc
  .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx


-- Build files have been written to: /home/kibork/src/kdevelop-pg-qt/build



Can  anyone provide some help?




More information about the KDevelop mailing list