Getting Includes Right

Allen Winter winter at kde.org
Sat Apr 30 16:16:09 BST 2016


Howdy,

Frederik sent me bug https://bugs.kde.org/show_bug.cgi?id=362363 for Krazy about
how to include Qt headers in KDE code, as described at https://community.kde.org/Policies/Library_Code_Policy#Getting_.23includes_right

I believe with K5 we decided that #include <QFoo> is correct and we should
not be using #include <QtModule/QFoo> any longer.

If so, I can edit the wiki accordingly.  I just wanted to double-check the policy.

-Allen




More information about the kde-core-devel mailing list