[Qt-interest] Moving Qt 4.6 Source folder
Constantin Makshin
cmakshin at gmail.com
Wed May 26 21:25:46 CEST 2010
You may want to take a look at the "patching" libraries I made for my Qt installers and stand-alone version of the same code. I wrote it in 2008 and haven't had any problems so far, at least with "patched" QtCore4.dll.
To use the stand-alone version, simply put the program to the Qt root directory (e.g. "C:\Qt") and run it.
On Wednesday 26 May 2010 21:12:08 Raul Metsma wrote:
> I moved folder and created symbolic link to previous location with
> junction.exe
>
> Raul
>
> On 05/26/2010 06:56 PM, K. Frank wrote:
> > Hello Garth -
> >
> > I think your best bet is to rebuild Qt.
> >
> > On Wed, May 26, 2010 at 10:48 AM, Garth Dahlstrom<ironstorm at gmail.com> wrote:
> >> I know configure/MinGW make hard code drive letters and paths into the makefiles.
> >>
> >> Does anyone know if its possible to relocate the Qt source folder without rerunning configure and rebuilding the entire tree? Is there a command that would do this? If not has anyone had success doing a shell script that does a regex replace and touch of all the makefiles under cygwin or something like that?
> >
> > To clarify: You say "source folder." Do you want to move your entire
> > Qt installation,
> > or just take the "src" directory (parallel to bin, doc, lib, etc...)
> > out of your Qt
> > installation?
> >
> > If you want to move your entire Qt installation, I think you are
> > basically out of
> > luck. Doing so is highly impractical. (File that under "nothing is
> > impossible.")
> >
> > I wanted to do the same, looked into, played around trying various things, and
> > then gave up, and rebuilt Qt. The biggest sticking point was that qmake (an
> > executable program) has absolute paths hardcoded into it, and trying to concoct
> > some scheme to edit the qmake executable seemed dicey, and way more
> > trouble than it would have been worth.
> >
> > The command "qmake -query" will show you qmake's hardcoded paths.
> >
> > As to whether "src" can be moved by itself, I don't see any direct references
> > to "src" in "qmake -query," but several of the Qt header files reference
> > header files in "src" with relative paths, so it doesn't look to promising.
> > (Even if you could move "src," I'm not sure what you'd gain, and you would
> > be setting yourself up for potential confusion in the future.)
> >
> > This is a known issue -- I found some stuff in the archives when I was
> > looking into -- and I think rebuilding is the most practical way to go.
> >
> >> I'd like to move my source tree from E: drive to C: drive ...
> >
> > Good luck.
> >
> > K. Frank
> >
> >> Thanks in advance,
> >>
> >> -G
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt-setup.tar.bz2
Type: application/x-bzip-compressed-tar
Size: 67471 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100526/0672b4d6/attachment.bin
More information about the Qt-interest-old
mailing list