I can't find qconfig.exe. The sources are there, but there don't seem to
be any instructions on how to compile.

>From the docs:
"Windows CE: The Qt for Windows CE package contains a qconfig executable
that you can run on a Windows desktop to configure the build."

I am only interested in plug-ins. No GUI, no network, no settings.
Qconfig probably tells me this, but what do I need to be able to use
plugins?

Thanks!

> -----Original Message-----
> From: Thomas Hartmann [mailto:[email protected]] 
> Sent: Monday, February 09, 2009 11:09 AM
> To: [email protected]
> Subject: Re: [Qt-wince-interest] Compilation errors when 
> building small
> 
> Hi,
> the small configuration you use is not sufficient for the QNetwork 
> module. You at least also need the QSettings class.
> I advise to use the QConfig tool to create you own configuration 
> specific to your needs. This is documented in detail under the topic 
> "fine tuning Qt" in our documentation.
> Note that we only compile support stripped own versions of Qt. It is 
> impossible for us to provide real runtime support for every possible 
> combination of defines.
> Building statically (configure.exe -static)  also helps to 
> reduce code 
> size. But realistically you will hardly get under 2mb with QtGui  and 
> QtCore  included.  If you only rely on QtCore, you will get 
> well under 1 
> mb, though.
> 
> Kind Regards,
> Thomas Hartmann
>  
> 
> Daniel Lidström wrote:
> > Hello,
> >
> > I want to compile the small configuration, using VS2008 + 
> Standard SDK. But
> > the compilation
> > stops with the following error:
> >
> > qlocalsocket_tcp.cpp
> > socket\qlocalsocket_tcp.cpp(233) : error C2065: 'QSettings' 
> : undeclared
> > identifier
> > socket\qlocalsocket_tcp.cpp(233) : error C2146: syntax 
> error : missing ';'
> > before identifier 'settings'
> > socket\qlocalsocket_tcp.cpp(233) : error C3861: 'settings': 
> identifier not
> > found
> > socket\qlocalsocket_tcp.cpp(235) : error C2065: 'settings' 
> : undeclared
> > identifier
> > socket\qlocalsocket_tcp.cpp(235) : error C2228: left of 
> '.value' must have
> > class/struct/union
> >         type is ''unknown-type''
> > socket\qlocalsocket_tcp.cpp(235) : error C2228: left of 
> '.toUInt' must have
> > class/struct/union
> > qlocalserver_tcp.cpp
> > socket\qlocalserver_tcp.cpp(65) : error C2065: 'QSettings' 
> : undeclared
> > identifier
> > socket\qlocalserver_tcp.cpp(65) : error C2146: syntax error 
> : missing ';'
> > before identifier 'settings'
> > socket\qlocalserver_tcp.cpp(65) : error C3861: 'settings': 
> identifier not
> > found
> > socket\qlocalserver_tcp.cpp(66) : error C2065: 'settings' : 
> undeclared
> > identifier
> > socket\qlocalserver_tcp.cpp(66) : error C2228: left of 
> '.contains' must have
> > class/struct/union
> >         type is ''unknown-type''
> > socket\qlocalserver_tcp.cpp(72) : error C2065: 'settings' : 
> undeclared
> > identifier
> > socket\qlocalserver_tcp.cpp(72) : error C2228: left of 
> '.setValue' must have
> > class/struct/union
> >         type is ''unknown-type''
> > socket\qlocalserver_tcp.cpp(78) : error C2065: 'QSettings' 
> : undeclared
> > identifier
> > socket\qlocalserver_tcp.cpp(78) : error C2146: syntax error 
> : missing ';'
> > before identifier 'settings'
> > socket\qlocalserver_tcp.cpp(78) : error C3861: 'settings': 
> identifier not
> > found
> > socket\qlocalserver_tcp.cpp(80) : error C2065: 'settings' : 
> undeclared
> > identifier
> > socket\qlocalserver_tcp.cpp(80) : error C2228: left of 
> '.setValue' must have
> > class/struct/union
> >         type is ''unknown-type''
> > socket\qlocalserver_tcp.cpp(82) : error C2065: 'settings' : 
> undeclared
> > identifier
> > socket\qlocalserver_tcp.cpp(82) : error C2228: left of 
> '.remove' must have
> > class/struct/union
> >         type is ''unknown-type''
> > socket\qlocalserver_tcp.cpp(117) : error C2065: 'QSettings' 
> : undeclared
> > identifier
> > socket\qlocalserver_tcp.cpp(117) : error C2146: syntax 
> error : missing ';'
> > before identifier 'settings'
> > socket\qlocalserver_tcp.cpp(117) : error C3861: 'settings': 
> identifier not
> > found
> > socket\qlocalserver_tcp.cpp(118) : error C2065: 'settings' 
> : undeclared
> > identifier
> > socket\qlocalserver_tcp.cpp(118) : error C2228: left of 
> '.contains' must
> > have class/struct/union
> >         type is ''unknown-type''
> > socket\qlocalserver_tcp.cpp(119) : error C2065: 'settings' 
> : undeclared
> > identifier
> > socket\qlocalserver_tcp.cpp(119) : error C2228: left of 
> '.remove' must have
> > class/struct/union
> >         type is ''unknown-type''
> > Generating Code...
> > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft 
> Visual Studio
> > 9.0\VC\ce\bin\x86_arm\cl.EXE"' : return code '0x2'
> > Stop.
> > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft 
> Visual Studio
> > 9.0\VC\bin\nmake.exe"' : return code '0x2'
> > Stop.
> > NMAKE : fatal error U1077: 'cd' : return code '0x2'
> > Stop.
> >
> >
> > I also noticed this potential memory leak:
> >
> > qnetworkproxy.cpp
> > kernel\qnetworkproxy.cpp(247) : warning C4150: deletion of 
> pointer to
> > incomplete type 'QHttpSocketEngineHandler'; no destructor called
> >         kernel\qnetworkproxy.cpp(228) : see declaration of
> > 'QHttpSocketEngineHandler'
> >
> > Here's my commandline:
> >
> > 
> C:\Users\Daniel.SBG\Programming\qt-embedded-wince-opensource-s
> rc-4.5.0-rc1>c
> > onfigure.exe -qconfig small -platform win32-msvc2008 -xplatform
> > wince50standard-armv4i-msvc2008
> > 
> C:\Users\Daniel.SBG\Programming\qt-embedded-wince-opensource-s
> rc-4.5.0-rc1>s
> > etcepaths wince50standard-armv4i-msvc2008
> > Environment Selection:STANDARDSDK_500 (ARMV4I)
> > Standard SDK for arm selected, environment is set up
> > C:\qt-embedded-wince-opensource-src-4.4.3>nmake
> >
> > I really only want the QPlugIn part. How do I compile the 
> smallest possible
> > configuration that gives me this? It would not be 
> acceptable (for us) with
> > megabyte size dlls.
> >
> > Thanks in advance!
> >
> > Regards,
> >
> > Daniel Lidström
> > Stockholm, Sweden
> > _______________________________________________
> > Qt-wince-interest mailing list
> > [email protected]
> > http://lists.trolltech.com/mailman/listinfo/qt-wince-interest
> >   
> 
> _______________________________________________
> Qt-wince-interest mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-wince-interest
> 

_______________________________________________
Qt-wince-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-wince-interest

Reply via email to