Qt Installer Framework 'Add to existing install' Example
-
Hi I need to be able to install over an existing install using Qt Installer Framework for my program. I cloned and built the project here. I now need the example here. Is the example not finalized yet and therefore not part of the main project? Is it potentially buggy? How do I grab that example and push it to my computer? (I'm not proficient in everything Git)
Thanks! -
Hi,
You have to clone the Qt Installer Framework from code.qt.io and then in the console, paste the line provided on the patch page. The cherry-pick line is the most simple and straightforward.
-
Because it hasn't been merged yet. It is still in the reviewing process.
-
That's really a philosophical question.
Why not just try it and see if it works properly for your needs ?
-
@Crag_Hack
Hi
What files do you have ?
Normally u run something like
qdoc project.qdocconf -
I tried that but got this:
C:\Users\Josh\qtifwphil\installer-framework\doc>c:\Qt\5.9.1\msvc2015_64\bin\qdoc.exe installerfw.qdocconf In file included from C:/Users/Josh/qtifwphil/installer-framework/doc/config/installerfw.qdocconf:2: C:/Users/Josh/qtifwphil/installer-framework/doc/config/ifw.qdocconf:1: error: Environment variable 'QT_INSTALL_DOCS' undefined Environment variable 'QT_INSTALL_DOCS' undefined Aborting C:\Users\Josh\qtifwphil\installer-framework\doc>c:\Qt\5.9.1\msvc2015_64\bin\qdoc.exe installerfw-online.qdocconf In file included from C:/Users/Josh/qtifwphil/installer-framework/doc/config/installerfw-online.qdocconf:2: C:/Users/Josh/qtifwphil/installer-framework/doc/config/ifw.qdocconf:1: error: Environment variable 'QT_INSTALL_DOCS' undefined Environment variable 'QT_INSTALL_DOCS' undefined Aborting
I am building this guy and merging this guy. I need the documentation for the latter. Am I approaching this the right way? Is the documentation only in qdoc format? Seems silly to me for it not to be in a more straightforward form.
-
Are there any instructions out there? I found this but it's for building the Qt Documentation not the Installer Framework Documentation merged with the Add to Existing Install Branch. Kinda lost here...
Also I tried this:C:\Users\Josh\qtifwphil\installer-framework\doc>set QT_INSTALL_DOCS=C:\Qt\5.9.1\msvc2015\doc C:\Users\Josh\qtifwphil\installer-framework\doc>c:\Qt\5.9.1\msvc2015_64\bin\qdoc.exe installerfw.qdocconf In file included from C:/Users/Josh/qtifwphil/installer-framework/doc/config/installerfw.qdocconf:2: C:/Users/Josh/qtifwphil/installer-framework/doc/config/ifw.qdocconf:14: error: Environment variable 'SRCDIR' undefined Environment variable 'SRCDIR' undefined
Thanks
-
Hi
Lost too. Tried stuff from
https://wiki.qt.io/Qt5ModuleQDocconf and
https://wiki.qt.io/Building_Qt_Documentation
but not sure what QT_INSTALL_DOCS must contain, but it seems to be the output path and might be replaceable with
qdoc module.qdocconf -outputdir directory
syntaxI hope SGaist knows more :)
-
make docs
in the build folder should take care of that for you. -
Hmmm... getting error code 2 from nmake 32/64 and jom building the package. I've already spent way too much time trying to get this to work I'm just gonna go with NSIS or Inno Setup. Maybe Qt will fix this package some day but for now I'm done. Oh well.