Cross compiling Qt5 on Linux for Windows

I recently used this guide to cross-compile a program for Windows on Linux: Building Qt 5 on Linux, for Windows

However, when I compile the program, the executable that is created is broken and does not start the program. Instead, there is an error and only the option to close it. It would be nice if someone could answer the question why he is doing this. Below I will give a few facts. Please be specific in your answer (for example, if the reason is that I could use something in a graphical interface that is not available for Windows, please provide examples of what cannot be used between operating systems) I am in about the middle of the initial level when it comes to using Qt, so forgive me in advance if I ask for an additional explanation in the answers.

  • Compilation with Qt Creator 2.8.1 (based on 5.1.1)
  • Using Crunchbang 11 (based on Debian 7.0)
  • Tested with "cd mxe & make make qtbase" and then "cd mxe & make qt5"
  • Error caused by program execution (wine): Pastebin: Wine Error
  • Debugging displayed in the terminal during program execution: Pastebin: Debugging
  • The program does not work in a normal Windows 7 environment.
  • Build Log: Pastebin: Build Log

It may take me a couple of hours from the start time to continue. I thank in advance all who make a positive contribution.

+4
source share
1 answer

ArchLinux Windows.
DLL Windows? :

platforms <DIR>
 - qminimal.dll
 - qwindows.dll
sqldrivers <DIR>
 - qsqlite.dll
icudt51.dll
icuin51.dll
icuuc51.dll
libgcc_s_dw2-1.dll
libstdc++-6.dll
libwinpthread-1.dll
Qt5Core.dll
Qt5Gui.dll
Qt5Sql.dll
Qt5Widgets.dll

DLL. MinGW, . DLL. SQLite, DLL.

0

All Articles