« Piet - beautiful and interesting graphical languageragetvgrab command line »

Eclipse, QT3 / QT4 and MythTV integration

2007/09/30

  02:11:13 am, by   , 277 words  
Categories: MythTV, QT 3, C++, Eclipse

Eclipse, QT3 / QT4 and MythTV integration

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:

Elipse + QT3 + QT4 integration - Step 1
Elipse + QT3 + QT4 integration - Step 1
Elipse + QT3 + QT4 integration - Step 2
Elipse + QT3 + QT4 integration - Step 2
Elipse + QT3 + QT4 integration - Step 3
Elipse + QT3 + QT4 integration - Step 3

Feedback awaiting moderation

This post has 70 feedbacks awaiting moderation...


Form is loading...

April 2024
Mon Tue Wed Thu Fri Sat Sun
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
 << <   > >>
Programming

Search

  XML Feeds

blog software