Holy crap, I forgot all about subst. It's been forever since I've used it. Yeah, that'll work. That'll work beautifully. Just create a subst'ed virtual drive, install Qt on it, and then modify qtvars.bat to make sure the subst is in place.
/s/ Adam On Tue, Jun 8, 2010 at 7:08 PM, M. Bashir Al-Noimi <mbno...@gmx.com> wrote: > Hello, > > As Coda said, it's easy to make Qt Creator portable but what about Qt? > Qt installer in windows needs absolute paths (at the end of installing > process you'll find that the installer execute patches for absolute paths) > so making Qt it self portable is exhausted procedure but I fixed this issue > easy when I used TrueCrypt because it's creating virtual hard drive on your > portable media thus you can install Qt and Qt Creator on you portable media > then you can load it anywhere you go. > > If you don't want to use TrueCrypt try this instead: > Create patch file (*.bat) and include "subst" command for creating virtual > drive from specific folder (you can point to relative path of folder by > using %CD% constant). > > On 08/06/2010 11:46 م, Coda Highland wrote: > > Qt looks for plugins in a path predetermined at build time. I think > you can override this behavior with a qt.conf file in the same > directory as the .exe file, but I don't know the syntax of this file > and you'd have to put that file alongside every .exe generated by > Creator as well. (It may be possible to do this by hacking on qt.prf? > I'm not sure.) > > /s/ Adam > > On Tue, Jun 8, 2010 at 4:27 PM, Sergio de la Cruz Rodriguez > <ser...@electrica.cujae.edu.cu> wrote: > > > Hi: > > I'm using Qt/QtCreator to teach Medical Informatics to about 50 > students. They are working these days in their final project. Some of > them can only use PC's without admin rights at college facilities. If > they are lucky they can find someone with admin rights that can install > Qt Creator for them but when they log in their guest accounts they find > that they have to tweak the environment variables for the guest account > (as in qtcreatordist/bin/qtenv.bat) so Qt Creator can successfully > compile a project. This seems to happen whatever version of Qt Creator > you use. Why there is no "Install for all users" checkbox in the Qt > Creator installer? It would be very useful. > > I have tried to make for them a portable version of Qt Creator (copying > the folder Qt/20xx.xx/ and its subfolders). Even after changing the > environment variables Qt Creator doesn't run (complains about > misconfigured settings), neither does Qt Assistant (could not load > sqlite module), neither does Qt Demo (memory at 000 not writable). The > Qt Designer runs OK. If you run the "portable" version in a PC that > already has Qt Creator installed it runs OK too. Am I missing something? > Can you help me with this? > > I have other concerns about using Qt/Qt Creator in education but I will > address them later. > > Regards, > > Sergio > > Participe en la 15 Convención Científica de Ingeniería y Arquitectura, del > 29 de noviembre al 3 de diciembre de 2010 > La Ingeniería y la Arquitectura por un Futuro Sustentable > > Palacio de Convenciones, La Habana, Cuba > http://www.cujae.edu.cu/eventos/convencion > > > -- > Best Regards > Muhammad Bashir Al-Noimi > My Blog: http://mbnoimi.net > > _______________________________________________ > Qt-creator mailing list > Qt-creator@trolltech.com > http://lists.trolltech.com/mailman/listinfo/qt-creator > > _______________________________________________ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator