[Qt-interest] Running QtWebKit Application on Windows Mobile 5

Marco Borm qt-lists at retrodesignfan.eu
Mon Mar 23 09:39:52 CET 2009


Hi Tumarov,

a little correction: Additional DLLs (with code) you copy to the device 
are always loaded into slot _0_, which is the same slot where your 
process code and data is mapped into and executed. DLLs the manufacturer 
placed into the OS-image _can_ be loaded into slot 1 if they are 
correctly marked as XIP (eXecute In Place), if not there are also loaded 
into slot 0.
I have a Qtek 9000 running WM5 with 9MB left in slot 1 (unusable for me) 
and 10MB left in slot 0. Because the code and data of my process also 
need to load into slot 0 its impossible to load a DLL larger then about 
5-6MB.

Glad to help you!


Marco

Tumarov Alexander wrote:
> After reading relevant web pages about memory layout in WinCE I tried to
> compile QT with -static.
> It works now. Slowly (but I believe that it is CPU who is too slow...) , but
> works.
> I found the information that in WM5 ALL DLLs that in simple word contain
> shared code portions are going into 1 slot (32 MB). I need webkit, network,
> xml, and gui - all together is about 10-12 MB so it easily can be the case
> it doesn't fit the slot (system DLLs are sitting there as well).
> Now it works.
>
> Thank you.
>
> Marco Borm wrote:
>
>   
>> Hi Alexander,
>>
>> If you checked all dependencies and this isn't the problem:
>> Maybe you don't have enough space in your process slot. Try the same on
>> a Windows Mobile 6.1 (emulator or not) which has a extra slot for large
>> dlls.
>>
>> Marco
>>
>> Tumarov Alexander wrote:
>>     
>>> Hi everybody.
>>>
>>> May be I am facing "known problem..." but I do not succeed in finding a
>>> way to solve it.
>>>
>>> I have Visual Studio 2005 + Pocket PC SDK.
>>> Unpacked qt 4.5 embedded-wince (open source). Compilation went fine
>>> (shared, debug and release versions).
>>> When I am trying to run examples without webkit - everything I tried so
>>> far was successfully deployed to emulator and run. When I try to run
>>> anything with webkit inside I get all the time the same error like(on
>>> emulator) : Unable to start program
>>> '%CSIDL_PROGRAM_FILES%\wktest\wktest.exe\/ An error occured that usually
>>> indicates a coruupt installation (code 0x8007007e). If the problem
>>> persist...
>>>
>>> When I try to run program on device itself I get this:
>>> "The file 'wktest' 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.
>>>
>>> Is there anything that can be done to solve this?
>>>
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>>
>>>
>>>       
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>   




More information about the Qt-interest-old mailing list