• R/O
  • HTTP
  • SSH
  • HTTPS

common_source_project-fm7: Commit

Common Source Code Project for Qt (a.k.a for FM-7).


Commit MetaInfo

Revisionc282b0482af200aed190c70818130ecded725e19 (tree)
Time2019-01-13 01:14:44
AuthorK.Ohta <whatisthis.sowhat@gmai...>
CommiterK.Ohta

Log Message

[general][Win32] Update cross-build script.

Change Summary

Incremental Difference

--- /dev/null
+++ b/source/tool/cross-build/Qt5.12/config_sample.5.12.sh
@@ -0,0 +1,78 @@
1+#!/bin/sh
2+export PATH="$PATH:\
3+ /usr/local/i586-mingw-msvc/icu/bin:\
4+ /usr/local/i586-mingw-msvc/Angle/bin:\
5+ /usr/local/i586-mingw-msvc/SDL/i686-w64-mingw32/bin: \
6+ /usr/local/i586-mingw-msvc/DirectX_June_2010/Developer\ Runtime/x86 \
7+ "
8+export PKG_CONFIG_LIBDIR=/usr/i686-w64-mingw32/lib
9+export PKG_CONFIG_SYSROOT_DIR=/usr/i686-w64-mingw32
10+
11+
12+#wine ./qtbase/configure.exe \
13+./configure \
14+ -release \
15+ -optimized-tools \
16+ -platform linux-g++ \
17+ -prefix /usr/local/i586-mingw-msvc/5.12/mingw_82x \
18+ -opensource -confirm-license \
19+ -xplatform win32-g++ \
20+ -qt-libpng \
21+ -qt-libjpeg \
22+ -qt-freetype \
23+ -device-option CROSS_COMPILE=i686-w64-mingw32- \
24+ -no-compile-examples \
25+ -skip qtactiveqt \
26+ -skip qtwebglplugin \
27+ -skip qtwebengine \
28+ -skip qtwebview \
29+ -skip qtquickcontrols \
30+ -skip qtlocation \
31+ -icu \
32+ -nomake examples \
33+ -nomake tests \
34+ -I /usr/local/i586-mingw-msvc/SDL/i686-w64-mingw32/include/SDL2 \
35+ -L /usr/local/i586-mingw-msvc/SDL/i686-w64-mingw32/lib \
36+ -I /usr/local/i586-mingw-msvc/DirectX_June_2010/Include \
37+ -L /usr/local/i586-mingw-msvc/DirectX_June_2010/Lib/x86 \
38+ -I /usr/local/i586-mingw-msvc/Angle/include \
39+ -L /usr/local/i586-mingw-msvc/Angle/lib \
40+ -L /usr/local/i586-mingw-msvc/Angle/bin \
41+ -device-option SDL_PREFIX=/usr/local/i586-mingw-msvc/SDL/i686-w64-mingw32 \
42+ -device-option SDL2_PREFIX=/usr/local/i586-mingw-msvc/SDL/i686-w64-mingw32 \
43+ -device-option ICU_PREFIX=/usr/local/i586-mingw-msvc/icu \
44+ -device-option OPENGL_ES2_PREFIX=/usr/local/i586-mingw-msvc/Angle \
45+ -device-option LIBS_OPENGL_ES2+=GLESv2 \
46+ -device-option LIBS_OPENGL_ES2+=EGL \
47+ -device-option LIBEGL_NAME=EGL.dll \
48+ -device-option LIBGLESV2_NAME=GLESv2.dll \
49+ -opengl dynamic \
50+ -no-eglfs \
51+ -no-evr \
52+ -pkg-config \
53+ $@ \
54+
55+# -D GL_GLEXT_PROTOTYPES \
56+# -opengl es2 \
57+# -opengles3 \
58+# -device-option ANGLE_PREFIX=/usr/local/i586-mingw-msvc/Angle \
59+# -device-option QMAKE_CFLAGS+=-mno-rdrnd \
60+# -device-option QMAKE_CXXFLAGS+=-mno-rdrnd \
61+# -pkg-config \
62+# -angle \
63+# -combined-angle-lib \
64+# -qt-zlib \
65+# -no-pkg-config \
66+# -largefile \
67+# -debug-and-release \
68+# -no-pch \
69+# -skip qtactiveqt \
70+# -skip qtcanvas3d \
71+# -skip qt3d \
72+# -opengl dynamic \
73+# -angle
74+# -opengl es2 \
75+# -device-option LIBEGL_NAME=EGL.dll \
76+# -device-option LIBGLESV2_NAME=GLESv2.dll \
77+
78+
--- /dev/null
+++ b/source/tool/cross-build/Qt5.12/make_cross.sh
@@ -0,0 +1,10 @@
1+#!/bin/sh
2+export PATH="$PATH:\
3+ /usr/local/i586-mingw-msvc/icu/bin:\
4+ /usr/local/i586-mingw-msvc/Angle/bin:\
5+ /usr/local/i586-mingw-msvc/SDL/i686-w64-mingw32/bin: \
6+ /usr/local/i586-mingw-msvc/DirectX_June_2010/Developer Runtime/x86 \
7+ "
8+export PKG_CONFIG_LIBDIR=/usr/i686-w64-mingw32/lib
9+
10+make CROSS_COMPILE=i686-w64-mingw32- PKG_CONFIG_LIBDIR=/usr/i686-w64-mingw32/lib $@ 2>&1
--- /dev/null
+++ b/source/tool/cross-build/ffmpeg/bootstrap-build_ffmpeg4.1_cross.sh
@@ -0,0 +1,13 @@
1+#!/bin/sh
2+./configure --cross-prefix=i686-w64-mingw32- \
3+ --prefix=/usr/local/i586-mingw-msvc/ffmpeg-4.1 \
4+ --disable-static --enable-shared \
5+ --target-os=mingw32 --arch=i686 \
6+ --enable-gpl \
7+ --enable-libx264 \
8+ --enable-libvorbis \
9+ --enable-libmp3lame \
10+ --enable-dxva2 \
11+ --extra-cflags="-I/usr/local/i586-mingw-msvc/libx264-157/include -I/usr/local/i586-mingw-msvc/lame-3.99.5/include -I/usr/local/i586-mingw-msvc/libvorbis/include -I/usr/local/i586-mingw-msvc/libogg/include" \
12+ --extra-ldflags="-L/usr/local/i586-mingw-msvc/libx264-157/lib -L/usr/local/i586-mingw-msvc/lame-3.99.5/lib -L/usr/local/i586-mingw-msvc/libvorbis/lib -L/usr/local/i586-mingw-msvc/libogg/lib"
13+
--- a/source/tool/cross-build/x264/bootstrap_x264.sh
+++ b/source/tool/cross-build/x264/bootstrap_x264.sh
@@ -4,4 +4,4 @@
44 --enable-pic \
55 --enable-shared \
66 --enable-static \
7- --prefix=/usr/local/i586-mingw-msvc/libx264-155
7+ --prefix=/usr/local/i586-mingw-msvc/libx264-157
Show on old repository browser