Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Edited README to be clearer about win32 cross-compilation and contrib…

…s.sh to chmod moc.exe
  • Loading branch information...
commit bbd99627441e3735f4e6ed3f72645e4d616a7fc1 1 parent dda4f96
@nicolas-guiard nicolas-guiard authored committed
Showing with 5 additions and 1 deletion.
  1. +2 −1  README
  2. +3 −0  contribs/contribs.sh
View
3  README
@@ -83,10 +83,11 @@ Packaging
Uncomment #dmg in /src/CMakeLists.txt, at the end of the file.
and follow the build process, the dmg will be created in /build/bin
-3. To cross-compile and package on linux for windows:
+3. To cross-compile and package on linux for windows: (mingw, wine, nsis must be installed...)
cd contribs
sh contribs.sh
+ cd ..
mkdir win32 && cd win32
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain-win32.cmake -DQT_MOC_EXECUTABLE=../contribs/tools/moc.exe ..
make
View
3  contribs/contribs.sh
@@ -24,3 +24,6 @@ mkdir bin && mkdir include
# Qt
tar xvf $DOWNLOADS_FOLDER/$QT4_FILE -C . --strip-components=1
cd include && ln -sf qt4/src && cd ..
+
+# make tools/moc.exe executable
+chmod +x tools/moc.exe
Please sign in to comment.
Something went wrong with that request. Please try again.