mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Qt5 Shared / Travis-CI


From: Jonathan Greig
Subject: Re: [Mingw-cross-env-list] Qt5 Shared / Travis-CI
Date: Fri, 7 Mar 2014 11:04:29 -0600

Tony, I saw your message and since you were at least able to get it running, can you tell me what DLL's you used? I built both x86_64 and i686 w64 targets and am now testing the i686 one. I just did a check through and updated our previous notes on deployment dependencies to reflect what DLL's are needed on a native windows build and which ones are needed on an MXE build and it seems that 4 DLL's that I think should be in MXE just do not exist. I keep getting the cannot find Qt platform plugin message rather than it starting.

Here is my list of deployment dependencies:

##########################################################################################################
# Qt5 Deployment:          # Native/MXE # Found in MXE Location:                                         #
##########################################################################################################
# embroidermodder2.exe     #            #                                                                #
# D3DCompiler_##.dll       #            #                                                                #
# icudt##.dll              #  Required  # /path/to/mxe/usr/i686-w64-mingw32.shared/lib                   #
# icuin##.dll              #  Required  # /path/to/mxe/usr/i686-w64-mingw32.shared/lib                   #
# icuuc##.dll              #  Required  # /path/to/mxe/usr/i686-w64-mingw32.shared/lib                   #
# libEGL.dll               #            #                                                                #
# libgcc_s_sjlj-#.dll      #  Required  # /path/to/mxe/usr/lib/gcc/i686-w64-mingw32.shared/4.8.2         #
# libGLESv2.dll            #            #                                                                #
# libstdc++-6.dll          #  Required  # /path/to/mxe/usr/lib/gcc/i686-w64-mingw32.shared/4.8.2         #
# libwinpthread-#.dll      #            #                                                                #
# Qt5Core.dll              #  Required  # /path/to/mxe/usr/i686-w64-mingw32.shared/qt5/bin               #
# Qt5Gui.dll               #  Required  # /path/to/mxe/usr/i686-w64-mingw32.shared/qt5/bin               #
# Qt5OpenGL.dll            #  Required  # /path/to/mxe/usr/i686-w64-mingw32.shared/qt5/bin               #
# Qt5PrintSupport.dll      #  Required  # /path/to/mxe/usr/i686-w64-mingw32.shared/qt5/bin               #
# Qt5Script.dll            #  Required  # /path/to/mxe/usr/i686-w64-mingw32.shared/qt5/bin               #
# Qt5ScriptTools.dll       #  Required  # /path/to/mxe/usr/i686-w64-mingw32.shared/qt5/bin               #
# Qt5Widgets.dll           #  Required  # /path/to/mxe/usr/i686-w64-mingw32.shared/qt5/bin               #
# platforms/qwindows.dll   #  Required  # /path/to/mxe/usr/i686-w64-mingw32.shared/qt5/plugins/platforms #
# libpcre16-0.dll          #  MXE Only  # /path/to/mxe/usr/i686-w64-mingw32.shared/bin/libpcre16-0.dll   #
# zlib1.dll                #  MXE Only  # /path/to/mxe/usr/i686-w64-mingw32.shared/bin/zlib1.dll         #
# libpng16-16.dll          #  MXE Only  # /path/to/mxe/usr/i686-w64-mingw32.shared/bin/libpng16-16.dll   #
##########################################################################################################

Clearly I'm missing something and MXE does not make 4 of the DLL's.

Cheers,
Jonathan



On Fri, Mar 7, 2014 at 8:53 AM, Tony Theodore <address@hidden> wrote:

On 7 Mar 2014, at 23:43, Jonathan Greig <address@hidden> wrote:

Mark,
I tried again after manually deleting the files that "make distclean" takes care of and tried again but it still doesn't work. So next I compiled the qt5 mdi example(just because our app is mdi based but implemented differently) and the mdi.exe works fine thru wine as well as in my VM. So I think you might be right, something either in our sources or possibly our .pro file isn't exposed anywhere else but when using MXE. I'll dive into the problem deeper, I'll do a fresh clone of our code and start systematically dismembering it until it works so I can pinpoint the problem. I'll post what it is when I find it since it is quite mysterious.

Coming to the conversation late, but I’ll second Mark’s earlier comment about not seeing issues like that, and can confirm that the steps will lead to failing executable. Qt on master is generally very “stable”.

After that, then I'll try a shared MXE build.

The shared build does work (opens up with a blank “Tip of the Day”), though these are still early and undocumented. You’ll need to use the *-w64-* targets (there’s an issue with gnutls on i686-pc-mingw32.shared that is very hard to resolve):

make qt5 MXE_TARGETS='x86_64-w64-mingw32.shared i686-w64-mingw32.shared' -j4

Note that this will also build qtwebkit so you may want to specify the submodules you want instead of the full qt5.

Cheers,

Tony









reply via email to

[Prev in Thread] Current Thread [Next in Thread]