[Qtce-preview-feedback] Failure to build executables for Windows CE 5.0 / Qt-WinCE-preview-4.4.0

Maik Friedmann maik.friedmann at googlemail.com
Mon Mar 10 09:43:36 CET 2008


I compiled Qt4.4.0-beta1 from source with the configure parameter "-D
QT_NO_CURSOR=1".
But the following errors occured. Is there anything I forgot?


..\..\..\..\shared\qtpropertybrowser\qtpropertymanager.cpp(3270) :
warning C4305: 'argument' : truncation from 'int' to 'qreal'
..\..\..\..\shared\qtpropertybrowser\qtpropertymanager.cpp(3270) :
warning C4305: 'argument' : truncation from 'int' to 'qreal'
..\..\..\..\shared\qtpropertybrowser\qtpropertymanager.cpp(4075) :
warning C4305: 'argument' : truncation from 'int' to 'qreal'
..\..\..\..\shared\qtpropertybrowser\qtpropertymanager.cpp(4075) :
warning C4305: 'argument' : truncation from 'int' to 'qreal'
..\..\..\..\shared\qtpropertybrowser\qtpropertymanager.cpp(6248) :
error C2248:'QCursor::QCursor' : cannot access private member declared
in class 'QCursor'
        c:\qt\4.4.0-beta1\include\qtgui\../../src/gui/kernel/qcursor.h(70)
: see declaration of 'QCursor::QCursor'
        c:\qt\4.4.0-beta1\include\qtgui\../../src/gui/kernel/qcursor.h(64)
: see declaration of 'QCursor'
..\..\..\..\shared\qtpropertybrowser\qtpropertymanager.cpp(6288) :
error C2039:'shape' : is not a member of 'QCursor'
        c:\qt\4.4.0-beta1\include\qtgui\../../src/gui/kernel/qcursor.h(64)
: see declaration of 'QCursor'
..\..\..\..\shared\qtpropertybrowser\qtpropertymanager.cpp(6288) :
error C2039:'shape' : is not a member of 'QCursor'
        c:\qt\4.4.0-beta1\include\qtgui\../../src/gui/kernel/qcursor.h(64)
: see declaration of 'QCursor'
..\..\..\..\shared\qtpropertybrowser\qtpropertymanager.cpp(6288) :
error C2039:'shape' : is not a member of 'QCursor'
        c:\qt\4.4.0-beta1\include\qtgui\../../src/gui/kernel/qcursor.h(64)
: see declaration of 'QCursor'
..\..\..\..\shared\qtpropertybrowser\qtpropertymanager.cpp(6302) :
error C2248:'QCursor::QCursor' : cannot access private member declared
in class 'QCursor'
        c:\qt\4.4.0-beta1\include\qtgui\../../src/gui/kernel/qcursor.h(70)
: see declaration of 'QCursor::QCursor'
        c:\qt\4.4.0-beta1\include\qtgui\../../src/gui/kernel/qcursor.h(64)
: see declaration of 'QCursor'
qteditorfactory.cpp
qtvariantproperty.cpp
..\..\..\..\shared\qtpropertybrowser\qtvariantproperty.cpp(650) :
error C2440: '<function-style-cast>' : cannot convert from 'const
QCursor' to 'QVariant'
        No constructor could take the source type, or constructor
overload resolution was ambiguous
..\..\..\..\shared\qtpropertybrowser\qtvariantproperty.cpp(1332) : error C2664:
'QVariant::QVariant(QVariant::Type)' : cannot convert parameter 1 from
'QCursor' to 'QVariant::Type'
        No user-defined-conversion operator available that can perform
this conversion, or the operator cannot be called
qttreepropertybrowser.cpp
qtbuttonpropertybrowser.cpp
qtgroupboxpropertybrowser.cpp
qtpropertybrowserutils.cpp
..\..\..\..\shared\qtpropertybrowser\qtpropertybrowserutils.cpp(131) :
error C2039: 'shape' : is not a member of 'QCursor'
        c:\qt\4.4.0-beta1\include\qtgui\../../src/gui/kernel/qcursor.h(64)
: see declaration of 'QCursor'
..\..\..\..\shared\qtpropertybrowser\qtpropertybrowserutils.cpp(140) :
error C2440: '<function-style-cast>' : cannot convert from 'const
Qt::CursorShape' to 'QCursor'
        No constructor could take the source type, or constructor
overload resolution was ambiguous
..\..\..\..\shared\qtpropertybrowser\qtpropertybrowserutils.cpp(141) :
error C2248: 'QCursor::QCursor' : cannot access private member
declared in class 'QCursor'
        c:\qt\4.4.0-beta1\include\qtgui\../../src/gui/kernel/qcursor.h(70)
: see declaration of 'QCursor::QCursor'
        c:\qt\4.4.0-beta1\include\qtgui\../../src/gui/kernel/qcursor.h(64)
: see declaration of 'QCursor'
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\ce\bin\x86_arm\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\bin\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.




On Mon, Mar 10, 2008 at 9:34 AM, Maurice Kalinowski
<mkalinow at trolltech.com> wrote:
> Maik Friedmann wrote:
> > Again Hi,
> >
> > I have mistakes in running the QtVerify application Maurice sent.
> > I tested again and see that the error occurs when loading the QtGuid4.dll.
> >
> > Load module: oleaut32.dll
> > ERROR: function @ Ordinal 724 missing in Module 'coredll.dll'
> > !!! Please Check your SYSGEN variable !!!
> > QtGuid4.dll : Could not be loaded
> > Unload module: ole32.dll
> >
> Thank you very much, as that helps us a lot.
>
> Windows CE by default compiles in complete cursor support. Unfortunately
> it is not guaranteed that the device has a cursor and thus supports this
> API. We have recognized similar issues when trying to compile for the
> Standard SDK and execute the application on a Windows Mobile device
> (which doesn't have a cursor for instance).
>
> So, the solution for this is, to specify "-D QT_NO_CURSOR=1" in the
> configure line. This will disable the cursor support and your
> application should successfully start on your device.
> Btw. this does not influence mouse press/release events or such. It's
> only used for displaying the cursors.
>
>
> Best Regards,
>
> Maurice Kalinowski
>
>
> _______________________________________________
> Qtce-preview-feedback mailing list
> Qtce-preview-feedback at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qtce-preview-feedback
>



More information about the Qt-wince-interest mailing list