[Qt-wince-interest] Error while executing qt on winCE
Saravanan Ponnuswamy
psaravanan81 at gmail.com
Mon Jun 16 12:40:06 CEST 2008
HIi Maurice,
Let me tell you the full scenario. THe device is GPS device,
the processor type: Centrality, ARM926T-AT 4X0A and the Windows CE version
is 5.00. I got standard SDK and customized SDK along with the board. I
tried compiling Qt with both SDKs, but still the problem persists.
with regards,
saravanan
On Mon, Jun 16, 2008 at 3:51 PM, Maurice Kalinowski <mkalinow at trolltech.com>
wrote:
> Hi,
>
> Saravanan Ponnuswamy wrote:
> > /Load module: ole32.dll
> > Load module: commctrl.dll
> > Load module: shcore.dll
> > Load module: ceshell.dll
> > ERROR: function @ Ordinal 8375750 missing in Module 'ole32.dll'
> > !!! Please Check your SYSGEN variable !!!
> > Lib: QtGuid4.dll
> > QtGuid4.dll : Could not be loaded
> > : Could not be loaded
> > /
> This is the part we were interested in. Usually we can figure out, which
> symbol is missing on runtime. To identify it one can run the following
> command on the .lib
> link /dump /all <foo>.lib | grep -B3 Ordinal
>
> For the cursor support this is ordinal number 724 which then again
> results in DestroyCursor missing. The problem now is, that we cannot
> find the ordinal number you pasted inside the Standard SDK. Thus we
> cannot figure out, which symbol is missing on the device.
>
> Just to be sure, you do have the Standard SDK for Windows CE 5 installed
> on your system available at:
>
> http://www.microsoft.com/downloads/details.aspx?familyid=fa1a3d66-3f61-4ddc-9510-ae450e2318c3&displaylang=en
>
> Does your device run Windows CE 5 and not 4.2? Can you tell us on which
> device you actually try to run Qt on? Does the device vendor deliver a
> SDK on their own?
>
> I will try to investigate a little bit more on this problem today, but
> I'd really appreciate any information you can share about your scenario.
>
>
> Best Regards,
>
> Maurice Kalinowski
>
>
> > /
> > /But actually i deployed the application through Visual Studio 2005.
> > This created a directory and placed all the files -- the
> > t1.exe,QtCored4.dll,QtGuid4.dll and msvcr80d.dll on that directory.
> > Then also its showing the error.
> >
> > with regards,
> > saravanan.
> > On Mon, Jun 16, 2008 at 2:18 PM, Maurice Kalinowski
> > <mkalinow at trolltech.com <mailto:mkalinow at trolltech.com>> wrote:
> >
> > Hi,
> >
> >
> > Saravanan Ponnuswamy wrote:
> >
> >
> > i had compiled the examples alone with debug option and
> > deployed it. When i run it in debug mode, it says:
> >
> > I guess you did recompile whole Qt with the no cursor option? Are
> > all libraries (QtCored4.dll, QtGuid4.dll, msvcr80d.dll) deployed
> > correctly to the device?
> >
> >
> >
> > Am i missing something more ?
> >
> > It seems like your device is definitely not compatible with the
> > Standard SDK. This error message is usually originated in some
> > feature not available during runtime on the device.
> > I have attached some code snippet. That one tries to load the Qt
> > libraries and bails out with an error message describing the
> > feature missing.
> > Could you please build it and start it from Visual Studio in a
> > directory where the Qt libraries are located as well? It is
> > important to have both in the same directory.
> >
> > This should give us some more information.
> >
> >
> > Best Regards,
> >
> > Maurice Kalinowski
> >
> >
> > with regards,
> > saravanan
> >
> >
> > On Mon, Jun 16, 2008 at 12:29 PM, Maurice Kalinowski
> > <mkalinow at trolltech.com <mailto:mkalinow at trolltech.com>
> > <mailto:mkalinow at trolltech.com
> > <mailto:mkalinow at trolltech.com>>> wrote:
> >
> > Hi again,
> >
> >
> > Saravanan Ponnuswamy wrote:
> >
> >
> > i tried compiling Qt with the following options:
> > -platform win32-msvc2005 -xplatform
> > wince50standard-armv4i-msvc2005 -D QT_NO_CURSOR=1
> >
> > ,but this inturn lead to the following error:
> >
> > Yes, as you are disabling functionality and some of our
> > applications depend on it, it might end up in some parts not
> > compiling. But the source should be fine, so you can use
> > nmake sub-src
> > to just build the sources and not the designer tools.
> > Most examples should also be fine with it. We will try to
> > address
> > this issue, thank you for reporting.
> >
> >
> >
> > Actually the version of qt i'm using is
> > :qt-embedded-wince-opensource-src-4.4.0-rc1.
> >
> > is this the correct version ?
> >
> > The RC1 stands for Release Candidate, which is not the latest
> > version available. Please follow this link to get the latest
> > version of Qt for Windows CE:
> > http://trolltech.com/downloads/opensource
> >
> > As mentioned, some parts in tools will not compile due to
> > missing
> > cursor support.
> >
> >
> > Best Regards,
> >
> > Maurice Kalinowski
> >
> >
> >
> >
> >
> ######################################################################
> > # Automatically generated by qmake (2.01a) Thu Mar 6 14:59:37 2008
> >
> ######################################################################
> >
> > TEMPLATE = app
> > TARGET = QtVerify
> > DEPENDPATH += .
> > INCLUDEPATH += .
> > QT =
> > CONFIG -= qt
> >
> > # Input
> > SOURCES += qtverify.cpp
> >
> > // QtVerify.cpp : A small application which checks if Qt main
> > libraries are loadable
> > // if they are not Visual Studio returns the missing symbol.
> > //
> >
> > #include <windows.h>
> > #include <commctrl.h>
> >
> > int WINAPI WinMain(HINSTANCE /*instance*/, HINSTANCE
> > /*prevInstance*/, LPWSTR /*wCmdParam*/, int /*cmdShow*/)
> > {
> > wchar_t* libraries[] = {
> > L"aygshell.dll",
> > L"coredll.dll",
> > L"msvcr80d.dll",
> > L"QtCored4.dll",
> > L"QtGuid4.dll",
> > 0
> > };
> >
> > for (int i = 0; libraries[i] != 0; ++i) {
> > HINSTANCE instance = LoadLibraryW(libraries[i]);
> > wprintf(L"Lib: %s\n" , libraries[i]);
> > OutputDebugStringW(libraries[i]);
> > if (instance != NULL) {
> > OutputDebugStringW(L" : Successfully instantiated\n");
> > wprintf(L" : Successfully instantiated\n");
> > FreeLibrary(instance);
> > } else {
> > OutputDebugStringW(L" : Could not be loaded\n");
> > wprintf(L" : Could not be loaded\n");
> > }
> > }
> > return 0;
> > }
> >
> >
> > _______________________________________________
> > Qt-wince-interest mailing list
> > Qt-wince-interest at trolltech.com
> > <mailto:Qt-wince-interest at trolltech.com>
> > http://lists.trolltech.com/mailman/listinfo/qt-wince-interest
> >
> >
>
> _______________________________________________
> Qt-wince-interest mailing list
> Qt-wince-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-wince-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-wince-interest/attachments/20080616/86d27b79/attachment.html
More information about the Qt-wince-interest
mailing list