1 # See cross-prepare.txt for how to set up the environment if you don't
2 # already have one. (It's not straightforward :-/ )
4 # Then: meson setup --cross-file cross-win32.txt build-win32 && ninja -C build-win32
5 # Note that you'll need to copy and distribute the Qt DLLs together with the .exe file
6 # if you want it to actually run.
8 c = 'x86_64-w64-mingw32-gcc'
9 cpp = 'x86_64-w64-mingw32-g++'
10 ar = 'x86_64-w64-mingw32-ar'
11 strip = 'x86_64-w64-mingw32-strip'
12 pkg-config = 'pkg-config'
14 qmake6 = ['wine', '/opt/qt-cross/bin/qmake6.exe']
15 moc = ['wine', '/opt/qt-cross/bin/moc.exe']
16 uic = ['wine', '/opt/qt-cross/bin/uic.exe']
17 rcc = ['wine', '/opt/qt-cross/bin/rcc.exe']
26 pkg_config_libdir = '/opt/qt-cross/lib/pkgconfig'