<div dir="ltr"><div>Just for completeness I will answer the remainder of the questions that I posted</div><div><br></div><div>> But that does not seem to have any effect on the version that is chosen for<br>
> the build (2.1)</div><div><br></div><div>That is because there is no master version available. This can be verified by doing:</div><div><br></div><div>craft --search extragear/kdevelop-pg-qt</div><div><br></div><div>Which tells that (at time of writing this) the only available version is 2.1</div><div><br></div><div><div>> I am now able to build KDevelop in Debug mode. Curiously, I am not able to start it though.</div><div>> The executable is there, but when I type kdevelop in the craft terminal nothing happens.</div><div><br></div><div>Examining the executable with dependency walker reveals that there is a .dll dependency like so</div><div>KDevelop.exe</div><div>    kdevplatformlanguage.dll</div><div>        grantlee_templates.dll</div><div>             qt5scriptd.dll</div><div><br></div><div>The qt5scriptd.dll dependency was unsatisfied So I added this line to the grantlee.py blueprint</div><div><br></div><div>self.runtimeDependencies["/libs/qt5/qtscript"] = none</div><div><br></div><div>And was able to start KDevelop correctly.<br></div><div><br></div><div>Kind Regards</div><div><br></div><div>Morten<br></div>
</div><div><br><div class="gmail_quote"><div dir="ltr">Den tor. 22. nov. 2018 kl. 14.04 skrev Morten Volden <<a href="mailto:mvolden2@gmail.com" target="_blank">mvolden2@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Kevin</div><div><br></div><div>Thanks - Much appreciated. <br></div><div><br></div><div>I am now able to build KDevelop in Debug mode. Curiously, I am not able to start it though.</div><div><br></div><div>The executable is there, but when I type kdevelop in the craft terminal nothing happens.</div><div><br></div><div>I am, however, able to execute the unittests from within the terminal and that was what I wanted in the first place. Will try to investigate that issue when time permits.</div><div><br></div><div>Cheers,</div><div><br></div><div> <br></div></div><br><div class="gmail_quote"><div dir="ltr">Den tir. 20. nov. 2018 kl. 13.40 skrev Kevin Funk <<a href="mailto:kfunk@kde.org" target="_blank">kfunk@kde.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Monday, 19 November 2018 19:23:08 CET Morten Volden wrote:<br>
> Hi All<br>
> <br>
> I have done a craft --destroy-craft-root to try and build from a clean root<br>
> directory.<br>
<br>
That will not destroy/reset the Git checkouts iirc.<br>
<br>
Could you try `git reset --hard` in the kdevelop-pg-qt dir and continue with <br>
craft?<br>
<br>
Regards,<br>
Kevin<br>
<br>
> However, I am still experiencing problems with building master branch of<br>
> KDevelop in Debug mode on Windows.<br>
> <br>
> More specific, kdev-pg-qt build fails:<br>
> <br>
> FAILED:<br>
> kdev-pg/CMakeFiles/kdev-pg-qt.dir/kdev-pg-default-visitor-gen.cpp.obj<br>
> C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1414~1.264\bin\Hostx64\x64\<br>
> cl.exe /nologo /TP -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS<br>
> -DQT_DISABLE_DEPRECATED_B EFORE=0x050400 -DQT_NO_URL_CAST_FROM_STRING<br>
> -DQT_STL<br>
> -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DUNICODE<br>
> -DWIN32_LEAN_AND_MEAN -DWINVER=0x0600 -D_<br>
> CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE<br>
> -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE<br>
> -D_USE_MATH_DEFINES -D_WIN32_IE=0x0600 -D_WIN<br>
> 32_WINNT=0x0600 -Ikdev-pg<br>
> -IC:\CraftRoot\download\git\extragear\kdevelop-pg-qt\kdev-pg<br>
> -Ikdev-pg\kdev-pg-qt_autogen\include -IC:\CraftRoot\download\git\extragea<br>
> r\kdevelop-pg-qt\include -IC:\CraftRoot\include\qt5<br>
> -IC:\CraftRoot\include\qt5\QtCore -IC:\CraftRoot\.\mkspecs\win32-msvc<br>
> /DWIN32 /D_WINDOWS /W3 /GR /EHsc /wd42<br>
> 50 /wd4251 /wd4396 /wd4661 -EHsc /MDd /Zi /Ob0 /Od /RTC1 /showIncludes<br>
> /Fokdev-pg\CMakeFiles\kdev-pg-qt.dir\kdev-pg-default-visitor-gen.cpp.obj<br>
> /Fdkdev-pg\CMake<br>
> Files\kdev-pg-qt.dir\ /FS -c<br>
> C:\CraftRoot\download\git\extragear\kdevelop-pg-qt\kdev-pg\kdev-pg-default-v<br>
> isitor-gen.cpp<br>
> C:\CraftRoot\download\git\extragear\kdevelop-pg-qt\kdev-pg\kdev-pg-default-<br>
> visitor-gen.cpp(22): fatal error C1083: Cannot open include file:<br>
> 'kdev-pg-default-vi<br>
> sitor-gen.h': No such file or directory<br>
> <br>
> So it cannot find a .h file that I know is part of kdev-pg-qt. This had me<br>
> confused for a while, until I noticed this line further up in the build<br>
> process:<br>
> <br>
> executing command: C:\CraftRoot\dev-utils\bin\git.exe checkout 2.1<br>
> Already on '2.1'<br>
> D       kdev-pg/kdev-pg-default-visitor-gen.h<br>
> Your branch is up to date with 'origin/2.1'.<br>
> Already up to date.<br>
> executing command: C:\CraftRoot\dev-utils\bin\git.exe checkout 2.1<br>
> Already on '2.1'<br>
> D       kdev-pg/kdev-pg-default-visitor-gen.h<br>
> Your branch is up to date with 'origin/2.1'.<br>
> *** Action: unpack for extragear/kdevelop-pg-qt ***<br>
> <br>
> So this seems like something within craft is deliberately deleting the .h<br>
> file. However, it is not super clear to me what that something is. Looking<br>
> through the different python, text, and json files I was not able to spot<br>
> anything.<br>
> <br>
> Also, in the BlueprintSettings.ini file I have specified that I want the<br>
> master version. Like so:<br>
> <br>
> [extragear/kdevelop-pg-qt]<br>
> version = master<br>
> <br>
> But that does not seem to have any effect on the version that is chosen for<br>
> the build (2.1)<br>
> <br>
> Any pointer(s) as to what I might be doing wrong would be much appreciated.<br>
<br>
<br>
-- <br>
Kevin Funk | <a href="mailto:kfunk@kde.org" target="_blank">kfunk@kde.org</a> | <a href="http://kfunk.org" rel="noreferrer" target="_blank">http://kfunk.org</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="m_-921299743784362679m_4661247963463144298m_-4393701773096275149gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards / Med venlig hilsen<br><br></div><div>Morten Danielsen Volden<br></div><div>Software Developer<br></div><div>M.Sc. EE<br></div></div></div></div></div>
</blockquote></div><br clear="all"><br></div></div>