On terça-feira, 29 de janeiro de 2013 08.55.00, Yves Bailly wrote: > Le 29/01/2013 06:34, Thiago Macieira a écrit : > > On segunda-feira, 28 de janeiro de 2013 19.44.18, VStevenP wrote: > >> Is it possible to specify a shared location for qt.conf using an > >> environment variable? > >> > >> It's being a bit of a pain to put a qt.conf file in the app dir for every > >> Qt example installed on my target system. > >> > >> If I could specify a location where the file could be found, I wouldn't > >> have to create a qt.conf for every Qt example I want to run on the > >> target.> > > Why do you need a qt.conf in the first place? qt.conf is supposed to be > > used for an application that can be installed to an arbitrary location. > Which is the case for roughly 99% of Windows apps for example...
Yes, that's what qt.conf is for :-) > This old > "Qt doesn't know about SDK vs deployment location", as said Lincoln, is a > real pain on Windows. No way qt.conf can be "optional" on Windows, unless > you have a total control over the client's system - which is the case > for roughly 1% of customers... The "build twice" advice simply doesn't work. I really don't get what you or Lincoln are talking about. I don't see why building twice is necessary. Just deploy the DLLs that you compiled your application with, alongside a qt.conf file. If you want to avoid a qt.conf file, create an installation procedure that changes the hardcoded paths in the QtCore DLL. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest