<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Well... we haven't tried to use qmake with kst for many years and
      I doubt it works at all.</p>
    <p>Our windows builds are done as a cross compile from linux, and
      then linking to pre-compiled versions of the external libraries
      (see kst/cmake/travis.sh).  This worked well until a few months
      ago when the getdata api changed.  The build no longer works.</p>
    <p>qtcreator is capable of using cmake as the build system, so you
      might want to install cmake in windows partition, and then figure
      out how to used it with qtcreator.  For the external libraries
      (gsl, getdata, etc) I have no idea.</p>
    <p>cbn<br>
    </p>
    <div class="moz-cite-prefix">On 2019-02-01 3:05 p.m., Steve Maher
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEEDN159cunvdwJvVnjq5gfRGJBfN1Y=F1pEk0Ct2caL9xYgow@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>I'm back ... now determined to build on Windows (10) (we
          use kst on both Windows and Linux)</div>
        <div><br>
        </div>
        <div>I've installed QtCreator with mingw (from Qt download -
          although there were a zillion versions from which to choose). 
          Below is "Compile Output" from qtcreator when I try to build <a
            href="http://kst.pro" moz-do-not-send="true">kst.pro</a>
          (the qmake step).</div>
        <div><br>
        </div>
        <div>What's interesting is I also got these warning in Linux
          with qtcreator, which I got around by executing Barth's
          command line (cmake + make).</div>
        <div><br>
        </div>
        <div>Perhaps I should try the command line in Windows? (what is
          it?)  Or are there build parameters that need to be set?  (The
          INSTALL files just say "Verify build parameters")</div>
        <div><br>
        </div>
        <div>Thanks for ANY help!</div>
        <div><br>
        </div>
        <div>Steve</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,170)">14:31:54: Running steps for project kst...</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,170)">14:31:54: Starting: "G:\Qt\5.12.1\mingw73_64\bin\qmake.exe" C:\cygwin\home\smaher\git\kst\<a href="http://kst.pro" moz-do-not-send="true">kst.pro</a> -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,170)">14:31:54: The process "G:\Qt\5.12.1\mingw73_64\bin\qmake.exe" exited normally.</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,170)">14:31:54: Starting: "G:\Qt\Tools\mingw730_64\bin\mingw32-make.exe" -f C:/cygwin/home/smaher/git/build-kst-Desktop_Qt_5_12_1_MinGW_64_bit-Debug/Makefile qmake_all</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,0)">cd src\libkst\ && G:\Qt\5.12.1\mingw73_64\bin\qmake.exe -o Makefile C:\cygwin\home\smaher\git\kst\src\libkst\<a href="http://libkst.pro" moz-do-not-send="true">libkst.pro</a> -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: builtindatasources.cpp</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: datasourcepluginfactory.cpp</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: builtindatasources.h</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: datasourcepluginfactory.h</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: kst_i18n.h</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: timezones.h</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: builtindatasources.cpp</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: datasourcepluginfactory.cpp</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: builtindatasources.h</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: datasourcepluginfactory.h</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: kst_i18n.h</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: timezones.h</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,0)">cd src\libkst\ && G:/Qt/Tools/mingw730_64/bin/mingw32-make -f Makefile qmake_all</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,0)">mingw32-make[1]: Entering directory 'C:/cygwin/home/smaher/git/build-kst-Desktop_Qt_5_12_1_MinGW_64_bit-Debug/src/libkst'</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,0)">mingw32-make[1]: Nothing to be done for 'qmake_all'.</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,0)">mingw32-make[1]: Leaving directory 'C:/cygwin/home/smaher/git/build-kst-Desktop_Qt_5_12_1_MinGW_64_bit-Debug/src/libkst'</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,0)">cd src\libkstmath\ && G:\Qt\5.12.1\mingw73_64\bin\qmake.exe -o Makefile C:\cygwin\home\smaher\git\kst\src\libkstmath\<a href="http://libkstmath.pro" moz-do-not-send="true">libkstmath.pro</a> -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: emailthread.cpp</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: emailthread.h</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: emailthread.cpp</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">WARNING: Failure to find: emailthread.h</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,0)">cd src\libkstmath\ && G:/Qt/Tools/mingw730_64/bin/mingw32-make -f Makefile qmake_all</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,0)">mingw32-make[1]: Entering directory 'C:/cygwin/home/smaher/git/build-kst-Desktop_Qt_5_12_1_MinGW_64_bit-Debug/src/libkstmath'</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,0)">mingw32-make[1]: Nothing to be done for 'qmake_all'.</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,0)">mingw32-make[1]: Leaving directory 'C:/cygwin/home/smaher/git/build-kst-Desktop_Qt_5_12_1_MinGW_64_bit-Debug/src/libkstmath'</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,0)">cd src\datasources\ && G:\Qt\5.12.1\mingw73_64\bin\qmake.exe -o Makefile C:\cygwin\home\smaher\git\kst\src\datasources\<a href="http://datasources.pro" moz-do-not-send="true">datasources.pro</a> -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">Cannot find file: C:\cygwin\home\smaher\git\kst\src\datasources\<a href="http://datasources.pro" moz-do-not-send="true">datasources.pro</a>.</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">mingw32-make: *** [C:/cygwin/home/smaher/git/build-kst-Desktop_Qt_5_12_1_MinGW_64_bit-Debug/Makefile:131: sub-src-datasources-qmake_all] Error 2</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="font-weight:600;color:rgb(170,0,0)">14:32:02: The process "G:\Qt\Tools\mingw730_64\bin\mingw32-make.exe" exited with code 2.</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">Error while building/deploying project kst (kit: Desktop Qt 5.12.1 MinGW 64-bit)</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">When executing step "qmake"</span></p>
          <p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(0,0,170)">14:32:02: Elapsed time: 00:08</span></p>
        </div>
        <div><br>
        </div>
        <div>
          <div><br>
          </div>
        </div>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
C. Barth Netterfield
416-845-0946</pre>
  </body>
</html>