| 1 |
This is the README file for Luminance |
| 2 |
------------------------------------------------------------------- |
| 3 |
Webpage: http://qtpfsgui.sourceforge.net |
| 4 |
Sourceforge: http://sourceforge.net/projects/qtpfsgui |
| 5 |
|
| 6 |
Contents |
| 7 |
--------- |
| 8 |
1. Requirements |
| 9 |
2. Compilation |
| 10 |
3. Output |
| 11 |
|
| 12 |
|
| 13 |
1. Requirements |
| 14 |
--------------------------------------------------------------------- |
| 15 |
This build process works for 32 and 64 bit compilation. |
| 16 |
|
| 17 |
This build process requires: |
| 18 |
* Windows |
| 19 |
* MS Visual Studio 2010 or higher, ExpressEditions should work (currently testing with VS2012) |
| 20 |
* Qt for MSVC installed |
| 21 |
- either official 32 bit Qt from: http://qt-project.org/downloads |
| 22 |
- or Qt self compiled |
| 23 |
ATTENTION: Do not mix the compilation with different versions of MSVC. If you |
| 24 |
compile Luminance with VC2012 you should also have Qt compiled |
| 25 |
with VC2010. If you don't find any precompiled Qt with a |
| 26 |
specific MSVC or platform version, you can just download the |
| 27 |
latest version of a precompiled Qt with any VC compiler (or just the Qt source version), |
| 28 |
open the VC command prompt in the Qt main directory and then: |
| 29 |
|
| 30 |
First open this solution and build all projects for your configuration (ex. Release/x64) |
| 31 |
> icu\source\allinone\allinone.sln |
| 32 |
|
| 33 |
And then run: (change your paths to match the installation |
| 34 |
> set include=%include%;C:\Data\Develop\Qt\icu\include |
| 35 |
> set lib=%lib%;C:\Data\Develop\Qt\icu\lib64 |
| 36 |
(Change lib64 to lib for the x32 build) |
| 37 |
|
| 38 |
> set path=%path%;C:\Data\Programs\ruby-1.9.3-p385-i386-mingw32\bin |
| 39 |
> configure -release -opengl desktop -no-compile-examples -mp -nomake tests -nomake examples -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-avx2 |
| 40 |
> nmake |
| 41 |
> cd qtwebkit |
| 42 |
> nmake |
| 43 |
> cd .. |
| 44 |
> nmake install_subtargets |
| 45 |
> nmake -f Makefile confclean |
| 46 |
> del /S /Q *.obj |
| 47 |
This recompiles the whole Qt and takes from 30 minutes to several hours... |
| 48 |
This reconfiguration can also be applied for generating x64 Qt versions! |
| 49 |
ATTENTION: If you move the Qt folder AFTER the compilation you have to redo the |
| 50 |
> configure ... step |
| 51 |
(without doing the actual compilation with nmake) |
| 52 |
Moreover you need to manually adapt the paths in qtbase\lib\cmake\Qt5LinguistTools\Qt5LinguistToolsConfig.cmake |
| 53 |
|
| 54 |
Afterwards copy the icu-dlls into the qtbase/bin folder, along with the platforms folder from the plugins directory. |
| 55 |
Don't forget the d3dcompiler_46.dll from the local VS-folder! |
| 56 |
At the end programs like linguist.exe, designer.exe must be able to run!!! |
| 57 |
|
| 58 |
|
| 59 |
* CMake |
| 60 |
* Cygwin installed with: cvs, git, gzip, sed, ssh, svn, tar, unzip, wget |
| 61 |
|
| 62 |
|
| 63 |
2. Compilation |
| 64 |
--------------------------------------------------------------------- |
| 65 |
Copy the .cmd files into a new EMPTY folder. Open the Visual Studio |
| 66 |
command prompt (x64 or Win32) and change (cd) to that directory. If |
| 67 |
there are some problems the batch script should tell you! |
| 68 |
|
| 69 |
Open the setenv.cmd file and adjust the variables paths and options for your needs. |
| 70 |
|
| 71 |
Start the compilation with |
| 72 |
> build.cmd |
| 73 |
|
| 74 |
Wait, wait, wait.... |
| 75 |
|
| 76 |
|
| 77 |
3. Output |
| 78 |
--------------------------------------------------------------------- |
| 79 |
The build process should download and build all the required libraries. |
| 80 |
|
| 81 |
In 'LuminanceHdrStuff\DEPs' you should find all the compilated DLLs, |
| 82 |
librarys and include header files. |
| 83 |
|
| 84 |
In 'LuminanceHdrStuff\qtpfsgui.build' you should find all the binary |
| 85 |
related files. |
| 86 |
|
| 87 |
In 'LuminanceHdrStuff\qtpfsgui' you find the LuminanceHdr SVN directory. |
| 88 |
|
| 89 |
|