This seems almost finished, but I'm stuck. I create an installer successfully but get a "windows platform plugin not found" error when I try to launch Krita on the target machine. Trying to put qwindows.dll in various places didn't help, and I get a frustrating debug output qApp->libraryPaths() = ()
Details
Diff Detail
- Repository
- R37 Krita
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
That probably means that the plugin path for Qt isn't set correctly yet. We used to have some special code for that in 2.9, and I'm not sure whether that got ported correctly to how Qt5 does things.
- iFire was able to get Krita to launch successfully on Windows 10
- Scottyp installed but got a crash on Windows 8.1:
The application was unable to start correctly (0xc0000142). Click OK to close the application.
My interpretation is that this installer script is basically successful at this point, and any other problems are due to distribution or build issues.
I haven't got a chance to try this yet, I only managed to build on Windows yesterday, and Krita doesn't yet load or create an image. I'm wondering though -- should we start using windeployqt to copy the dll's?
It would probably be pretty easy to use windeployqt, I have not personally been able to get it to work. I tried using windeployqt but it failed on my machine with the error "failed to find the platform plugin."
windeployqt --dry-run r:\bin\krita.exe
I tried copying the folder r:\plugins\platforms into a few different places, couldn't figure it out.
I pushed these patches since they're basically non-destructive, the old installers and everything are still in the Calligra repo.