The Qt Installer tries to write an .ini file by a series of Settings operations:
patchQtExamplesAndDoc = function(aComponent, aComponentRootPath, aQtInstallationName)
{
print("Patching doc & examples for: " + aComponentRootPath);
var fileName = aComponentRootPath + "/" + "bin" + "/" + "qt.conf";
print("qt.conf file: " + fileName);
aComponent.addOperation("Settings",
"path=" + fileName,
"method=set",
"key=Paths/Prefix",
"value=..");
aComponent.addOperation("Settings",
"path=" + fileName,
"method=set",
"key=Paths/Examples",
"value=../../Examples/" + aQtInstallationName);
aComponent.addOperation("Settings",
"path=" + fileName,
"method=set",
"key=Paths/Documentation",
"value=../../Docs/" + aQtInstallationName);
}
On OS X all but the first operation fail silently for elevated installations, resulting in an incomplete .ini file.
- is required for
-
QTBUG-43871 Missing Examples in QT Creator 3.3
-
- Closed
-