There was nothing "KDE" more in it
Also was missing Q_OBJECT macro and the include of QTest
Details
Details
Diff Detail
Diff Detail
- Repository
- R32 KDevelop
- Branch
- renameKDEQTestToGuiLess
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
Not sure if such a separate template makes sense, which differs from cpp_qtestlib only by s/QTEST_MAIN/QTEST_GUILESS_MAIN/.
Though for convenience it might make sense, also for promoting the option perhaps.
Just discovered there is also a QTEST_APPLESS_MAIN...
Perhaps there could be just cpp_qtestlib and a comment in the line above QTEST_MAIN:
// other options: QTEST_GUILESS_MAIN, QTEST_APPLESS_MAIN QTEST_MAIN({{ name }});
Comment Actions
Actually, yep, I like that better.
QTEST_MAIN() is probably the most common, so that should be the default.
Comment Actions
So discarding this one as discussed on irc, and simply only removing cpp_qtestlib_kde and adding that comment to cpp_qtestlib.