# See cross-prepare.txt for how to set up the environment if you don't # already have one. (It's not straightforward :-/ ) # # Then: meson setup --cross-file cross-win32.txt build-win32 && ninja -C build-win32 # Note that you'll need to copy and distribute the Qt DLLs together with the .exe file # if you want it to actually run. [binaries] c = 'x86_64-w64-mingw32-gcc' cpp = 'x86_64-w64-mingw32-g++' ar = 'x86_64-w64-mingw32-ar' strip = 'x86_64-w64-mingw32-strip' pkg-config = 'pkg-config' exe_wrapper = 'wine' qmake6 = ['wine', '/opt/qt-cross/bin/qmake6.exe'] moc = ['wine', '/opt/qt-cross/bin/moc.exe'] uic = ['wine', '/opt/qt-cross/bin/uic.exe'] rcc = ['wine', '/opt/qt-cross/bin/rcc.exe'] [host_machine] system = 'windows' cpu_family = 'x86_64' cpu = 'x86_64' endian = 'little' [properties] pkg_config_libdir = '/opt/qt-cross/lib/pkgconfig'