Questions tagged [mxe]

MXE (M Cross environment) is a platform that cross-compiles various tools for Windows from Unix systems.

MXE (M cross environment) is a Makefile that compiles a cross compiler and cross compiles many free libraries such as SDL and Qt. Thus, it provides a nice cross compiling environment for various target platforms, which

  • is designed to run on any Unix system
  • is easy to adapt and to extend
  • builds many free libraries in addition to the cross compiler
  • can also build just a subset of the packages, and automatically builds their dependencies
  • downloads all needed packages and verifies them by their checksums
  • is able to update the version numbers of all packages automatically
  • directly uses source packages, thus ensuring the whole build mechanism is transparent
  • allows inter-package and intra-package parallel builds whenever possible
62 questions
2
votes
2 answers

Cross-compiling KDSoap using MXE

Cross-compiled qt5 for Windows in MXE on Ubuntu 15.04: make qt5 Then cloned the KDSoap repository and tried to cross-compile it: cmake -DCMAKE_TOOLCHAIN_FILE=/data/hd1/repositories/mxe/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake…
Velkan
  • 7,067
  • 6
  • 43
  • 87
2
votes
2 answers

std::mutex missing when building Qt app with MXE gcc

I'm attempting to get a Qt application to build from the command line under linux targetted for windows. I've used mxe to build a toolchain for targetting windows but my build fails whinging about various thread related bits. mxe built with…
Joe
  • 7,378
  • 4
  • 37
  • 54
2
votes
1 answer

Cross-compilation Ubuntu-Win7 using a custom Makefile instead of qmake

I've a project which uses Qt4 with no additional libraries and QtSql (for working with a SQLLite database) and I want to cross-compile it for a x86_64 Windows 7 machine. That's my summarized makefile (it uses only .hpp files, apart from main.cpp,…
ABu
  • 10,423
  • 6
  • 52
  • 103
2
votes
2 answers

Scanload / loadstate USMT Gives out Error 26 with the custom XML I created that should save additional data, error says element content missing

I'm in the middle of a migration that seems to create problems. I want to migrate all User Data with everything and use USMT for it. Per default most of the User is backed up and that works also properly. Because I also want to save some other…
snapo
  • 684
  • 8
  • 23
2
votes
1 answer

setup qtcreator kit for cross compiling (mxe)

I'm trying setup an environment to cross-compile my projects from ubuntu to windows. Looking around I managed to compile qt through mxe, now the problem is I can't get it to work inside qtcreator. Being specific, I added in QtVersion…
Vittorio Apicella
  • 381
  • 1
  • 2
  • 14
2
votes
1 answer

QWebkit missing on MXE crosscompiler and Qt 4

I did the installation of the MXE crosscompiler and I am trying to make an app for Windows on Linux. But an error where said there was no QWeb compiling emerged. I checked this and there doesn't exist such component compiled Qt in the MXE. I want to…
albert
  • 1,766
  • 1
  • 21
  • 24
2
votes
2 answers

Cross compiling on Linux for Windows using MXE - GSL linking?

I have a C++ project developed on Linux that I would like to pass to my Windows-user colleagues by giving them the executable file. I searched into the problem and found that one way could be to compile by using i586-mingw32msvc-g++ instead of g++.…
Giulia
  • 297
  • 1
  • 2
  • 11
2
votes
0 answers

mxe cross compiling for windows ... where are stdout messages?

I'm cross compiling a basic C++ Windows XP console application from my Debian host system using MXE (i686-pc-mingw32-g++). When running it on my Debian system (thanks to Wine), I can see the stdout output on the console. But if I run the same…
ramone
  • 266
  • 1
  • 2
  • 10
1
vote
2 answers

Cross-compiling SystemC libraries and linking to them

I'm starting from scratch and am following the main steps below: 1. Build and install a cross-compiler toolchain (host Linux, target Win64): Get this MXE version, only changing plugins/gcc6/gcc6-overlay.mk with: $(PKG)_VERSION :=…
DaveC
  • 115
  • 8
1
vote
1 answer

MXE compilation, openjpeg.h not found error

I am compiling MXE for the cross-compilation of FFmpeg. I am following the instructions here and after running the make command, the following error occurred: [build] proj i686-w64-mingw32.static [done] proj …
HIq
  • 105
  • 6
1
vote
1 answer

Cross compiling probem - rdynamic

I've been trying to cross-compile the library libsound to windows 10 on wsl2. I used the steps described in the library's github. Session "Building for Windows" However, I faced some problems during cmake execution: cmake ..…
andre.hre
  • 61
  • 9
1
vote
0 answers

Qt Application becomes larger than screen if QDockWidget becomes visible

I have old Qt C++ Application which works perfectly in Desktop or Laptop. I am now trying to make it work in a High DPI touchscreen embedded device having 10 inch screen having 1920 X 1200 Resolution. The device is running Windows 10. I am using MXE…
abhiarora
  • 9,743
  • 5
  • 32
  • 57
1
vote
0 answers

Error with Python when I trying to cross compiling a Qt project

I'm trying to make a cross compilation of my c++ qt project using MXE. The environment is well configured and works fine, but not if there are a python code in. My goal is build a static exe for Windows of my project under linux. Actually, there is…
user3733164
  • 531
  • 4
  • 17
1
vote
0 answers

missing package in MXE

I've made a C++ project in Qt. My app shows short video using QMediaPlayer and QVideoWidget. Everything works fine when I compile it in Qt. I'm a Linux user. The problems starts when I try to cross compile it in MXE. I have got an error: Project…
emet
  • 41
  • 3
1
vote
0 answers

MXE + CMake: How do you deploy statically linked Qt application on Windows?

I have cross-compiled my Qt application with MXE against a statically linked Qt 5.11 on Ubuntu. I'm using MXE's CMake wrapper. When I try to run my application on an actual Windows machine I get: "This application failed to start because no Qt…
juzzlin
  • 45,029
  • 5
  • 38
  • 50