Configure options for deployment
I'm trying to create suitable Qt libraries for deployment on Windows. What options should I give to configure?
The libraries should work on at least any XP or Vista machine. Right now I'm thinking of:
Code:
configure -release -opensource -shared -platform win32-msvc2005 -no-qt3support
-no-opengl -plugin-sql-sqlite -qt-zlib -qt-gif -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg
-no-3dnow -no-sse -no-sse2 --no-direct3d -no-dbus -no-phonon -no-scripttools
-no-style-motif -no-style-cde
I chose these since
- release: I don't need to debug inside Qt
- zlib and image formats: I guess Windows doesn't have these, at least with the API that Qt wants
- CPU extensions: MMX is safe, but the libraries need to run on machines without an SSE-featuring CPU
Thus:
- Are these assumptions safe and adequate to get portable libraries?
- What else should I consider for this goal?
- I'm not really sure if I need to enable Zlib and especially MNG format, since I'm not sure where Qt uses them. Any advice on this?
Re: Configure options for deployment
Quote:
Originally Posted by
vuakko
release: I don't need to debug inside Qt
Right.
Quote:
zlib and image formats: I guess Windows doesn't have these, at least with the API that Qt wants
Qt zlib is used by default on Windows, AFAIK.
Quote:
CPU extensions: MMX is safe, but the libraries need to run on machines without an SSE-featuring CPU
As I understand it, it is support, not requirement so if you have support for SSE instructions they will simply not be used on machines not supporting them.
Quote:
Are these assumptions safe and adequate to get portable libraries?
You can go with the defaults, they are fine, no needs for any switches.
Quote:
I'm not really sure if I need to enable Zlib and especially MNG format, since I'm not sure where Qt uses them. Any advice on this?
Zlib is used at least with qCompress() and qUncompress(). It is also used by libpng, so if you want to have support for PNG (and you probably do) then you need zlib anyway.