Build: ok, run: not ok
Thomas Hartmann
thartman at trolltech.com
Fri Oct 19 15:08:29 CEST 2007
Hi,
Yes, it looks like a dll is not deployed to the device/emulator or is
missing. Do you have additional dependencies?
Depends works fine for Windows CE executables. You just have to add the
the Qt/WinCE and WindowsCE lib/dll paths in options.
Regards,
Thomas Hartmann
Pierre-Nicolas Rigal wrote:
>
> Hello,
>
> I’m running the technology preview :
> qt-wince-preview-commercial-src-4.3CEconan (downloaded 09/18).
>
> I’m running Visual Studio 2005, I choose VM 5.0 Emulator as a target.
>
> Qt is compiling and running pretty well on the emulator, using VC2005
> to deploy.
>
> I checked out my source, I generated the vcproj and then start the
> build with VC2005.
>
> I #ifndef’ed all the parts that are a bit too specific to compile.
> Everything compiles now without error.
>
> When I deploy, I can see VC2005 uploading runtime DLL, Qts DLL:
>
> ------ Deploy started: Project: gdc, Configuration: Debug Windows
> Mobile 5.0 Pocket PC SDK (ARMV4I) ------
>
> E:\qt\qt-wince-preview-commercial-src-4.3CEconan\lib\QtSvgd4.dll
>
> E:\qt\qt-wince-preview-commercial-src-4.3CEconan\lib\QtXmld4.dll
>
> E:\qt\qt-wince-preview-commercial-src-4.3CEconan\lib\QtGuid4.dll
>
> E:\qt\qt-wince-preview-commercial-src-4.3CEconan\lib\QtNetworkd4.dll
>
> E:\qt\qt-wince-preview-commercial-src-4.3CEconan\lib\QtCored4.dll
>
> e:\Program Files\Microsoft Visual Studio 8\VC\ce\dll\ARMV4I\msvcr80d.dll
>
> e:\cvs\gdc\bin\gdcd.exe
>
> Then I get the following message:
>
> >>>
>
> Unable to start program ‘%CSIDL_PROGRAM_FILES%\gdc\gdcd.exe’.
>
> An error occurred that usually indicates a corrupt installation (code
> 0x8007007e). If the problem persists, repair your Visual Studio
> installation via ‘Add or Remove Programs’ in Control Panel.
>
> <<<
>
> If I go to the Emulator, start manually the program, I get:
>
> >>>
>
> The file ‘gdcd’ cannot be opened. Either it is not signed with a
> trusted certificate, or one of its components cannot be found. You
> might need to reinstall or restore this file.
>
> <<<
>
> I presume there is one dependency missing which is not uploaded to the
> emulator.
>
> I tried to use depends.exe with my “gdcd.exe”, but I’m not sure
> whether this can help for a cross compiled executable.
>
> Any idea where I should look at ?
>
> Regards,
>
> Pierre-Nicolas
>
> *From:* Maurice Kalinowski [mailto:mkalinow at trolltech.com]
> *Sent:* mardi 9 octobre 2007 07:58
> *To:* qtce-preview-feedback at trolltech.com
> *Subject:* Re: Build: ok, run: not ok
>
> Hi,
>
> which version of Qt/WinCE are you using? If it is the Technology
> Preview, then the C-runtime should have been automatically deployed
> too. May you verify that this is true? I feel like this might be
> something going wrong in your case and I am interested to know,
> whether this is the issue.
>
> In theory it should be no problem to port a desktop Qt application to
> Windows CE. The less native code you use, the better. If you use
> native implementations, then you might get into trouble because of
> missing functions/libraries on the Windows CE side.
>
> Espen Riskedal is coming to Munich for the DevDays, so you will be
> able to talk to him then. Enjoy your trip.
>
> Best Regards,
>
> Maurice Kalinowski
>
More information about the Qtce-preview-feedback
mailing list