Compiling and installing QMake plugin
Milian Wolff
mail at milianw.de
Thu Dec 30 17:52:34 GMT 2010
William Frank, 30.12.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
Well, as it says you need bison and flex.
Btw. the qmake plugin is sitll quite rough, any kind of feedback would be
welcome.
Bye
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20101230/42b1612b/attachment.sig>
More information about the KDevelop
mailing list