On 22 May 2014 11:14, Luís Pereira <luis.artur.pere...@gmail.com> wrote:

> On Wed, May 21, 2014 at 3:28 PM, Kuzma Shapran <leaf.on.w...@gmail.com>
> wrote:
> > I'm glad we're moving towards Qt5!
>
> Qt5 is the future. Although Qt4 will be around for many years.
>
> > But is it possible to control properties of dbus interfaces and adaptors?
> > Look at lxqt-globalkeys/config/CMakeLists.txt and
> > lxqt-globalkeys/daemon/CMakeLists.txt to see what I mean.
>
> I didn't try it. But I think that the only thing one have to do in
> there is change qt4_add_dbus_interface() to qtx_add_dbus_interface().
> The set_source_files_properties() stuff remains unchanged.
> I'm not sure if we are talking about the same thing.
>

I see now what you mean. It's just version-based redirection.
What I'm trying to say that as the ext step it would be nice to have
somewhere wrappers for stuff like this:

foreach(DBUS_ADAPTOR ${${PROJECT_NAME}_DBUS_ADAPTORS})
get_filename_component(DBUS_ADAPTOR_FILENAME ${DBUS_ADAPTOR} NAME)
configure_file(
 ${DBUS_ADAPTOR}
${CMAKE_CURRENT_BINARY_DIR}/${DBUS_ADAPTOR_FILENAME}
@ONLY
 )
get_source_file_property(DBUS_ADAPTOR_INCLUDE ${DBUS_ADAPTOR} INCLUDE)
get_source_file_property(DBUS_ADAPTOR_PARENT_CLASSNAME ${DBUS_ADAPTOR}
PARENT_CLASSNAME)
 get_source_file_property(DBUS_ADAPTOR_BASENAME ${DBUS_ADAPTOR} BASENAME)
get_source_file_property(DBUS_ADAPTOR_CLASSNAME ${DBUS_ADAPTOR} CLASSNAME)
 if(DBUS_ADAPTOR_BASENAME)
if(DBUS_ADAPTOR_CLASSNAME)
qtx_add_dbus_adaptor(${PROJECT_NAME}_DBUS_ADAPTOR_FILES
${CMAKE_CURRENT_BINARY_DIR}/${DBUS_ADAPTOR_FILENAME}
${DBUS_ADAPTOR_INCLUDE} ${DBUS_ADAPTOR_PARENT_CLASSNAME}
${DBUS_ADAPTOR_BASENAME} ${DBUS_ADAPTOR_CLASSNAME})
 else()
qtx_add_dbus_adaptor(${PROJECT_NAME}_DBUS_ADAPTOR_FILES
${CMAKE_CURRENT_BINARY_DIR}/${DBUS_ADAPTOR_FILENAME}
${DBUS_ADAPTOR_INCLUDE} ${DBUS_ADAPTOR_PARENT_CLASSNAME}
${DBUS_ADAPTOR_BASENAME})
 endif()
else()
qtx_add_dbus_adaptor(${PROJECT_NAME}_DBUS_ADAPTOR_FILES
${CMAKE_CURRENT_BINARY_DIR}/${DBUS_ADAPTOR_FILENAME}
${DBUS_ADAPTOR_INCLUDE} ${DBUS_ADAPTOR_PARENT_CLASSNAME})
 endif()
endforeach()




>
> --
>         Luís Pereira
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Razor-qt" group.
> For more options, visit this group at
> http://groups.google.com/group/razor-qt?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Razor-qt" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to razor-qt+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to