[mythtv] MythDialog->AddButton/SLOT Question

Johnny Walker johnnyjboss at gmail.com
Thu Apr 8 17:03:30 UTC 2010


On Fri, Mar 26, 2010 at 4:15 PM, Lennart Sorensen <
lsorense at csclub.uwaterloo.ca> wrote:

> On Fri, Mar 26, 2010 at 05:14:34PM -0400, George Galt wrote:
> > I'll have to give Eclipse a try.  I've been using QtCreator as an
> > editor just because it's reasonable small and fast (except when
> > indexing the code).  I tried Eclipse about 5 or 6 years ago and it
> > seemed to be a memory hog at the time.  Hopefully it's gotten better.
>
> It is still written in Java, so no probably not.
>
> It still also doesn't ever seem to work when you try to use more than
> one framework plugin at a time.
>
> So no nothing new in the Eclipse world unfortunately.
>
> --
>

I got it working but the steps on the dev wiki are a little out of date - I
was going to post what I had to go through to get the project loaded in
Eclipse once I got it to actually build - but I decided against working on
that in favor of actually learning the code base.

In short I used Mythbuntu 9.10 - installed Eclipse from Aptitude, rather
than downloading it.

I then downloaded and installed the QT plugin for eclipse as it's own readme
indicates:

1) Download the QT Integration as indicated on
http://www.mythtv.org/wiki/Developing_in_Eclipse_on_Linux and follow the
included README on how to install it to your package installed Eclipse. The
package installed Eclipse ( I'm repeating for emphasis ) made the
difference.

Resolving dependencies was tricky - turns out some environment variables
should be set. I found instructions somewhere to add a startup file to
/etc/profile.d/qt.sh as follows:

# Typical user specific environment and startup values for QT
# depending on how and where qt was installed on your system
export QTDIR=/usr/lib
export PATH=$QTDIR/bin:$PATH
export MANPATH=$QTDIR/doc/man:$MANPATH

# Location of your own libraries - source and target.
export CPPLIBS=~/Dev/libs

# LD Library path - where to search for shared object libraries
# at runtime.
export LD_LIBRARY_PATH=$CPPLIBS:$QTDIR:$LD_LIBRARY_PATH

Upon re-launch of Eclipse the failed includes began to resolve.

I'm now able to use Eclipse, at least to some acceptable degree, to help me
in getting more up to speed on code.

Hope this helps anyone else wanting to get acquainted with this open source
project.

-Johnny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20100408/ec53720e/attachment.htm>


More information about the mythtv-dev mailing list