Hi Joerg, Thank you for your help. You are correct - a silly mistake. I wasn't configuring the paths with setcepaths correctly.
With your help I got a little further and was able to get things to compile, but the example winwidget.exe just crashes when I try to run it on wince. I've deployed the executable and QtSolutions_MFCMigrationFramework-2.8.dll to my wince device. If I take out the line QWinWidget win(hWnd); (and other references to it), it doesn't crash, so I suspect there's still something not quite right with the way I've built the library. In qwinwidget.cpp there are a couple things that don't seem compatible with wince: The symbol UNICODE gets #undef'ined and there's a call to SetWindowLongA (which on wince could be replaced by SetWindowLongW) Also, in winmigrate.pri, I replaced LIBS += -luser32 with LIBS += -lcoredll because I think that wince uses coredll.lib instead of user32.lib Are there any other modifications needed to get it to run on wince? Regards, Rod > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 28 Jun 2010 09:24:26 +0200 > From: Joerg Bornemann <joerg.bornem...@nokia.com> > Subject: Re: [Qt-wince-interest] qtwinmigrate under wince? > To: qt-wince-interest@trolltech.com > Message-ID: <4c284e2a.8070...@nokia.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 25.06.2010 10:07, ext Rod Swift wrote: > > > I'm wondering if it's possible to use qtwinmigrate-2.8_1 under wince. I've > > been able to configure and test it > > under win32 (VS2005, desktop windows), but when I try to compile it with my > > wince 6 settings (using a custom > > mkspec), I get a bunch of redefinition/missing errors for > > InterlockedIncrement, InterlockedDecrement, > > InterlockedExchangeAdd, and InterlockedCompareExchange. (see attached log > > file) > > from the log: > --- > C:\Program Files\Microsoft Visual Studio > 8\VC\PlatformSDK\include\winbase.h(1576 > ) : error C2373: 'InterlockedIncrement' : redefinition; different type > modifiers > --- > > The desktop Windows includes are used. Did you forget to call setcepaths ? > > -- > Joerg Bornemann > Software Engineer > Nokia, Qt Development Frameworks > > > ------------------------------ _______________________________________________ Qt-wince-interest mailing list Qt-wince-interest@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-wince-interest