<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jan 8, 2017 at 2:12 PM, mayank bansiwal <span dir="ltr"><<a href="mailto:mayankb8330@gmail.com" target="_blank">mayankb8330@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>hello mates.<br></div>i have just started to code with qt creator. I
 want to contribute to kde open source organization which uses qt. Can 
anyone please tell me how to include kde classes in qt ide. I added this
 syntax in my .pro file<pre><span class="gmail-m_-1483759871668280112gmail-m_8489516651396006557gmail-nv">LIBS</span> <span class="gmail-m_-1483759871668280112gmail-m_8489516651396006557gmail-o">+=</span> -lkdeui</pre>but still it is showing error about kde header files i used.</div>
</blockquote></div><br></div><div class="gmail_extra">The reason that doesn't work is because LIBS += doesn't add include paths.</div><div class="gmail_extra">You need an includepath as well:</div><div class="gmail_extra">INCLUDEPATH += /some/path</div><div class="gmail_extra"><br></div><div class="gmail_extra">Having said that.</div><div class="gmail_extra">You have also been told here and on the Qt mailing list that kdeui is not adviced anymore, you should not use it.</div><div class="gmail_extra">You are probably looking for frameworks modules like KCoreAddons, KGuiAddons or KWidgetsAddons [1]. </div><div class="gmail_extra"><br></div><div class="gmail_extra">If you want to use - for instance - KCoreAddons you simply install that package in your distribution and add this line in your qmake file:</div><div class="gmail_extra">QT += KCoreAddons<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">That's also described on [1] for every framework.</div><div class="gmail_extra"><br></div><div class="gmail_extra">And it works :)</div><div class="gmail_extra"><br></div><div class="gmail_extra">[1] <a href="https://api.kde.org/frameworks/index.html">https://api.kde.org/frameworks/index.html</a></div></div>