Hello,

I am new in Qt programming, especially in different platform buildings. After several hours I have
installed Windows CE version of QT and successfully built it for spec wince50standard-armv4i-msvc2005.

After that I have run my windows application project and using "Manage Qt versions" I have configure
Build settings to use my WinCE "version". I am not really familiar with managing different build
settings so my compilation was done in release folder previously used by win32 spec but it is separate
problem (I hope).

Some output (cut) of Compile window is presented below. It seems that some flags and settings are used
for ARM target but if run my application in target device I have error: "Test is not a valid Windows
CE application".

My target device is based on Samsung ARM920T-S3C2450 processor. What I am making wrong that
I cannot run my application?


Qt Code:
  1. Starting: C:/Program Files/Microsoft Visual Studio 8/VC/bin/nmake.exe release
  2. "C:\Program Files\Microsoft Visual Studio 8\VC\bin\nmake.exe" -f Makefile.Release
  3. c:\SDKs\QtWinCe\bin\uic.exe mainwindow.ui -o ui_mainwindow.h
  4.  
  5. Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
  6. Copyright (C) Microsoft Corporation. All rights reserved.
  7.  
  8. C:\SDKs\QtWinCe\bin\moc.exe -DUNDER_CE -DWINCE -D_WINDOWS -D_UNICODE -DUNICODE -D_WIN32 -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DSTANDARDSHELL_UI_MODEL -D_WIN32_WCE=0x500 -DARMV4I -D_ARMV4I_ -Darmv4i -D_ARM_ -DARM -D_M_ARM -DARM -D__arm__ -DQ_OS_WINCE_STD -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DQT_DLL -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"c:\SDKs\QtWinCe\include\QtCore" -I"c:\SDKs\QtWinCe\include\QtNetwork" -I"c:\SDKs\QtWinCe\include\QtGui" -I"c:\SDKs\QtWinCe\include\QtXml" -I"c:\SDKs\QtWinCe\include\QtSql" -I"c:\SDKs\QtWinCe\include\QtSvg" -I"c:\SDKs\QtWinCe\include" -I"c:\SDKs\QtWinCe\include\ActiveQt" -I"release" -I"." -I"c:\SDKs\QtWinCe\mkspecs\wince50standard-armv4i-msvc2005" -D_MSC_VER=1400 mainwindow.h -o release\moc_mainwindow.cpp
  9. [cut]
  10. cl -c -nologo -Zm200 -Zc:wchar_t- -Os -O2 -Os -GL -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=0x500 -DARMV4I -D_ARMV4I_ -Darmv4i -D_ARM_ -DARM -D_M_ARM -DARM -D__arm__ -DQ_OS_WINCE_STD -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DQT_DLL -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"c:\SDKs\QtWinCe\include\QtCore" -I"c:\SDKs\QtWinCe\include\QtNetwork" -I"c:\SDKs\QtWinCe\include\QtGui" -I"c:\SDKs\QtWinCe\include\QtXml" -I"c:\SDKs\QtWinCe\include\QtSql" -I"c:\SDKs\QtWinCe\include\QtSvg" -I"c:\SDKs\QtWinCe\include" -I"c:\SDKs\QtWinCe\include\ActiveQt" -I"release" -I"." -I"c:\SDKs\QtWinCe\mkspecs\wince50standard-armv4i-msvc2005" -Forelease\ @C:\DOCUME~1\test\LOCALS~1\Temp\nmDF.tmp
  11. main.cpp
  12. mainwindow.cpp
  13. [cut]
  14. cl -c -nologo -Zm200 -Zc:wchar_t- -Os -O2 -Os -GL -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=0x500 -DARMV4I -D_ARMV4I_ -Darmv4i -D_ARM_ -DARM -D_M_ARM -DARM -D__arm__ -DQ_OS_WINCE_STD -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DQT_DLL -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"c:\SDKs\QtWinCe\include\QtCore" -I"c:\SDKs\QtWinCe\include\QtNetwork" -I"c:\SDKs\QtWinCe\include\QtGui" -I"c:\SDKs\QtWinCe\include\QtXml" -I"c:\SDKs\QtWinCe\include\QtSql" -I"c:\SDKs\QtWinCe\include\QtSvg" -I"c:\SDKs\QtWinCe\include" -I"c:\SDKs\QtWinCe\include\ActiveQt" -I"release" -I"." -I"c:\SDKs\QtWinCe\mkspecs\wince50standard-armv4i-msvc2005" -Forelease\ @C:\DOCUME~1\test\LOCALS~1\Temp\nmE0.tmp
  15. moc_mainwindow.cpp
  16. [cut]
  17. link /LIBPATH:"c:\SDKs\QtWinCe\lib" /NOLOGO /NODEFAULTLIB:OLDNAMES.LIB /LTCG /INCREMENTAL:NO /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:THUMB /OUT:release\Test.exe @C:\DOCUME~1\test\LOCALS~1\Temp\nmE1.tmp
  18. Generating code
  19. Finished generating code
  20. Exited with code 0.
To copy to clipboard, switch view to plain text mode 

Best regards,
ml