On Thursday, 25 April 2013 17:45:28 UTC+12, PCMan wrote:
>
> Hello, 
> To help people porting their Gtk+ programs to Qt, I just started a 
> wikipage documenting what I've learned so far. 
> http://wiki.lxde.org/en/Port_GTK%2B_Programs_to_Qt 
>
>  
Great article!

May I add some notes?

To use signal/slots it is not necessary to include an automatically 
generated moc file, it only has to be compiled into the app.
If you use *.pro file to build your app - qmake will do all the magic for 
you. If you use CMake - qt4_wrap_cpp/qt5_wrap_cpp are macros you need.

Also useful CMake macros are:
qt4_add_resources to add embedded resources to your app,
qt4_wrap_ui to add a widget form,
qt4_create_translation for translation,
qt4_add_dbus_adaptor & qt4_add_dbus_interface to generate D-Bus-related 
code.


P.S. There is a layout problem in the table with "Disconnect signals" row - 
the cell content happened to be in the next row.
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to