> Am 28.01.2016 um 11:38:26 schrieb Oswald Buddenhagen 
> <[email protected]>:
> 
> On Thu, Jan 28, 2016 at 10:47:21AM +0100, Maximilian Hrabowski wrote:
>> 1. Add a new public API: static void QLibraryInfo::setQtConfFilePath( const 
>> QString& filePath) which defaults to ":/qt/etc/qt.conf“ and is used in 
>> QSettings *QLibraryInfoPrivate::findConfiguration() instead of the 
>> hard-coded path.
>> 2. Also lookup qt.conf in all of QLibraryInfo::libraryPaths() (this is how 
>> we got the plugins found)
>> 3. introduce an environment variable that points to the qt.conf similar to 
>> the one of QWebEngineProcess.exe
>> 
>> Please comment.
>> 
> you should contribute to
> https://bugreports.qt.io/browse/QTBUG-14150 getting fixed.
> that (specifically, subtask https://bugreports.qt.io/browse/QTBUG-15234)

QTBUG-15234 seems still be under discussion, right? 

> will make everything relative to the location of qtcore

This is indeed the best solution. I assume this solution could not be achieved 
before Qt 6?!

Maybe this would be another choice to get it to work with Qt 5.6 or at least Qt 
5.7:
4. Determine the path from the current dll location as described in QtBUG-15234 
at  Permalink 
<https://bugreports.qt.io/browse/QTBUG-15234?focusedCommentId=271523&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-271523>

> (or ideally,
> relative to the particular library which is doing the resource lookup).
> this will ultimately cause the disappearance of qt.conf, which sounds a
> lot better to me than either of your options.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to