Update installer configuration for Krita 3.0 on Windows
ClosedPublic

Authored by abrahams on Nov 6 2015, 4:24 AM.

Details

Summary

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() = ()

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.
abrahams updated this revision to Diff 1183.Nov 6 2015, 4:24 AM
abrahams retitled this revision from to Update installer configuration for Krita 3.0 on Windows.
abrahams updated this object.
abrahams edited the test plan for this revision. (Show Details)
abrahams added a reviewer: rempt.
abrahams updated this object.Nov 6 2015, 4:26 AM
abrahams updated this object.
rempt edited edge metadata.Nov 6 2015, 8:06 AM

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.

abrahams updated this revision to Diff 1189.Nov 6 2015, 6:40 PM
abrahams edited edge metadata.
  • Add slightly ridiculous library path fix
  • 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.

abrahams updated this revision to Diff 1215.Nov 9 2015, 9:19 PM
  • Add documentation for krita-files.json
rempt added a comment.Nov 10 2015, 7:15 AM

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?

This revision was automatically updated to reflect the committed changes.

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.