News for hackers. Stuff that matters.
Re:Verdigris: Qt Without Moc by inetknght on Tuesday December 31, 2019 @03:36AM (#21919731)
> I'd be interested in knowing in which way it is no longer c++, considering Q_OBjECT, signals, slots, ... are just plain cpp macros (see qobjectdefs.h).

It's been a while since I've used Qt but if I recall correctly MOC also parsed and read the user interface files to generate the headers which get included in the C++ source.

Re:Verdigris: Qt Without Moc by simion314 on Tuesday December 31, 2019 @06:21AM (#21920290)
You are not forced to use the designer tool, you can build the GUI with C++ directly if you need that for some reason.
Re:Verdigris: Qt Without Moc by slavik81 on Wednesday January 01, 2020 @04:09PM (#21930653)
There's also a stand-alone designer you can use on individual ui files. In general, there's no need to have the whole project in Qt Creator just to edit a ui file.

You can also edit the ui files in a normal text editor. They're just XML files that specify the widget hierarchy to construct. If you have a few example files to work from, they're pretty straight-forward to understand and modify. Validating your changes using designer is definitely faster than recompiling your program, but it's an option.

Re:Verdigris: Qt Without Moc by blattimwind on Tuesday December 31, 2019 @08:38AM (#21920897)
No, that's what uic does.