<br><br>On Thursday, 25 April 2013 17:45:28 UTC+12, PCMan  wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hello,
<br>To help people porting their Gtk+ programs to Qt, I just started a
<br>wikipage documenting what I've learned so far.
<br><a href="http://wiki.lxde.org/en/Port_GTK%2B_Programs_to_Qt" target="_blank">http://wiki.lxde.org/en/Port_<wbr>GTK%2B_Programs_to_Qt</a>
<br>
<br></blockquote><div> </div><div>Great article!</div><div><br></div><div>May I add some notes?</div><div><br></div><div>To use signal/slots it is not necessary to include an automatically generated moc file, it only has to be compiled into the app.</div><div>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.</div><div><br></div><div>Also useful CMake macros are:</div><div>qt4_add_resources to add embedded resources to your app,</div><div>qt4_wrap_ui to add a widget form,<br></div><div>qt4_create_translation for translation,<br></div><div>qt4_add_dbus_adaptor & qt4_add_dbus_interface to generate D-Bus-related code.</div><div><br></div><div><br></div><div>P.S. There is a layout problem in the table with "Disconnect signals" row - the cell content happened to be in the next row.</div>