December 28, 2010

davidec davidec
Lab Rat
5 posts

WinCE 6 (ARMV4i): simple application doesnt show

 

Hi,
i’m trying to port my application from Win to CE using QT.
In this thread:
http://developer.qt.nokia.com/forums/viewthread/2829/
I have found a solution to my first problem (crash when run the application).

A small summary of my scenario:

  • VS2008 Pro on XP
  • QT4.7.1 cross compiled for WinCE5 ARMV4i VS2008
  • “Hello world” application running on my WinCE5 device

when i try to run it on my WinCE6(ARMV4I) device nothing happens, ie i have no crash but the GUI doesn’t show up

NOTE: i have not recompiled QT against a different SDK (for CE6) cause CE6 is compatible with CE5

4 replies

December 28, 2010

Milot Shala Milot Shala
Lab Rat
371 posts

This happened to me once, the problem was with libraries that I included, the libraries didn’t match I had to copy again from my Qt build directory. Can you confirm you have the right libraries copied to your directory where you have your binary?

December 28, 2010

davidec davidec
Lab Rat
5 posts

I have checked, and they are correct…

December 28, 2010

Milot Shala Milot Shala
Lab Rat
371 posts

Have you checked this document? [doc.qt.nokia.com] also this [doc.qt.nokia.com] might help.

January 18, 2011

Tpimp Tpimp
Ant Farmer
6 posts

Hello I am the author of the project HERE [smartqmid.com] and I would like to help.

After reading your first post it reminded me of the week long attempt I made at compiling Qt for Windows Mobile then for Wince 6. Through my struggles I managed to accomplish both and have began a tutorial (still needs some work) to help others in this struggle. You can find that HERE [smartqmid.com]

Anyhow, enough introduction. I personally think your issue is similar to what Milot spoke of.

Your configuration for Qt compilation may work fine when using the application on wince 5. But the compiled libraries may contain some dependencies that are not located on your windows ce 6 device. Keep in mind that not all builds of windows ce are created equally. Each “rom” is built using platform builder, and depending on what options were provided by OEM/rom developer, your Qt libraries may be incompatible. That’s where Qt configuration variables come into play. Some versions of wince don’t provide cursor function and other options, so don’t include cursor functionality in the compilation or whatever is not available in YOUR specific build. You need to determine what is available to your wince 6 environment and build a custom configured Qt environment to fit it.I don’t know how to check specifically on the device what features are available; I had to build 8 times before I got one working.

Check out my tutorial and try the application I am working on (links above) and see if that helps/runs for you.

If you would post more about your device/environment: like screen pixel count,amount of available memory, device model/ manufacturer, I might be able to help more.

 
  ‹‹ (SOLVED)WINCE Shadow build: how to verify if it is correct?      What is the best reference phone(s) for Qt development? ››

You must log in to post a reply. Not a member yet? Register here!