Build Qt 5.x WinCE 6.0
-
@Delphi251189 said in Build Qt 5.x WinCE 6.0:
Is it possible to build Qt once for all target machines???
If the architecture is same (x86) should work
Thanks jsulm for replay.
Is ther any working instruction to build? or links to download prebuilt kit ? or at least any sdk for wince 6.0 x86 architecture? -
Thanks jsulm for replay.
Is ther any working instruction to build? or links to download prebuilt kit ? or at least any sdk for wince 6.0 x86 architecture?@Delphi251189 Well, for x86 32bit you could try the official Qt build. I don't know whether it will work on VIA Eden, so you should simply try.
-
@Delphi251189 Well, for x86 32bit you could try the official Qt build. I don't know whether it will work on VIA Eden, so you should simply try.
@jsulm
Unfortunately there is noting like 'official Qt build' for CE platform. Qt does not provide binaries for WinCE. -
@jsulm
Unfortunately there is noting like 'official Qt build' for CE platform. Qt does not provide binaries for WinCE.@Delphi251189 Ah, didn't realise it's for CE.
See https://doc.qt.io/qt-5.6/install-wince.html.
Don't use newer Qt versions as they require C++11 compiler which is not available for Windows CE. -
@Delphi251189 Ah, didn't realise it's for CE.
See https://doc.qt.io/qt-5.6/install-wince.html.
Don't use newer Qt versions as they require C++11 compiler which is not available for Windows CE.@jsulm said in Build Qt 5.x WinCE 6.0:
Don't use newer Qt versions as they require C++11 compiler which is not available for Windows CE.
Starting from version 5.1 up to 5.6 I tried all available combination of Qt-version, SDK-version and mkspces . No result! with Wince 7.0 I have compiled QtCore, QtNetwork, QtSql, QtXml and QtTest modules, but in QtGui step build fails.
With WinCE 6.0 even QtCore module not compiled -
@jsulm said in Build Qt 5.x WinCE 6.0:
Don't use newer Qt versions as they require C++11 compiler which is not available for Windows CE.
Starting from version 5.1 up to 5.6 I tried all available combination of Qt-version, SDK-version and mkspces . No result! with Wince 7.0 I have compiled QtCore, QtNetwork, QtSql, QtXml and QtTest modules, but in QtGui step build fails.
With WinCE 6.0 even QtCore module not compiled@Delphi251189 You should provide more information:
- How did you call configure (parameters)
- What errors did you get?
-
@Delphi251189 You should provide more information:
- How did you call configure (parameters)
- What errors did you get?
@jsulm
configure call :
cd C:\Qt\5.5\wince60-ebox3100-x86-msvc2008
C:\Qt\5.5\Src\configure
-release
-xplatform wince60-ebox3100-x86-msvc2008
-no-sse2 -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2
-no-avx -no-avx2buid fails with :
cl -c -FIqt_gui_pch.h -Yuqt_gui_pch.h -Fp.pch\release\Qt5Gui_pch.pch -nologo -Zm200 -Zc:wchar_t- -O2 -MD -EHs-c- -W3 -w34100 -w34189 -DUNDER_CE -DWINCE -D_WINDOWS -D_UNICODE -DUNICODE -D_WIN32 -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DSTANDARDSHELL_UI_MODEL -D_WIN32_WCE=0x600 -Dx86 -D_X86_ -D_M_IX86 -D_CRT_SECURE_NO_WARNINGS -DWINCE -D_WINDOWS -DWINDOWS_CE_OS -D_WIN32_WCE=0x600 -DUNDER_CE=0x600 -D_CRT_SECURE_NO_DEPRECATE -DQT_NO_CLIPBOARD -DQT_NO_ACCESSIBILITY -DQT_NO_NATIVE_GESTURES -DQT_NOSTANDARDSHELL_UI_MODEL -DQT_NO_NATIVE_FILEDIALOGS -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_USE_BUNDLED_LIBPNG -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_NO_DYNAMIC_CAST -DNDEBUG -I"C:\Qt\5.2.1\Src\qtbase\include" -I"C:\Qt\5.2.1\Src\qtbase\include\QtGui" -I"..\..\include" -I"..\..\include\QtGui" -I"C:\Qt\5.2.1\Src\qtbase\include\QtGui\5.2.1" -I"C:\Qt\5.2.1\Src\qtbase\include\QtGui\5.2.1\QtGui" -I"tmp" -I"C:\Qt\5.2.1\Src\qtbase\src\gui\image" -I"C:\Qt\5.2.1\Src\qtbase\src\3rdparty\libpng" -I"C:\Qt\5.2.1\Src\qtbase\src\3rdparty\zlib" -I"C:\Qt\5.2.1\Src\qtbase\src\3rdparty\zlib" -I"C:\Qt\5.2.1\Src\qtbase\include\QtCore\5.2.1" -I"C:\Qt\5.2.1\Src\qtbase\include\QtCore\5.2.1\QtCore" -I"C:\Qt\5.2.1\Src\qtbase\include\QtCore" -I"..\..\include\QtCore" -I".moc\release" -I"." -I"C:\Qt\5.2.1\Src\qtbase\mkspecs\wince60-ebox3100-x86-msvc2008" -Fo.obj\release\ @C:\Users\delph\AppData\Local\Temp\nm5340.tmp
qplatformopenglcontext.cpp
C:\Qt\5.2.1\Src\qtbase\src\gui\kernel\qplatformopenglcontext.cpp(90) : error C2653: 'QPlatformOpenGLContext' : is not a class or namespace name
C:\Qt\5.2.1\Src\qtbase\src\gui\kernel\qplatformopenglcontext.cpp(91) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Qt\5.2.1\Src\qtbase\src\gui\kernel\qplatformopenglcontext.cpp(92) : error C2550: 'QPlatformOpenGLContext' : constructor initializer lists are only allowed on constructor definitions
C:\Qt\5.2.1\Src\qtbase\src\gui\kernel\qplatformopenglcontext.cpp(93) : warning C4508: 'QPlatformOpenGLContext' : function should return a value; 'void' return type assumed
C:\Qt\5.2.1\Src\qtbase\src\gui\kernel\qplatformopenglcontext.cpp(95) : error C2653: 'QPlatformOpenGLContext' : is not a class or namespace name
C:\Qt\5.2.1\Src\qtbase\src\gui\kernel\qplatformopenglcontext.cpp(95) : fatal error C1903: unable to recover from previous error(s); stopping compilation
qopenglcontext.cpp
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(75) : error C2504: 'QOpenGLFunctions' : base class undefined
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(111) : error C2143: syntax error : missing ';' before ''
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(111) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(111) : error C2061: syntax error : identifier 'GLenum'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(111) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(111) : warning C4183: 'glMapBuffer': missing return type; assumed to be a member function returning 'int'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(112) : error C2146: syntax error : missing ';' before identifier 'glUnmapBuffer'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(112) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(112) : error C2061: syntax error : identifier 'GLenum'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(112) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(112) : warning C4183: 'glUnmapBuffer': missing return type; assumed to be a member function returning 'int'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(114) : error C2061: syntax error : identifier 'GLint'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(118) : error C2061: syntax error : identifier 'GLenum'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(122) : error C2061: syntax error : identifier 'GLenum'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(125) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(125) : error C2143: syntax error : missing ',' before ''
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(76) : error C2065: 'd_ptr' : undeclared identifier
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(76) : error C2065: 'd_ptr' : undeclared identifier
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(125) : error C2065: 'd' : undeclared identifier
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(131) : error C2504: 'QOpenGLFunctionsPrivate' : base class undefined
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(135) : error C2143: syntax error : missing ';' before ''
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(135) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(135) : error C2146: syntax error : missing ')' before identifier 'MapBuffer'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(135) : error C2146: syntax error : missing ';' before identifier 'MapBuffer'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(135) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(135) : error C2059: syntax error : ')'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(135) : error C2061: syntax error : identifier 'GLenum'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(135) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(135) : warning C4183: 'MapBuffer': missing return type; assumed to be a member function returning 'int'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(136) : error C2061: syntax error : identifier 'QOPENGLF_APIENTRYP'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(136) : error C2061: syntax error : identifier 'GLenum'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(136) : error C2091: function returns function
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(136) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(136) : warning C4183: 'GLboolean': missing return type; assumed to be a member function returning 'int'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(137) : error C2146: syntax error : missing ')' before identifier 'BlitFramebuffer'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(137) : error C2146: syntax error : missing ';' before identifier 'BlitFramebuffer'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(137) : error C2182: 'QOPENGLF_APIENTRYP' : illegal use of type 'void'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(137) : error C2059: syntax error : ')'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(137) : error C2061: syntax error : identifier 'GLint'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(139) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(139) : warning C4183: 'BlitFramebuffer': missing return type; assumed to be a member function returning 'int'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(140) : error C2146: syntax error : missing ')' before identifier 'RenderbufferStorageMultisample'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(140) : error C2146: syntax error : missing ';' before identifier 'RenderbufferStorageMultisample'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(140) : error C2182: 'QOPENGLF_APIENTRYP' : illegal use of type 'void'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(140) : error C2086: 'int QOpenGLExtensionsPrivate::QOPENGLF_APIENTRYP' : redefinition
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(137) : see declaration of 'QOpenGLExtensionsPrivate::QOPENGLF_APIENTRYP'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(140) : error C2059: syntax error : ')'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(140) : error C2061: syntax error : identifier 'GLenum'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(142) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(142) : warning C4183: 'RenderbufferStorageMultisample': missing return type; assumed to be a member function returning 'int'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(143) : error C2146: syntax error : missing ')' before identifier 'GetBufferSubData'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(143) : error C2146: syntax error : missing ';' before identifier 'GetBufferSubData'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(143) : error C2182: 'QOPENGLF_APIENTRYP' : illegal use of type 'void'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(143) : error C2086: 'int QOpenGLExtensionsPrivate::QOPENGLF_APIENTRYP' : redefinition
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(137) : see declaration of 'QOpenGLExtensionsPrivate::QOPENGLF_APIENTRYP'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(143) : error C2059: syntax error : ')'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(143) : error C2061: syntax error : identifier 'GLenum'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(143) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(143) : warning C4183: 'GetBufferSubData': missing return type; assumed to be a member function returning 'int'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(146) : error C2143: syntax error : missing ';' before ''
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(146) : error C2433: 'GLvoid' : 'inline' not permitted on data declarations
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(146) : error C2065: 'GLenum' : undeclared identifier
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(146) : error C2146: syntax error : missing ')' before identifier 'target'
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(146) : error C2761: 'int *QOpenGLExtensions::glMapBuffer(void)' : member function redeclaration not allowed
c:\qt\5.2.1\src\qtbase\include\qtgui\5.2.1\qtgui\private../../../../../src/gui/opengl/qopenglextensions_p.h(146) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\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'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop. -
build fails in Qt5Gui.dll creation step. Qt5Core.dll Qt5Network.dll Qt5Sql and Qt5Xml dlls craeted. But Qt is GUI library by nature, and without gui parts it will be not usable.
-
Help! Can anybody share prebuilt kit for Qt 5.x for WinCE 6.0 ( x86, ARM ) with with appropriate WinCE SDK? Building Qt myself seams to be not real.
-
We did already a build of QT5.5 for WinCE 5.5.
There we found out that the possiblity of building QT for WinCE depends on serveral conditions- Which kind of WinCE 6.0 SDK will you use ?
- Which kind of compiler is planned to be used for building the libraries
means that for newer QT5.x verisons a C++11 capable compiler is mandatory
regards
Karl-HeinzHi, Karl
We want to build qt5.5 or 5.6 version build for with standart wince sdk.
Is it possible?
Or need custom sdk absolutely. -
We did already a build of QT5.5 for WinCE 5.5.
There we found out that the possiblity of building QT for WinCE depends on serveral conditions- Which kind of WinCE 6.0 SDK will you use ?
- Which kind of compiler is planned to be used for building the libraries
means that for newer QT5.x verisons a C++11 capable compiler is mandatory
regards
Karl-Heinz@karlheinzreichel wow! so good!👍