My variant of in-tree/installable cmake files. Because we have a pull
request <https://github.com/lxde/libqtxdg/pull/5> on change the cmake
files, I make all changes in the separate repository. This is tested only
on Qt4. At this moment only
libqtxdg<https://github.com/SokoloffA/libqtxdg/commit/2f3de53895296f1abf526b2a12385343bfb16c3d>,
liblxqt<https://github.com/SokoloffA/liblxqt/commit/f324ccfbf32927f18e401307e03475e499c60053>andlxqt-about<https://github.com/SokoloffA/lxqt-about/commit/6905df94288b7ffeb2ab5da84bf5fc24c54cfe65>works.
In root repository we should to add trivial
cmake<https://github.com/SokoloffA/lxde-qt/commit/fa82b7b48f251c7922c4eb40553283d345647e36>file,
like:
project(lxde-qt)
cmake_minimum_required(VERSION 2.6)
set(INTREE_ROOT_DIR "${CMAKE_BINARY_DIR}/intree/")
set(CMAKE_PREFIX_PATH "${INTREE_ROOT_DIR}/cmake/")
add_subdirectory(libqtxdg)
add_subdirectory(liblxqt)
add_subdirectory(lxqt-about)
The
problem<http://sourceforge.net/mailarchive/forum.php?thread_name=CABCNE7aQEtFnT8ZMXDZE%2BzUsReOh3Qxfv20biHH5eXPnZ2V%2BRQ%40mail.gmail.com&forum_name=lxde-list>with
separate libs for Qt4 and Qt5 don't decided yet. But if my solution is
well, I will use it as a basis for future improvement of the cmake
infrastructure.
2013/10/22 Александр Соколов <sokolof...@gmail.com>
> Anybody can explain for me. If we install public headers to
> /usr/include/qtxdg/, what should the variable QTXDG_INCLUDE_DIR contain?
>
> Variant 1.
> The QTXDG_INCLUDE_DIR is equal "/usr/include". In this case in the code
> we use "#include <qtxdg/XdgDirs>". The X11 behave so.
>
> Variant 2.
> The QTXDG_INCLUDE_DIR is equal "/usr/include/qtxdg". In this case in
> the code we use "#include <XdgDirs>". The Qt4 behave so.
>
> What is right?
>
> --
> Best regards,
> Alexander.
>
--
Best regards,
Alexander.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list