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.
-- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users