You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robin Mills 4e9f70be30 #1109 Work in Progress on MinGW/32 daily build. 9 years ago
..
Makefile #1109 Work in Progress on MinGW/32 daily build. 9 years ago
ReadMe.txt #1109 Work in Progress on MinGW/32 daily build. 9 years ago
commandLineTool.pro #1109 Work in Progress on MinGW/32 daily build. 9 years ago
main.cpp #1109 Work in Progress on MinGW/32 daily build. 9 years ago

ReadMe.txt

contrib/Qt/ReadMe.txt
---------------------

Exiv2 works well with Qt.  To support Qt/Windows users, a daily build of Exiv2 for MinGW/32 is provided.

To build commandLineTool
------------------------

1) Either build Exiv2/MinGW/32 as documented:
   http://clanmills.com/exiv2/mingw.shtml
OR
   Download and install a build from the buildserver:
   http://exiv2.dyndns.org:8080/userContent/builds/Categorized/Platform/mingw/
   Instructions for installing the build are in the bundle ReadMe.txt
   
2  Build commandLineTool.cpp
   /c/Users/rmills/gnu/exiv2/trunk/contrib/Qt > make -B CXXFLAGS=-std=c++98
	
3  Run commandLineTool.exe
   /c/Users/rmills/gnu/exiv2/trunk/contrib/Qt > release/commandLineTool.exe

Running MinGW bash and setting Qt tools in the path
---------------------------------------------------

I have a batch file (mingw32.bat) to get me into MinGW.

C:\>type \Users\rmills\com\mingw32.bat
@echo off
rem ------------------
: mingw32.bat
: invoke MinGW bash
:
setlocal
set "PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig"
set "INCLUDE_PATH=/usr/local/inc"
set "LIBRARY_PATH=/usr/local/lib"
set "BINARY_PATH=/usr/local/bin"
rem set "PATH=c:\MinGW\bin;c:\MinGW\msys\1.0\bin;c:\MinGW\msys\1.0\local\bin;c:\Users\rmills\com;."
set "PATH=c:\Qt\Qt5.6.0\5.6\mingw49_32\bin;c:\Qt\Qt5.6.0\Tools\mingw492_32\bin;c:\MinGW\bin;\usr\bin:\usr\local\bin;c:\cygwin64\bin;c:\Users\rmills\com;."
set "PS1=\! -32- ${PWD}> "
c:\MinGW\msys\1.0\bin\bash.exe %*%

: That's all Folks
rem ------------------

UNICODE_PATH
------------

Qt users may prefer to build Exiv2 to support UNICODE_PATH.  The sample application samples/exifprint.cpp works with UNICODE_PATH.  

Searching for more information about Qt, MinGW and UNICODE_PATH
---------------------------------------------------------------
These matters are occasionally discussed on the forum.  Please search to read discussions.

You will probably find the following helpful:
http://dev.exiv2.org/boards/3/topics/2311?r=2312#message-2312
http://dev.exiv2.org/issues/1169
http://dev.exiv2.org/boards/3/topics/2705

However there have been others and there will be more in future.

Robin Mills
http://clanmills.com
2016-09-19