<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi all,</p>
    <p>Today I've tried to set up a build environment on my Windows 10
      laptop so I can (try to) debug this. I've tried to follow the
      instructions from:</p>
    <p><a class="moz-txt-link-freetext"
href="https://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:x2goclient">https://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:x2goclient</a></p>
    <p>However it fails at the step where you need to compile the static
      version of Qt. The QT build system doesn't seem to support the
      specific Windows version, as I'm getting the following build
      error:</p>
    <blockquote>
      <p>$ ./configure -release -static -openssl -qt-style-windowsxp
        -qt-style-windowsvista<br>
        Which edition of Qt do you want to use ?<br>
        <br>
        Type 'c' if you want to use the Commercial Edition.<br>
        Type 'o' if you want to use the Open Source Edition.<br>
        <br>
        o<br>
        <br>
        -qt-style-windowsxp: invalid command-line switch<br>
        -qt-style-windowsvista: invalid command-line switch<br>
        <br>
           The specified system/compiler port is not complete:<br>
        <br>
              /c/Qt/4.8.6/mkspecs//qplatformdefs.h<br>
        <br>
           Please use the contact form at <a
          class="moz-txt-link-freetext"
          href="http://qt.digia.com/contact-us">http://qt.digia.com/contact-us</a><br>
      </p>
    </blockquote>
    <p>Note the empty path between the "mkspecs" and "qplatformdefs.h"
      directories. There is supposed to be a symbolic name there
      identifying the type of system.</p>
    <p>Does anybody have any updated build instructions for x2goclient
      on Windows? Or did I just miss something obvious?<br>
    </p>
    Maarten<br>
    <br>
    <div class="moz-cite-prefix">On 9/9/2020 11:55 AM, Maarten Boekhold
      wrote:<br>
    </div>
    <blockquote cite="mid:e76f1dbc-bc3b-a2df-8a9e-6b25a040d0b3@gmx.com"
      type="cite">Package: x2goclient
      <br>
      Version: 4.1.2.2
      <br>
      <br>
      Windows 10, x2goclient 4.1.2.2
      <br>
      <br>
      When resuming a "paused" x2Go session, x2goclient is using the
      wrong
      <br>
      X-Server settings.
      <br>
      <br>
      I have configured my x2goclient with the following
      <br>
      settings for X.Org Server settings:
      <br>
      <br>
      <br>
      **X.Org Server settings**
      <br>
      [X] use custom X-Server
      <br>
      Executable: C:/Program Files (x86)/x2goclient/VcXsrv/vcxsrv.exe
      <br>
      [ ] start X-Server on X2Go Client start
      <br>
      <br>
      Window mode: -screen 0 %wx%h -notrayicon -clipboard -keyhook \
      <br>
          -nowinkill -nopn -silent-dup-error
      <br>
      Fullscreen mode: -fullscreen -notrayicon -clipboard -keyhook \
      <br>
          -nowinkill -nopn -silent-dup-error
      <br>
      Single application: -multiwindow -notrayicon -clipboard \
      <br>
          -keyhook -nowinkill -nopn -silent-dup-error
      <br>
      Whole display: -nodecoration -notrayicon -clipboard -keyhook \
      <br>
          -nopn -silent-dup-error -screen 0 @
      <br>
      <br>
      My x2goclient session is configured as:
      <br>
      <br>
      **Session preferences: Input/Output**
      <br>
      [ ] Fullscreen
      <br>
      [ ] Custom     Width (greyed out 3696) Height (greyed out 2160)
      <br>
      [X] Use whole display [ ] Maximum available     Display: 2
      <br>
      <br>
      When I start a new x2Go session, it correctly runs the X-Server
      with the
      <br>
      "Whole display" command (as per Windows Task Manager):
      <br>
      <br>
      "C:\Program Files (x86)\x2goclient\VcXsrv\vcxsrv.exe" \
      <br>
          -nodecoration -notrayicon -clipboard -keyhook -nowinkill \
      <br>
          -nopn -silent-dup-error screen 0 @2 :0
      <br>
      <br>
      But if I then "pause" this session and reconnect, x2goclient uses
      the
      <br>
      "Window mode" command line options instead:
      <br>
      <br>
      "C:\Program Files (x86)\x2goclient\VcXsrv\vcxsrv.exe" \
      <br>
          -screen 3696x2160 -notrayicon -clipboard -keyhook \
      <br>
          -nowinkill -nopn -silent-dup-error :0
      <br>
      <br>
      I suspect this has something to do with the
      <br>
      code around line 4442 in onmainwindow.cpp, but I've not been able
      to
      <br>
      figure out the exact details yet.
      <br>
      <br>
      Maarten
      <br>
      _______________________________________________
      <br>
      x2go-dev mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:x2go-dev@lists.x2go.org">x2go-dev@lists.x2go.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://lists.x2go.org/listinfo/x2go-dev">https://lists.x2go.org/listinfo/x2go-dev</a>
      <br>
    </blockquote>
    <br>
  </body>
</html>