Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#258 closed enhancement (wontfix)

Use qt4 as the root directory rather than qt4-<version of qt>

Reported by: losepete Owned by:
Priority: major Milestone: Qt Enhanced
Component: General Version: 4.7.3
Severity: low Keywords:


A simple request which makes updating qt4 much easier for those of us who prefer zip files to rpm/yum.

By having the "root" directory as simply qt4 rather than qt4-<version number> the steps required to update qt4 are simply

1] delete existing qt4 directory (might be an idea to make a copy 1st in case of problems with the update)

2] unzip new qt4 package to the location of the previous qt4 package

The above means no fannying around changing path and libpath in config.sys file to reflect the qt4-<version number> and no reboot necessary.

Hope you do not mind the suggestion...

Change History (3)

comment:1 Changed 9 years ago by Dmitry A. Kuminov

Resolution: wontfix
Status: newclosed

The version number is included so that different versions of Qt can be unpacked to the same directory (with zips, you can use several versions in parallel which is important for testing/debugging). What you want is easily achieved by simply renaming the Qt directory after unpacking it (and deleting the previous version if you have it -- this is the safest way to update anyway). Renaming qt4 to qt4-xyz would create much more hassle than the opposite for those who needs it, so we chose the current scheme.

comment:2 Changed 9 years ago by losepete

Why would I want a lot of different versions installed? - Either a version works fine or it does not and gets scrapped.

What are you on about here "Renaming qt4 to qt4-xyz..."? - my point is to get rid of the qt4-xyz directory name.

Anyway, it only takes a little work to unzip to a temp directory and then copy the qt4-xyz directory to the required location and change the directory name to qt4 during the copy process.

However, I really think that you have not thought through my original question.

comment:3 Changed 9 years ago by Dmitry A. Kuminov

I said why, please read carefully. You admit yourself that renaming qt4-xyz to qt4 is very easy. I complement that doing the opposite is not and it is the reason. Also having a different subdirectory name in each new version will make it much harder for end users to mix up different and potentially incompatible versions. I understood your question pretty well and now I see that you didn't think through my answer for some reason.

Note: See TracTickets for help on using tickets.