[Interest] packaging a build

Alex Malyushytskyy alexmalvtk at gmail.com
Fri Sep 7 01:09:10 CEST 2012


> Does anyone have an idea what's going on, or has anyone tried releasing
> something with qt5 and MSVC?

I have not tried, Qt5 but I do not believe in mysteries,
you are missing dependency or provide wrong executable ( debug for example)

First thing to check is CRT (MSVCRT*****.dll),
other computer may have them named the same, but in reality they might
be different version.
The best solution - provide CRT libraries you link against with your
application.
Simplest to try - put them all in the folder with your executable.

Then check all dependencies of your dependencies ( QT , ICU, etc)

Alex


On Thu, Sep 6, 2012 at 2:52 PM, Morgan McKenzie <speedin_up at hotmail.com> wrote:
> Hi,
>
> I've built a sample application for a school project and I'm trying hand it
> in. However, it doesn't seem to work on any computer other than mine
> (windows 7 64 bit)....  There's no error message - it simply starts and
> immediately exits (no window opened)
>
> It was built with the Qt5 beta using MSVC 2010 32-bit.
>
> I've just been trying to add .dll files into the folder in the hope that
> that would make it work. I've tried using the Dependency Walker, but it
> didn't seem to be missing anything on the other computers that it had on
> mine.
>
> So far I've added:
>
> Application.exe (my application)
> Qt3D5.dll
> Qt3DQuick5.dll
> QtCore5.dll
> QtGui5.dll
> QtNetwork5.dll
> QtQml5.dll
> QtQuick5.dll
> QtQuickParticles5.dll
> QtV85.dll
> icudt49.dll
> icuin49.dll
> icuuc49.dll
>
> When I run it on my computer (which has the most recent version of Visual
> Studio 2010 Re-distributable on it) it works fine, but on another Windows 7
> 64 bit computer, also with 2010 re-distributable installed, it does not
> work.
>
> Does anyone have an idea what's going on, or has anyone tried releasing
> something with qt5 and MSVC?
>
> I could also upload the files in a zip somewhere if that'd help - let me
> know!
>
> Thanks!
>
> Morgan McKenzie
>
>
>
>
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>



More information about the Interest mailing list