<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi,<br>
I have managed to get craft setup from a powershell window. At one
stage it asked me if I wanted to use a MINGW or a MSVC2019
compiler. I chose the latter. Everything seemed to install OK
after a load of scary text scrolling by on the powershell screen.
I will try compiling ktechlab using craft next weekend. I hope it
all works out. I'll report back later. Thanks.<br>
<br>
David.<br>
<br>
On 05/09/2022 10:13, Zoltan Padrah wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+=jyCgP22_i3Tp=6CiBjUAswKgPVtjNDyuriPJ43tjGCBL4aw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>I'm replying below, inline:</div>
<div><br>
</div>
<div>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">David J S Briscoe <<a
href="mailto:david@djsbriscoe.vispa.com"
moz-do-not-send="true" class="moz-txt-link-freetext">david@djsbriscoe.vispa.com</a>>
ezt írta (időpont: 2022. szept. 4., V, 12:29):<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<div>How would I set up the environment variables for
MSVC 2019? The craft notes only mention 2015 and 2017<br>
<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>
<div dir="ltr">As far as I know the installation script
for Craft detects compilers and allows selecting the one
to use.<br>
</div>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<div> Note: For Microsoft Visual Studio compiler, it's
necessary to have VCTOOLSREDISTDIR environment
variable pointing to: "C:\Program Files
(x86)\Microsoft Visual
Studio\2017\Professional\VC\Redist\MSVC\xx.xx.xxxxx"
for MSVS 2017 and VCINSTALLDIR environment pointing to
"C:\Program Files (x86)\Microsoft Visual
Studio\2015\Community\VC\" for MSVS 2015. <br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Where have you found this text? I do not remember
manually setting up environment...</div>
<div>When starting Craft, it loads some configuration files
and sets up the environment by itself, so I'm not sure if
manual setup is needed. At least when I have installed
Craft last time, things mostly worked automatically.<br>
</div>
<div><br>
</div>
<div>Hope this is useful,</div>
<div><br>
</div>
<div> Zoltan</div>
<div><br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<div> <br>
I have checked my environment variables and
VCTOOLSREDISTDIR and VCINSTALLDIR does not exist in a
permanent way (maybe these are set up somehow at run
time). Would I just create these variable and point
them to the relevant directories for MSVC 2019. What
variables do you have set up? Any help welcome.
Thanks.<br>
<br>
David.<br>
<br>
PS Maybe this will help?<br>
<br>
<a
href="https://renenyffenegger.ch/notes/Windows/development/Visual-Studio/environment-variables/index"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://renenyffenegger.ch/notes/Windows/development/Visual-Studio/environment-variables/index</a><br>
<br>
<br>
On 04/09/2022 10:07, Zoltan Padrah wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>MSVC / Visual Studio is just one of the
required software components needed for compiling
KTechLab on Windows.</div>
<div>Some others are:</div>
<div>- Qt libraries</div>
<div>- dependencies of Qt libraries<br>
</div>
<div>- (some) KDE libraries</div>
<div>- dependencies of the KDE libraries</div>
<div>- (some) KDE runtime components</div>
<div>- dependencies of KDE runtime components</div>
<div><br>
</div>
<div>Theoretically you can set up all those
manually, but probably it would take quite some
time and effort.</div>
<div><br>
</div>
<div>Installing all this software can be automated,
essentially this is the basic idea of Craft, as
far as I know.</div>
<div><br>
</div>
<div><br>
</div>
<div> Zoltan<br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">David J S Briscoe
<<a href="mailto:david@djsbriscoe.vispa.com"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">david@djsbriscoe.vispa.com</a>>
ezt írta (időpont: 2022. szept. 4., V, 9:38):<br>
</div>
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<div>Hi,<br>
Thanks for your reply.<br>
I will read the information in the links you
provided and give craft a try.<br>
Are there any other ways of compiling Ktechlab
for Windows 10? I saw MSVC 2019 mentioned
somewhere (I have VS 2019 and 2022 community
editions installed).<br>
<br>
David.<br>
<br>
On 03/09/2022 20:57, Zoltan Padrah wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>The craft recipe is in the
craft-blueprints-kde repository [1] ; this
git repository (and several others) is
automatically cloned when Craft is set up.</div>
<div><br>
</div>
<div>[1]<br>
</div>
<div><a
href="https://invent.kde.org/packaging/craft-blueprints-kde/-/blob/master/extragear/ktechlab/ktechlab.py"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://invent.kde.org/packaging/craft-blueprints-kde/-/blob/master/extragear/ktechlab/ktechlab.py</a></div>
<div><br>
</div>
<div>If you want to build KTechLab on
windows, I highly recommend reading the
documentation about Craft...</div>
<div><br>
</div>
<div><a
href="https://community.kde.org/Craft"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://community.kde.org/Craft</a></div>
<div><br>
</div>
<div><a
href="https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Windows"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Windows</a></div>
<div><br>
</div>
<div> Zoltan<br>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">David J S
Briscoe <<a
href="mailto:david@djsbriscoe.vispa.com"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">david@djsbriscoe.vispa.com</a>>
ezt írta (időpont: 2022. szept. 3., Szo,
21:36):<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<div>Hi,<br>
Ive managed to install KTECHLAB on
linux Mint using the APT-GET command
so I didn't have to build anything.
Where is the craft recipe located? Is
it in the source code repository? I'd
like to give it a try. Thanks.<br>
<br>
David.<br>
<br>
On 02/09/2022 21:42, Zoltan Padrah
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi David,</div>
<div><br>
</div>
<div>building KTechLab on Windows
requires KDE Craft, please see
instructions here:</div>
<div><br>
</div>
<div><a
href="https://community.kde.org/Craft"
target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">https://community.kde.org/Craft</a></div>
<div><br>
</div>
<div><a
href="https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Windows"
target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Windows</a></div>
<div><br>
</div>
<div>There exists a Craft recipe for
KTechLab, so in case Craft is set
up, one can build KTechLab with
one command.</div>
<div><br>
</div>
<div>On Linux systems building is
much simpler, you just need to
install KTechLab's build
dependencies, typically from
package manager, then get the
source code and building and
running should work. Please see
instructions here:</div>
<div><br>
</div>
<div><a
href="https://invent.kde.org/sdk/ktechlab#building-and-running"
target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">https://invent.kde.org/sdk/ktechlab#building-and-running</a></div>
<div><br>
</div>
<div>Depending on how much
experience you have with software
development or software
development on Windows, building
on Linux might be simpler to start
overall, while building on Windows
might require to fix / work-around
some things as you go.</div>
<div><br>
</div>
<div>Hope this helps,</div>
<div><br>
</div>
<div> Zoltan</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">David
J S Briscoe <<a
href="mailto:david@djsbriscoe.vispa.com"
target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">david@djsbriscoe.vispa.com</a>>
ezt írta (időpont: 2022. szept.
2., P, 18:28):<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div> Message forwarded to
developer list.<br>
<div><br>
<br>
-------- Forwarded Message
--------
<table cellspacing="0"
cellpadding="0" border="0">
<tbody>
<tr>
<th valign="BASELINE"
nowrap="nowrap"
align="RIGHT">From: </th>
<td>- Fri <>, 41
GMT <></td>
</tr>
<tr>
<th valign="BASELINE"
nowrap="nowrap"
align="RIGHT">X-Mozilla-Status:
</th>
<td>0001</td>
</tr>
<tr>
<th valign="BASELINE"
nowrap="nowrap"
align="RIGHT">X-Mozilla-Status2:
</th>
<td>00800000</td>
</tr>
<tr>
<th valign="BASELINE"
nowrap="nowrap"
align="RIGHT">Message-ID:
</th>
<td><a
href="mailto:bcba6f3e-f5c9-927a-353e-62b49a8feed8@djsbriscoe.vispa.com"
target="_blank"
moz-do-not-send="true"><bcba6f3e-f5c9-927a-353e-62b49a8feed8@djsbriscoe.vispa.com></a></td>
</tr>
<tr>
<th valign="BASELINE"
nowrap="nowrap"
align="RIGHT">Date: </th>
<td>Fri, 2 Sep 2022
11:37:40 +0100</td>
</tr>
<tr>
<th valign="BASELINE"
nowrap="nowrap"
align="RIGHT">MIME-Version:
</th>
<td>1.0</td>
</tr>
<tr>
<th valign="BASELINE"
nowrap="nowrap"
align="RIGHT">User-Agent:
</th>
<td>Mozilla/5.0 (Windows
NT 10.0; Win64; x64;
rv:102.0)
Gecko/20100101
Thunderbird/102.2.1</td>
</tr>
<tr>
<th valign="BASELINE"
nowrap="nowrap"
align="RIGHT">From: </th>
<td>David J S Briscoe <a
href="mailto:david@djsbriscoe.vispa.com" target="_blank"
moz-do-not-send="true"><david@djsbriscoe.vispa.com></a></td>
</tr>
<tr>
<th valign="BASELINE"
nowrap="nowrap"
align="RIGHT">Subject:
</th>
<td>How do I
compile/build KTECHLAB
on Windows 10-Part2</td>
</tr>
<tr>
<th valign="BASELINE"
nowrap="nowrap"
align="RIGHT">To: </th>
<td><a
href="mailto:480129@discussion.ktechlab.p.re.sourceforge.net"
target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">480129@discussion.ktechlab.p.re.sourceforge.net</a></td>
</tr>
<tr>
<th valign="BASELINE"
nowrap="nowrap"
align="RIGHT">Content-Language:
</th>
<td>en-GB</td>
</tr>
<tr>
<th valign="BASELINE"
nowrap="nowrap"
align="RIGHT">Content-Type:
</th>
<td>text/plain;
charset=UTF-8;
format=flowed</td>
</tr>
<tr>
<th valign="BASELINE"
nowrap="nowrap"
align="RIGHT">Content-Transfer-Encoding:
</th>
<td>7bit</td>
</tr>
</tbody>
</table>
<br>
<br>
Hi,<br>
I would like to build Ktechlab
on Windows 10. I have QT
Creator 8.01 installed but Ive
never used it. Maybe this
would be an opportunity to use
QT. Do you have any build
instructions I can follow?<br>
I also have Linux Mint 21
"Vanessa" installed and could
build it on there as well.
Which would be the most
straightforward one to build
on? Thanks.<br>
<br>
Regards,<br>
<br>
David, UK<br>
<br>
PS I also have visual studio
2019 and 2022 Community
editions installed on Windows
10. How would I use these?
Thanks.<br>
<br>
</div>
</div>
_______________________________________________<br>
Ktechlab-devel mailing list<br>
<a
href="mailto:Ktechlab-devel@lists.sourceforge.net"
target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">Ktechlab-devel@lists.sourceforge.net</a><br>
<a
href="https://lists.sourceforge.net/lists/listinfo/ktechlab-devel"
rel="noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">https://lists.sourceforge.net/lists/listinfo/ktechlab-devel</a><br>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Ktechlab-devel mailing list
<a href="mailto:Ktechlab-devel@lists.sourceforge.net" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">Ktechlab-devel@lists.sourceforge.net</a>
<a href="https://lists.sourceforge.net/lists/listinfo/ktechlab-devel" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.sourceforge.net/lists/listinfo/ktechlab-devel</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>