Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Installer Framework 'Add to existing install' Example
Forum Updated to NodeBB v4.3 + New Features

Qt Installer Framework 'Add to existing install' Example

Scheduled Pinned Locked Moved Unsolved General and Desktop
14 Posts 3 Posters 3.5k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Crag_Hack
    wrote on last edited by Crag_Hack
    #1

    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!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • C Offline
        C Offline
        Crag_Hack
        wrote on last edited by
        #3

        Thanks SGaist again! You are awesome :) How come the example isn't in the framework git package? Is it possible there are bugs?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Because it hasn't been merged yet. It is still in the reviewing process.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Crag_Hack
            wrote on last edited by
            #5

            Any bugs possible or safe to use?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              That's really a philosophical question.

              Why not just try it and see if it works properly for your needs ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • C Offline
                C Offline
                Crag_Hack
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  Crag_Hack
                  wrote on last edited by
                  #8

                  Finally getting around to this... how do I process the qdoc files and view the documentation?

                  mrjjM 1 Reply Last reply
                  0
                  • C Crag_Hack

                    Finally getting around to this... how do I process the qdoc files and view the documentation?

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @Crag_Hack
                    Hi
                    What files do you have ?
                    Normally u run something like
                    qdoc project.qdocconf

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      Crag_Hack
                      wrote on last edited by Crag_Hack
                      #10

                      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.

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        Crag_Hack
                        wrote on last edited by Crag_Hack
                        #11

                        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

                        1 Reply Last reply
                        0
                        • mrjjM Offline
                          mrjjM Offline
                          mrjj
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          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
                          syntax

                          I hope SGaist knows more :)

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            make docs in the build folder should take care of that for you.

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            1
                            • C Offline
                              C Offline
                              Crag_Hack
                              wrote on last edited by
                              #14

                              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.

                              1 Reply Last reply
                              0

                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Search
                              • Get Qt Extensions
                              • Unsolved