Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.
Karchive on windows: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
h1. Building KArchive on Windows | h1. Building KArchive on Windows | ||
This is a summarizes step-by-step on how to compile the | This is a summarizes step-by-step on how to compile the "karchive ":http://anongit.kde.org/karchive on Windows Using Qt 5.2.0 and MSVS 2012. | ||
* Install Qt 5 (http://qt.io/download , we used VS2012 32bits) on path | * Install Qt 5 (http://qt.io/download , we used VS2012 32bits) on path "C:/Qt" | ||
* Install CMake for windows (http://www.cmake.org/) and remember to put it on path enviroment variable | * Install CMake for windows (http://www.cmake.org/) and remember to put it on path enviroment variable | ||
* Install git git-scm.com/download/win | * Install git git-scm.com/download/win | ||
* git clone git://anongit.kde.org/extra-cmake-modules | * git clone git://anongit.kde.org/extra-cmake-modules | ||
* In extra-cmake-modules: mkdir build && cd build && cmake .. -G | * In extra-cmake-modules: mkdir build && cd build && cmake .. -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=C: nmake install (nmake is installed with Qt, if you don't find it, check you Qt installation) | ||
* git clone kArchive git://anongit.kde.org/karchive | * git clone kArchive git://anongit.kde.org/karchive | ||
* download Zlib from http://zlib.net/zlib128-dll.zip put in path-to-karchive\zlib | * download Zlib from http://zlib.net/zlib128-dll.zip put in path-to-karchive\zlib | ||
* download bzip2(options) http://gnuwin32.sourceforge.net/downlinks/bzip2-lib-zip.php put in path-to-karchive/bzip2 | * download bzip2(options) http://gnuwin32.sourceforge.net/downlinks/bzip2-lib-zip.php put in path-to-karchive/bzip2 | ||
* In kArchive: mkdir build && cd build && cmake .. -G | * In kArchive: mkdir build && cd build && cmake .. -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=C:-DCMAKE_BUILD_TYPE=release -DCMAKE_PREFIX_PATH=C:;C:5.2.0\5.2.0\msvc2012;C:;C:2 | ||
* nmake install | * nmake install | ||
* Done! Now all the needed files are in c: | * Done! Now all the needed files are in c: |
Revision as of 14:18, 24 February 2015
h1. Building KArchive on Windows
This is a summarizes step-by-step on how to compile the "karchive ":http://anongit.kde.org/karchive on Windows Using Qt 5.2.0 and MSVS 2012.
- Install Qt 5 (http://qt.io/download , we used VS2012 32bits) on path "C:/Qt"
- Install CMake for windows (http://www.cmake.org/) and remember to put it on path enviroment variable
- Install git git-scm.com/download/win
- git clone git://anongit.kde.org/extra-cmake-modules
- In extra-cmake-modules: mkdir build && cd build && cmake .. -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=C: nmake install (nmake is installed with Qt, if you don't find it, check you Qt installation)
- git clone kArchive git://anongit.kde.org/karchive
- download Zlib from http://zlib.net/zlib128-dll.zip put in path-to-karchive\zlib
- download bzip2(options) http://gnuwin32.sourceforge.net/downlinks/bzip2-lib-zip.php put in path-to-karchive/bzip2
- In kArchive: mkdir build && cd build && cmake .. -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=C:-DCMAKE_BUILD_TYPE=release -DCMAKE_PREFIX_PATH=C:;C:5.2.0\5.2.0\msvc2012;C:;C:2
- nmake install
- Done! Now all the needed files are in c: