Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Could not run Qt application on AT91SAM9263-EK
PostPosted: Wed Jan 14, 2009 1:54 am 
Offline

Joined: Wed Jan 14, 2009 1:43 am
Posts: 1
Hello. I have problem trying to run Qt based application on this board.
At the debugging console WinCE says:

!!! Please Check your SYSGEN variable !!!
!!!Import from DLL 'ole32.dll' failed
DoImport Failed! Unable to import from Library 'QtGui4.dll'
!! Process Import failed - Process 'AFFINE.EXE' not started!!DeleteFromProcessIn
putLocaleTable: Deleted process from ProcessInputLocale table, hProcess: 0x05DA0
01A


The statically linked application gives the same error (something wrong with ole32.dll):

!!! Please Check your SYSGEN variable !!!
!!!Import from DLL 'ole32.dll' failed
!! Process Import failed - Process 'AFFINE.EXE' not started!!DeleteFromProcessIn
putLocaleTable: Deleted process from ProcessInputLocale table, hProcess: 0x05A20
03A


But everything works fine on my mobile



Whats wrong with ole32.dll ?
Is there any workarounds to make it work without image rebuilding ?


bindump /DEPENDS affine.exe gives QtGui4.dll, QtCore4.dll, COREDLL.dll
bindump /DEPENDS QtGui4.dll gives ole32.dll among other libraries

bindump /IMPORTS:ole32.dll QtGui4.dll gives following functions list:

CoInitializeEx
ReleaseStgMedium
StringFromGUID2
CoCreateGuid
CoTaskMemFree
CoCreateInstance


Top
 Profile  
 
 Post subject: Re: Could not run Qt application on AT91SAM9263-EK
PostPosted: Thu Jul 16, 2009 11:25 am 
Offline

Joined: Wed Mar 19, 2008 3:20 pm
Posts: 1
Are you sure you have the right qt dlls?
I compiled QT in this way:
1) downloaded qt-wince-preview-commercial-4.3.2-vs2005.exe
2) extract
3) You must have installed VS2005 prof and the right SDK (e.g. AT91..SDK)

started a batch file with this content (correct paths for your project)

COMPILE.BAT:
echo http://dist.trolltech.com/video/qtwince ... ncetp.html shows how to start
pause

cd /D D:\Programme\Qt\4.3.2-tp1

set QTDIR=D:\Programme\Qt\4.3.2-tp1
set PATH=C:\Programme\Microsoft Visual Studio 8\VC\ce\bin\x86_arm;D:\Programme\Qt\4.3.2-tp1\bin;%PATH%
set QMAKESPEC=

set INCLUDE=C:\Programme\Microsoft Visual Studio 8\VC\ce\include;C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Include\Armv4i
set LIB=C:\Programme\Microsoft Visual Studio 8\VC\ce\lib\armv4i;C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Lib\ARMV4I
set PATH=C:\Programme\Microsoft Visual Studio 8\VC\ce\bin\x86_arm;%PATH%

call "C:\Programme\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat"

REM wince50standard-x86-msvc2005
REM wincewm60standard-msvc2005

configure -platform win32-msvc2005 -xplatform wince50standard-x86-msvc2005

setcepaths wince50standard-x86-msvc2005

nmake

pause



4) After that you have qt compiled for Windows CE / Mobile
5) Use these dlls


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: