Hello Charles,

I had a dependency to libqxt added to KBibTeX to get a certain
widget for the settings dialog. Unfortunately, many Linux
distributions do not yet have stable libqxt packages available and,
as you noticed, KBibTeX's own code to correctly detect installed
libqxt files does not work as expected (you are not the only one who
reported this problem).
I "fixed" this problem by copying exactly those files I needed from
libqxt into KBibTeX's source code. There should no longer be an
external dependency to libqxt, i.e. KBibTeX should compile again
even if you have no package for libqxt installed. Please test this
and report back if it is still not working.

Bye,
Thomas


On 02/01/2013 11:12 AM, Charles de Miramon wrote:
> Hello,
> 
> I'm trying to compile the trunk version of kbibtex but there seems to
> be a problem with the cmake files for the variables
> QXTCORE_INCLUDE_DIRS and QXTGUI_INCLUDE_DIRS
> 
> I guess it should be set to /usr/include/Qxt but I don't know how to do it.
> 
> Thanks,
> Charles
> 
> charles@lancerouge:/usr/local/src/kbibtex/build$
> sudo cmake ../ -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_BUILD=release && make
> -- Found Qt-Version 4.8.2 (using /usr/bin/qmake)
> -- Found KDE 4.9 include dir: /usr/include
> -- Found KDE 4.9 library dir: /usr/lib
> -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
> -- Found automoc4: /usr/bin/automoc4
> -- Found poppler-qt4: library:
> /usr/lib/x86_64-linux-gnu/libpoppler-qt4.so, include path:
> /usr/include/poppler/qt4
> -- Found Qxt library dir: /usr/lib/libQxtGui.so
> -- Found Qxt include dirs:
> QXTCORE_INCLUDE_DIRS-NOTFOUNDQXTGUI_INCLUDE_DIRS-NOTFOUND
> -- Found QtWebKit, enabling WebKit support
> CMake Error: The following variables are used in this project, but
> they are set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the
> CMake files:
> QXTCORE_INCLUDE_DIRS
>    used as include directory in directory /usr/local/src/kbibtex/src/gui
> QXTGUI_INCLUDE_DIRS
>    used as include directory in directory /usr/local/src/kbibtex/src/gui
> 
> -- Configuring incomplete, errors occurred!
> 
> _______________________________________________
> kbibtex-user mailing list
> [email protected]
> https://mail.gna.org/listinfo/kbibtex-user

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
kbibtex-user mailing list
[email protected]
https://mail.gna.org/listinfo/kbibtex-user

Reply via email to