Newer
Older
Import / applications / Photoframe / README.txt
@John Ryland John Ryland on 10 Jan 2021 1 KB move to using the shell scripts

Building on Windows
-------------------


New instructions:

The UNIX shell scripts are able to be run from a DOS cmd prompt by
running them with the sh.bat script. For example:

sh build-all.sh

This will use the sh.bat script to interpret and translate the unix
commands in to equivalent windows DOS commands. The shell scripts are
therefore obviously restricted to the subset of support commands that
can be translated to. Environment variables must be surrounded with
braces, eg "${VAR}". Common commands like cp, echo, mkdir, cd are
supported and will translate unix slashes to DOS slashes for all the
arguments. Also the make command is translated to %MAKE%, so it can
be set up to build with VisualStudio by setting MAKE to nmake.



First install Qt + MingW compiler
Add both Qt and MingW bin directories to your PATH
Verify they work by opening a command prompt and
typing "make -v" and "qmake -v" and make sure command
are found.


A) Using QDevelop

	1) First run the "build-libexif.bat" script
	2) Now open Photoframe.pro with QDevelop, click build
	3) Use the "refresh-translations.bat" for deployment
	4) Use "clean.bat" before making a dist package

B) Using command line only

	1) "build-all.bat" will do everything
	2) "run.bat" to run it
	3) "clean.bat" to remove everything built