<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Nov 24, 2014 at 3:20 AM, Steve Butler <span dir="ltr"><<a href="mailto:kg7je@comcast.net" target="_blank">kg7je@comcast.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><span class="">
    <br>
    <div>On 11/22/2014 11:46 PM, Miika Turkia
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Sun, Nov 23, 2014 at 8:51 AM,
            Steve Butler <span dir="ltr"><<a href="mailto:kg7je@comcast.net" target="_blank">kg7je@comcast.net</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><br>
                On 11/17/2014 01:56 PM, Lubomir I. Ivanov wrote:<br>
                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                  On 17 November 2014 23:53, Lubomir I. Ivanov <<a href="mailto:neolit123@gmail.com" target="_blank">neolit123@gmail.com</a>>
                  wrote:<br>
                  <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                    On 17 November 2014 23:49, Steve Butler <<a href="mailto:kg7je@comcast.net" target="_blank">kg7je@comcast.net</a>>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                      Looks like I need to find a non-Canonical source
                      to update.  Is there<br>
                      another PPA to which I can point for a later
                      version?<br>
                      <br>
                    </blockquote>
                    that should be it:<br>
                    <a href="https://marble.kde.org/sources.php" target="_blank">https://marble.kde.org/sources.php</a><br>
                    <br>
                    but perhaps it would be best to remove all marble
                    related packages first.<br>
                    <br>
                  </blockquote>
                  not the exact answer to the question, i admit. perhaps
                  there are<br>
                  alternative and compatible PPA, if not, you may have
                  to built from the<br>
                  sources which is a bit of task.<br>
                  <br>
                  <br>
                </blockquote>
                <br>
              </span>
              Built from source.  Now need the qmake command to include
              Marble again.  I thought a simple 'qmake' might do that. 
              But it is still disabled at build time.</blockquote>
            <div><br>
            </div>
            <div>I wonder if you are missing libmarble-dev. If
              everything is available, qmake should pick up Marble. Just
              to make sure, the Ubuntu packages I have uploaded to our
              PPA (subusrface-beta has the 4.2.90 beta release along
              with latest master of libdivecomputer) have the following
              dependencies:<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
      <br></span>
    It is present but Lubomir thinks it was compiled with an older
    version of qt than I'm using.  I was getting:<span class=""><br>
    .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x60):
    undefined reference to
    `Marble::MarbleWidget::connectNotify(QMetaMethod const&)'
    <br>
    .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x68):
    undefined reference to
    `Marble::MarbleWidget::disconnectNotify(QMetaMethod const&)'
    <br>
    <br></span>
    Lubomir had me turn off Marble with:<span class=""><br>
    <blockquote type="cite" style="color:#000000">qmake "DEFINES +=
      NO_MARBLE"
      <br>
      make clean
      <br>
      make
      <br>
    </blockquote>
    <br></span>
    I pulled down latest Marble (or thought I did) and compiled on my
    box.  Need to go buy "Qmake for Dummies" so I can reverse the above
    and see if what I did "fixed" my problem.<span class=""><br>
    <br></span></div></blockquote><div>That is exactly the reason, I have multiple build directories..I do not know how to tune the qmake parameters after initially setting them. And I need debug and normal builds in parallel...<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><span class="">
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div> libqt4-dev, qt4-qmake, libxml2-dev, libxslt1-dev,
              zlib1g-dev, libusb-1.0-0-dev, libzip-dev, libmarble-dev,
              libsqlite3-dev, libqtwebkit-dev, pkg-config, libgit2-dev,
              asciidoc<br>
              <br>
            </div>
            <div>If you have them all installed, then you should have
              quite complete build of Subsurface, including Marble. The
              INSTALL document seems to suggest that you compile inside
              the source tree..this is not ideal - better to compile in
              a sub directory, so it is easy to delete the whole compile
              if needed. (e.g. qmake-qt4 ~/source/subsurface). Anyway,
              if you disabled Marble with the qmake, just try to build
              in a fresh build directory and see if that helps (I am
              sure there is a way to tell qmake to re-includ marble, but
              I have no idea how, I just scrap the build dir if it is
              messed up and create a new one)<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br></span>
    Tips like this will help me.  As I told Dirk, my background is COBOL
    followed by a stint as an Oracle DBA (then middle management.  <br>
    <br>
    So, if I understand you correctly, in my structure of:<br>
    ~/Projects/LibDiveComputer<br>
    ~/Projects/Marble<br>
    ~/Projects/Subsurface<br>
    etc<br>
    <br>
    I should build a new one of ~/Projects/Subsurface/mybuild and run
    issue the commands from there?  BTW, can't find qmake-qt4 on mu
    Ubuntu 14.10 box.<span class="HOEnZb"></span></div></blockquote><div><br></div><div>I have my build directories inside subsurface sources, but I think someone said that they should actually be at the same level. The only time when the build directory under the Subsurface source dir has bitten me has been when I reset the sources back to what is on git, getting rid of all the extra files I have created there (then the build directories are also deleted).<br></div><div><br></div><div>Some libraries are only available for qt4 on my Ubuntu 14.04 box, so that is why I use qmake-qt4. If you have all the required libs for qt5, then just go ahead and use that. BTW, it does look like the Marble on 14.10 is compiled against qt4.<br><br></div><div>miika<br></div></div></div></div>