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)
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.
Thanks SGaist again! You are awesome :) How come the example isn't in the framework git package? Is it possible there are bugs?
Because it hasn't been merged yet. It is still in the reviewing process.
Any bugs possible or safe to use?
That's really a philosophical question.
Why not just try it and see if it works properly for your needs ?
Ok sounds good will do. I don't foresee much possibility of catastrophe with something like the installer framework. Probably either works or doesn't (that's my philosophy). I'll post my results here.
Finally getting around to this... how do I process the qdoc files and view the documentation?
What files do you have ?
Normally u run something like
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
Lost too. Tried stuff from
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
I hope SGaist knows more :)
make docsin 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.