QtCore installation for ubuntu
<p>I have been trying to install torch but i'm getting the following error when I run ./install.sh</p>

<pre><code>CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:664 (message):
  Could NOT find QtCore.  Check
  /home/name/torch/exe/qtlua/build/CMakeFiles/CMakeError.log for more
  details.
Call Stack (most recent call first):
  CMakeLists.txt:38 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/name/torch/exe/qtlua/build/CMakeFiles/CMakeOutput.log".

Error: Build error: Failed building.

Missing dependencies for qttorch:
qtlua &gt;= 1.0
</code></pre>

<p>I have already tried installing QtCore using </p>

<pre><code>sudo apt-get install libqt4-core
</code></pre>

<p>but still, I'm getting an error:</p>

<pre><code>Could NOT find QtCore
</code></pre>

<p>as shown above. Why is this and how can I fix this?</p>

<p>Steps I followed for installation:
<a href="http://torch.ch/docs/getting-started.html#_" rel="nofollow">http://torch.ch/docs/getting-started.html#_</a></p>

<p>EDIT (SOLVED):
I had to install qt4-dev-tools also using </p>

<pre><code>apt-get install qt4-dev-tools
</code></pre>