How to create a Qt Creator project (.pro) file equivalent to existing Makefile
<p>There is a project which is build via <code>make</code> command, where the <code>Makefile</code> is provided. Following are the <code>Makefile</code> contents:</p>

<pre><code>TARGETT=gnulinux
OROPATH=/usr/local
CXXFLAGS=-I${OROPATH}/include -DOROCOS_TARGET=${TARGETT} -Wall
LDFLAGS=-L${OROPATH}/lib -Wl,-rpath ${OROPATH}/lib -lorocos-taskbrowser-${TARGETT} -lorocos-rtt-${TARGETT}

all: main

main.o: main.cpp
    $(CXX) -c main.cpp $(CXXFLAGS)

AHRS.o: AHRS.cpp AHRS.h
    $(CXX) -c AHRS.cpp $(CXXFLAGS)

main: main.o AHRS.o 
    $(CXX) -g -o main main.o AHRS.o $(CXXFLAGS) $(LDFLAGS)

clean:
    rm -f main orocos.log .tb_history *.o 
</code></pre>

<p>But I'm used to use <code>QtCreator</code>. I know that <code>QtCreator</code> constructs its own makefile from the project (.pro) file during build process. So, I think, relevant information must be copied from the <code>Makefile</code> contents (above) into a <code>Qt Creator</code> project file to allow <code>QtCreator</code> to generate the compatible makefile. Right?</p>

<p>Given the <code>Makefile</code> above, how should the .pro file look like?</p>

<p>And in the end of this process I'll be able to work from <code>QtCreator</code>.</p>