« Piet - beautiful and interesting graphical language | ragetvgrab command line » |
I've been using Eclipse more and more, and its been coming together nicely. So, I've been researching how to use Eclipse to assist in programming MythTV plugins. I came across this in my most recent search:
http://labs.trolltech.com/blogs/2007/07/11/develop-qt-applications-in-eclipse/
which lead to these details installation instructions:
http://trolltech.com/developer/downloads/qt/qteclipse-installmanual
and this download link:
http://trolltech.com/developer/downloads/qt/eclipse-integration-download
Look interesting, but I note warily that it only works for qt4, and MythTV is using qt3 - ugh, well maybe this will still work.
Download as per instructions, only to notice that I don't have either of the eclipse install dirs mentioned in the instructions. Ahh gentoo, always with the custom dirs - I love Gentoo! In this case, I need to install into /usr/lib/eclipse-3.2
steps followed to fix the install instructions for gentoo:
# cp /home/xxxxxx/qt-eclipse-integration-linux.x86-1.0.0.tar.gz /usr/lib/.
# cd /usr/lib
# tar -xvzf qt-eclipse-integration-linux.x86-1.0.0.tar.gz
# mv eclipse/features/* eclipse-3.2/features/.
# mv eclipse/plugins/* eclipse-3.2/plugins/.
# rm -rf eclipse
There are probably more elegant solutions, but this was quick and easy.
Then I started up Eclipse on the MythTV box and once loaded, I closed the current files, and attempted to make a project, but I was interupted by a pop-up window talking about the new QT intergration, so I decided to follow along on the tutorial ...
First thing is setting up the qmake location - so I decided to enter both the QT3 and QT4 setups, like in these pictures:
This post has 70 feedbacks awaiting moderation...