2013/11/6 Александр Соколов <sokolof...@gmail.com>:
> I work on it, and I hope I can show some results today.

Nice.

BTW, Yesterday I ported QtAccountsService [1] from qmake to CMake [2].
SDDM needs Qt 4 support to use it, so it's next on my todo list.

I'll see if I can make it to have the same CMake module name and have
targets adjust automatically depending on how USE_QT5 is set.
Off the top of my head (we'll see if I'm right) the
QtAccountsServiceConfig.cmake module might include
Qt5AccountsServiceTargets.cmake if USE_QT5=ON otherwise
Qt4AccountsServiceTargets.cmake.
The former is installed by a Qt 5 build the latter by a Qt 4 build.

An application or a library that uses to QtAccountsService will link
to ${QtAccountsService_LIBRARIES} which will be set by whatever target
file is included.

That's basically what the use file would do but we have only one CMake
module and USE_QT5 drives the whole mechanism.

[1] https://github.com/mauios/qtaccountsservice
[2] 
https://github.com/mauios/qtaccountsservice/commit/547859ea4128782afe3171233ffa2df4979e4138

-- 
Out of the box experience
http://www.maui-project.org/

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to