[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mingw-cross-env-list] Deploying Qt 5 applications on Windows
From: |
Paul Boddie |
Subject: |
[Mingw-cross-env-list] Deploying Qt 5 applications on Windows |
Date: |
Tue, 6 May 2014 17:17:14 +0200 |
User-agent: |
KMail/1.12.4 (Linux/2.6.32-431.11.2.el6.x86_64; KDE/4.3.4; x86_64; ; ) |
Hello,
A while back I started looking at building Qt 5 applications and got the
libraries to build successfully, but I'm not having much luck getting the
actual applications to run. I'm building them as follows:
.../mxe/usr/i686-pc-mingw32.static/qt5/bin/qmake
PATH=.../mxe/usr/bin:$PATH make
This then gives me a single .exe which I presume can be deployed. Before
actually deploying on Windows, I attempted to run the program using Wine and
got an error resembling the following:
fixme:system:SetProcessDPIAware stub!
wine: Unhandled page fault on read access to 0x00000000 at address 0xe5ca5b
(thread 0009), starting debugger...
Attempting to run the same program on Windows 7 Professional just gives me an
unhelpful Windows dialogue box more or less telling me that the program
crashed.
Attempting to run sqlite3.exe, found amongst the mxe build products, using
Wine and an existing database seemed to work fine, so MXE seems to be working
in principle.
Am I overlooking something here? Should Qt 5 applications be explicitly
statically built? I didn't see any .dll files in the mxe build results, so I
wonder whether the executable (even though it is around 20MB in size) is
actually statically built already or whether it needs additional libraries.
Paul
- [Mingw-cross-env-list] Deploying Qt 5 applications on Windows,
Paul Boddie <=