Le 29/01/2013 09:29, Thiago Macieira a écrit :
> 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:
>>>> 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 :-)

It's still annoying to have to create this file, though it's admitedly a minor 
pain.

>> 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

*I* didn't talk about building twice ;-) A typical Qt build is around 5GB, I
need at least 3 builds for different compilers, multiply that by different
Qt releases needed (3 for now), that's close to 40GB, add to all these the
"experimental builds" (Qt5)... Building each twice for a mere path problem
would be insane ;-) I know hard drives are rather cheap nowadays but hey...

> application with, alongside a qt.conf file. If you want to avoid a qt.conf 
> file,

qt.conf is fine (a minor pain) to distribute an app, while it's close to useless
whan needing to distribute pre-compiled Qt binaries to developers - but that's 
another
story we already talked about.

> create an installation procedure that changes the hardcoded paths in the
> QtCore DLL.

Which is not fine at all and a major pain.

-- 
      /- Yves Bailly - Software developer   -\
      \- Sescoi R&D  - http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to