Results 1 to 2 of 2

Thread: Configure options for deployment

  1. #1
    Join Date
    Jun 2009
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default 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:

    Qt Code:
    1. configure -release -opensource -shared -platform win32-msvc2005 -no-qt3support
    2. -no-opengl -plugin-sql-sqlite -qt-zlib -qt-gif -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg
    3. -no-3dnow -no-sse -no-sse2 --no-direct3d -no-dbus -no-phonon -no-scripttools
    4. -no-style-motif -no-style-cde
    To copy to clipboard, switch view to plain text mode 
    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:
    1. Are these assumptions safe and adequate to get portable libraries?
    2. What else should I consider for this goal?
    3. 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?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Configure options for deployment

    Quote Originally Posted by vuakko View Post
    release: I don't need to debug inside Qt
    Right.
    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.
    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.

    Are these assumptions safe and adequate to get portable libraries?
    You can go with the defaults, they are fine, no needs for any switches.

    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.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    vuakko (24th June 2009)

Similar Threads

  1. QT4 for kde 4 beta 2 configure problem: make not found
    By marcomangiante in forum Installation and Deployment
    Replies: 1
    Last Post: 5th September 2007, 20:35
  2. Qt 4.2.3 Configure Issue...
    By amcdaniel in forum Installation and Deployment
    Replies: 4
    Last Post: 13th May 2007, 12:02
  3. Install Qt4.2.3 on MacOSX - configure ?
    By kuroyume0161 in forum Installation and Deployment
    Replies: 2
    Last Post: 17th March 2007, 00:18
  4. Zoom Options
    By Kapil in forum Qt Programming
    Replies: 2
    Last Post: 9th March 2006, 11:19
  5. Can't configure for Win32 MSVC .NET
    By saber850 in forum Installation and Deployment
    Replies: 8
    Last Post: 28th February 2006, 16:42

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.