<div dir="ltr"><div>try running this and pastebin the output -<br><br></div>VERBOSE=1 make<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 9:57 PM, Devanshu Jain <span dir="ltr"><<a href="mailto:devanshu.jain919@gmail.com" target="_blank">devanshu.jain919@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I started from scratch but make command is again giving the same error.<br></div><div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 9:45 PM, Shantanu Tushar Jha <span dir="ltr"><<a href="mailto:shantanu@kde.org" target="_blank">shantanu@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Something tells me its still using Qt5 (and thats why it regards 4.8.6 as "old"), can you try removing your build dir and start from scratch?<br>
</div><br>About Qt, do *not* use the one downloaded from the website, the one that you install using apt-get/synaptic is the way to go.<br>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 9:27 PM, Devanshu Jain <span dir="ltr"><<a href="mailto:devanshu.jain919@gmail.com" target="_blank">devanshu.jain919@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi Shantanu,<br></div>Sorry for misreading.<br></div>But I downloaded Qt using synaptic. And I guess it is still causing troubles.<br>
</div>When doing <b>make install</b>, another error is produced (<a href="http://paste.kde.org/prtoragcp" target="_blank">http://paste.kde.org/prtoragcp</a>).<br>
</div>It says:<br>This file was generated using the moc from 4.8.6. It cannot be used with the include files from this version of Qt. (The moc has changed too much.)<br></div>So I guess I will download it again from the official site.<br>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 9:15 PM, Shantanu Tushar Jha <span dir="ltr"><<a href="mailto:shaan7in@gmail.com" target="_blank">shaan7in@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Cool, though I had asked "how" have you installed Qt ;) Because I've never encountered this error.<br>
<br></div>Anyway, you can even add the fPIC flag like this -<br><br>cmake .. -DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 -DKDE4_BUILD_TESTS=OFF<br>
<br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 8:33 PM, Devanshu Jain <span dir="ltr"><<a href="mailto:devanshu.jain919@gmail.com" target="_blank">devanshu.jain919@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Shantanu,<br></div>I am using Ubuntu 14.04 and yes I have Qt installed.<br></div><div>
<div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 8:26 PM, Shantanu Tushar Jha <span dir="ltr"><<a href="mailto:shantanu@kde.org" target="_blank">shantanu@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Devanshu,<br><br>What distro are you using? Also, how have you installed Qt?<br></div><div class="gmail_extra">
<div><div><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 4:48 PM, Devanshu Jain <span dir="ltr"><<a href="mailto:devanshu.jain919@gmail.com" target="_blank">devanshu.jain919@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Harish,<br>Thanks for pastebin suggestion. I would keep it in mind next time.<br></div>As for the typos: No I didn't make any typos. I double checked everything.<br>
<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div>On Thu, Jul 10, 2014 at 4:37 PM, R.Harish Navnit <span dir="ltr"><<a href="mailto:harishnavnit@gmail.com" target="_blank">harishnavnit@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr"><div>On Thu, Jul 10, 2014 at 12:35 PM, Devanshu Jain <span dir="ltr"><<a href="mailto:devanshu.jain919@gmail.com" target="_blank">devanshu.jain919@gmail.com</a>></span> wrote:<br></div><div class="gmail_extra">
<div class="gmail_quote"><div>
<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">Please find the enclosed cmake output log file<br></div></blockquote><div><br></div>
</div><div>
Hi Devanshu, <br><br></div><div>I would suggest using <a href="http://paste.kde.org" target="_blank">pastebin</a> instead of attaching the output logs in your mails. I think that's a lot easier and attachments in mails sent to ML's is not a good practice either. <br>
</div><div><br>I don't think there's any hard and fast rule as such, but usually clones of projects that you wish to build and run are placed in the home dir, no ? (you may ignore this) and I hope you didn't make a typo while running the command that Sinny mentioned. <br>
<br></div><div>Regards.<span><font color="#888888"><br><div>R.Harish Navnit<br></div><a href="http://harishnavnit.wordpress.com" target="_blank">The Enigma</a><br></font></span></div></div></div></div>
<br></div></div><div>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org" target="_blank">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org" target="_blank">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div><span><font color="#888888">-- <br>Shantanu Tushar (UTC +0530)<br><a href="http://www.shantanutushar.com" target="_blank">http://www.shantanutushar.com</a>
</font></span></div>
<br>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org" target="_blank">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org" target="_blank">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Shantanu Tushar (UTC +0530)<br><a href="http://www.shantanutushar.com" target="_blank">http://www.shantanutushar.com</a>
</div>
</div></div><br>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org" target="_blank">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org" target="_blank">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Shantanu Tushar (UTC +0530)<br><a href="http://www.shantanutushar.com" target="_blank">http://www.shantanutushar.com</a>
</div>
</div></div><br>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org" target="_blank">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Shantanu Tushar (UTC +0530)<br><a href="http://www.shantanutushar.com" target="_blank">http://www.shantanutushar.com</a>
</div>