Ok, I worked a bit more on this (had no time over easter days). Also, Vadi, I hope this might help someone else setup a Windows build, since it no longer works just as sketched in the Wiki. Actually, this is my main motivation for the thread.
I changed CI\appveyor.functions.ps1 even more:
function InstallQt() {
Step "Installing aqtinstall"
- exec "pip" @("install", "aqtinstall")
New-Item -Path $Env:QT_BASE_DIR -ItemType Directory
cd $Env:QT_BASE_DIR
# go up to the root of Qt folder to start installation
cd ..
cd ..
+ DownloadFile "
https://github.com/miurahr/aqtinstall/r ... .4/aqt.exe" "aqt.exe" $true
Step "Installing Qt"
- exec "aqt" @("install-qt", "windows", "desktop", "5.14.2", "win32_mingw73")
+ exec "C:\src\aqt" @("install-qt", "windows", "desktop", "5.14.2", "win32_mingw73")
Step "Installing Mingw 7.3.0 Win32 tools"
- exec "aqt" @("install-tool", "windows", "desktop", "tools_mingw", "qt.tools.win32_mingw730")
+ exec "C:\src\aqt" @("install-tool", "windows", "desktop", "tools_mingw", "qt.tools.win32_mingw730")
+ Step "Installing QtCreator"
+ exec "C:\src\aqt" @("install-tool", "windows", "desktop", "tools_qtcreator", "qt.tools.qtcreator")
}
The rest of my previous steps for setup seem to be ok, in addition I now got a qtcreator.exe in C:\Qt\Tools\QtCreator\bin that I can run directly or setup a shortcut/link to it. I had my issues setting up qtcreator. Just opening project mudlet/src/mudlet.pro was not enough, qtcreator did not find the build environment.
It seems the main ingredient to the solution was, in settings, kits, qt-versions select the qmake path: C:\Qt\5.14.2\mingw73_32\bin\qmake .
Under Compiler I've choosen C:\Qt\Tools\mingw730_32\bin\gcc.exe for qcc (hope it's right, but it seems unused anyway), and C:\Qt\Tools\mingw730_32\bin\gcc.exe (named mingw) for c++ . Under debugger I took: C:\Qt\Tools\mingw730_32\bin\gdb.exe
All autodetection features of qtcreator failed miserably. It threw a bunch of warning, but out of sudden, it now seems to work. It does also build and run mudlet (albeit in another dir than the install script, but well...). Building gives a warning:
warning: lua-yajl not available - translation statistics in settings won't be shown.
Error loading yajl was: module 'yajl' not found:
no field package.preload['yajl']
no file '.\yajl.lua'
no file 'C:\Qt\Tools\mingw730_32\bin\lua\yajl.lua'
no file 'C:\Qt\Tools\mingw730_32\bin\lua\yajl\init.lua'
no file 'C:\Qt\Tools\mingw730_32\bin\yajl.lua'
no file 'C:\Qt\Tools\mingw730_32\bin\yajl\init.lua'
no file '.\yajl.dll'
no file 'C:\Qt\Tools\mingw730_32\bin\yajl.dll'
no file 'C:\Qt\Tools\mingw730_32\bin\loadall.dll'
albeit it was installed and could be found when building with the install script. It seems not to affect me though.
With that setup I should now be able to do some productive work. The debugger does now also seem to work, it did catch the MSP (MSP, no MXP involved at all) related segfault btw. But that's not my main focus at the moment.