4 ms·
I think that MOC is the problem only for people that don't do much Qt development at all. MOC integrates into Qt build system so well that it's mostly invisibl
by self_awareness 7y ago
I think that MOC is the problem only for people that don't do much Qt development at all.
MOC integrates into Qt build system so well that it's mostly invisible.
A bigger problem is the deployment step, at least on Linux. How to deploy Qt apps with Qt libraries bundled with the app, so that it uses system's look and feel is something I still don't know how to do.
- weberc2 7y agoWhen I was doing Qt development, getting CMake to build Qt projects properly was absurdly difficult. CMake had added some half-baked first class functions for building Qt (it's insane that a build system has first class knowledge of certain libraries, but insanity is par for the CMake course), but you still had to invoke them yourself and the various docs, blog posts, stackoverflow answers, etc gave different advice about invoking them but rarely did the advice work (and if it did work, it never generalized to non-toy projects). My understanding is that CMake has improved its insane first-class Qt functions such that it's easier. (There's also qmake, but at the time I was using Qt, it only worked if you didn't depend on anything that wasn't also a qmake project, which is just more C++ build system insanity).