I’m trying to build the Qt 5.3.2 library for WEC7. For this purpose I followed those guidelines:
Windows CE – Working with Custom SDKs [qt-project.org]
Installing Qt for Windows CE [qt-project.org]
If fulfilled all requirements. My Setup:
• Visual Studio 2008 Professional SP1
• Active Perl 5.3.16
• Windows Embedded Compact 7
• ARM Platform: Freescale i.MX6
I created a Custom Build Specification:
• Created wince70embedded-iMX6-msvc2008 based on wince70embedded-armv4i-msvc2008
• Set CE_SDK = phyFLEX-i.MX6 SDK
• Set CE_ARCH = ARMv4I
• Added Preprocessor Definitions UNDER_CE, WINCE, $(ARCHFAM), $(ARCHFAM), _UNICODE, UNICODE
Afterwards I
• Added C:\Qt\5.3.2_CE\qtbase\bin to PATH
• Used vcvars32.bat to set Environment variables
• configure -platform win32-msvc2008 -xplatform wince70embedded-iMX6-msvc2008
• Build using nmake
After a while the build fails with:
accessible\qaccessiblecache.cpp(69) : error C2143: syntax error : missing ';' be
fore '{'
accessible\qaccessiblecache.cpp(76) : error C2143: syntax error : missing ';' be
fore '}'
accessible\qaccessiblecache.cpp(79) : error C2143: syntax error : missing ';' be
fore '}'
accessible\qaccessiblecache.cpp(81) : error C2653: 'QAccessible' : is not a clas
s or namespace name
accessible\qaccessiblecache.cpp(82) : error C2143: syntax error : missing ';' be
fore '{'
accessible\qaccessiblecache.cpp(84) : error C2143: syntax error : missing ';' be
fore '}'
accessible\qaccessiblecache.cpp(86) : error C2653: 'QAccessible' : is not a clas
s or namespace name
accessible\qaccessiblecache.cpp(86) : error C2065: 'QAccessibleInterface' : unde
clared identifier
accessible\qaccessiblecache.cpp(86) : error C2065: 'iface' : undeclared identifi
er
accessible\qaccessiblecache.cpp(86) : error C2143: syntax error : missing ',' be
fore ')'
accessible\qaccessiblecache.cpp(87) : error C2143: syntax error : missing ';' be
fore '{'
accessible\qaccessiblecache.cpp(88) : error C2143: syntax error : missing ',' be
fore ')'
accessible\qaccessiblecache.cpp(92) : error C2143: syntax error : missing ',' be
fore ')'
accessible\qaccessiblecache.cpp(93) : error C2143: syntax error : missing ',' be
fore ')'
accessible\qaccessiblecache.cpp(95) : error C2653: 'QAccessible' : is not a clas
s or namespace name
accessible\qaccessiblecache.cpp(97) : error C2143: syntax error : missing ',' be
fore ')'
accessible\qaccessiblecache.cpp(98) : error C2143: syntax error : missing ';' be
fore '{'
accessible\qaccessiblecache.cpp(99) : error C2065: 'id' : undeclared identifier
accessible\qaccessiblecache.cpp(100) : error C2355: 'this' : can only be referen
ced inside non-static member functions
accessible\qaccessiblecache.cpp(100) : error C2143: syntax error : missing ',' b
efore ')'
accessible\qaccessiblecache.cpp(101) : error C2143: syntax error : missing ';' b
efore '}'
accessible\qaccessiblecache.cpp(102) : error C2065: 'iface' : undeclared identif
ier
accessible\qaccessiblecache.cpp(104) : error C2143: syntax error : missing ';' b
efore '}'
accessible\qaccessiblecache.cpp(107) : error C2143: syntax error : missing ';' b
efore '{'
accessible\qaccessiblecache.cpp(108) : error C2653: 'QAccessible' : is not a cla
ss or namespace name
accessible\qaccessiblecache.cpp(109) : error C2143: syntax error : missing ';' b
efore '{'
accessible\qaccessiblecache.cpp(110) : error C2143: syntax error : missing ',' b
efore ')'
accessible\qaccessiblecache.cpp(111) : error C2065: 'obj' : undeclared identifie
r
accessible\qaccessiblecache.cpp(112) : error C2143: syntax error : missing ';' b
efore '}'
accessible\qaccessiblecache.cpp(113) : error C2143: syntax error : missing ';' b
efore '}'
accessible\qaccessiblecache.cpp(115) : error C2653: 'QAccessible' : is not a cla
ss or namespace name
accessible\qaccessiblecache.cpp(115) : error C2065: 'obj' : undeclared identifie
r
accessible\qaccessiblecache.cpp(115) : error C2275: 'QObject' : illegal use of t
his type as an expression
accessible\qaccessiblecache.cpp(115) : error C2143: syntax error : missing ',' b
efore ')'
accessible\qaccessiblecache.cpp(116) : error C2143: syntax error : missing ';' b
efore '{'
accessible\qaccessiblecache.cpp(127) : error C2143: syntax error : missing ';' b
efore '}'
accessible\qaccessiblecache.cpp(130) : error C2143: syntax error : missing ';' b
efore '}'
accessible\qaccessiblecache.cpp(130) : fatal error C1004: unexpected end-of-file
found
Generating Code...
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\\ce\bin\x86_arm\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
The List is longer, but I can’t post it all.
What am I doing wrong? I’m new to QT and WEC7, so I hope you can point in the right direction.
↧