<div dir="ltr">Hi,<div><br></div><div>I am getting error in QtCore saying spreadsheetview.h </div><div><br></div><div>Here is the error:</div><div><br></div><div>
<p style="margin:0px"><span style="color:rgb(0,0,170)">16:07:01: Running steps for project LabPlot2...</span></p>
<p style="margin:0px"><span style="color:rgb(0,0,170)">16:07:01: Starting: "/usr/bin/make" </span></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">[  1%] Automoc for target labplot2</span></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">[  1%] Built target labplot2_automoc</span></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">[  2%] Building CXX object src/CMakeFiles/labplot2.dir/kdefrontend/GuiObserver.cpp.o</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">In file included from /home/garvitdelhi/Qt5.3.0/5.3/gcc_64/include/QtCore/QModelIndex:1:0,</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">                 from /home/garvitdelhi/dev/sok/labplot_port/src/kdefrontend/GuiObserver.h:32,</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">                 from /home/garvitdelhi/dev/sok/labplot_port/src/kdefrontend/GuiObserver.cpp:30:</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">/home/garvitdelhi/Qt5.3.0/5.3/gcc_64/include/QtCore/qabstractitemmodel.h:29:29: fatal error: SpreadsheetView.h: No such file or directory</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)"> #include "SpreadsheetView.h"</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">                             ^</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">compilation terminated.</span></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">src/CMakeFiles/labplot2.dir/build.make:239: recipe for target 'src/CMakeFiles/labplot2.dir/kdefrontend/GuiObserver.cpp.o' failed</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">make[2]: *** [src/CMakeFiles/labplot2.dir/kdefrontend/GuiObserver.cpp.o] Error 1</span></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">CMakeFiles/Makefile2:96: recipe for target 'src/CMakeFiles/labplot2.dir/all' failed</span></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">Makefile:123: recipe for target 'all' failed</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">make[1]: *** [src/CMakeFiles/labplot2.dir/all] Error 2</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">make: *** [all] Error 2</span></p>
<p style="margin:0px"><span style="font-weight:600;color:rgb(170,0,0)">16:07:01: The process "/usr/bin/make" exited with code 2.</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">Error while building/deploying project LabPlot2 (kit: Desktop Qt 5.3.0 GCC 64bit)</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">When executing step 'Make'</span></p>
<p style="margin:0px"><span style="color:rgb(0,0,170)">16:07:01: Elapsed time: 00:00.</span></p></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="font-size:12.8000001907349px">Cheers</span>,<br>Garvit Khatri</div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Sat, Feb 21, 2015 at 3:36 PM, Garvit Khatri <span dir="ltr"><<a href="mailto:garvitdelhi@gmail.com" target="_blank">garvitdelhi@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 class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><p dir="ltr">> You get a lot of linker errors because many symbols are multiple defined. Try<br>
> to remove all moc-files in /backend/core/datatypes/ and compile again.</p></span><p dir="ltr">This didn't help me much, I am still getting those errors. If you have setup the Qt5 env can you please compile and test it, I will push backend changes as well.</p></div></blockquote></span><div>I just solved this thanks. </div></div></div></div>
</blockquote></div><br></div>