Page 2 of 2 FirstFirst 12
Results 21 to 24 of 24

Thread: Small task for Windows programmers

  1. #21
    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: Small task for Windows programmers

    Quote Originally Posted by marcel View Post
    No problem whatsoever. VS also has the option to switch between different Qt installations, but it does it internally.
    It is just a matter of setting the environment variables to the desired installation.
    No, I meant something else. Configuration options change between versions. To avoid creating a new installer for each new version, the software should be able to auto detect those switches and be able to handle them without rebuilding the installer.

  2. #22
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Small task for Windows programmers

    Yes, I see now. The problem with this is that the options are stored inside configure, which is an executable(vs a script on linux).

    I don't think there is a problem in creating a new version of the installer. Qt releases are not that often and I think it is normal to update the installer to handle the new qt version.

    Maybe the options together with their descriptions should be stored in an external file, which should be updated with every qt release, while keeping the options for the older releases. This way the installer doesn't have to be rebuilt.

  3. #23
    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: Small task for Windows programmers

    You can always run configure -help and inspect the options, so an external file is not that important. The problem is you have to think about handling those options afterwards The simplest solution is to just... ignore new switches or give a list of options to enable/modify them at the end of the configuration process and I think it's a good solution for a start.

  4. #24
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Small task for Windows programmers

    Quote Originally Posted by wysota View Post
    You can always run configure -help and inspect the options, so an external file is not that important. The problem is you have to think about handling those options afterwards The simplest solution is to just... ignore new switches or give a list of options to enable/modify them at the end of the configuration process and I think it's a good solution for a start.
    I'll think about it. I will choose the solution which seems most fit on a long term.
    I think I will start this project this week, but I don't know when it's gonna be ready. Hope it won't take more than two weeks.

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.