Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I followed the steps in this article http://linfiniti.com/2011/06/using-qtcreator-with-qgis/ to compile QGis on Ubuntu 12.04 64bit with Qt Creator.

I got the latest source for master with git.

I get the following error:

make[2]: No rule to make target '/usr/lib/libQtXml.so', needed by 'output/lib/libqgis_core.so.1.9.90'.  Stop. <br>
make[1]:  [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make:  [all] Error 2 <br>
11:30:10: The process "/usr/bin/make" exited with code 2.
Error while building project qgis1.9.90 (target: Desktop)
When executing build step 'Make'

Looks like it cant find the libQtXml.so file On my machine its residing under

<br> 
/usr/lib/x86_64-linux-gnu/libQtXml.so.4.8.1 and <br>
/usr/lib/i386-linux-gnu/libQtXml.so.4.8

How do i tell cmake where to look in one of these directories?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Deleting the CMakeCache.txt file solved the problem.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.