Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Differences Between Git Repo and Release Archives
Forum Updated to NodeBB v4.3 + New Features

Differences Between Git Repo and Release Archives

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
10 Posts 4 Posters 694 Views 2 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.
  • S Offline
    S Offline
    Sam Thomsen
    wrote on last edited by
    #1

    We recently compared source code trees from Git and from a downloaded release archive and found many differences. Is that expected? Or did we miss something? Should we expect to get the same results after either is built?

    J.HilkJ 1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Sam-Thomsen said in Differences Between Git Repo and Release Archives:

      and found many differences

      Which differences? The git repo e.g. does not create the CamelCase header files - they are created by a perl script when compiling from git.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      2
      • S Offline
        S Offline
        Sam Thomsen
        wrote on last edited by Sam Thomsen
        #3

        There are many files involved, but looking only at directories, here's what we're seeing:

        Non-empty dirs in repo, but missing from archive:

        qtcharts/tools
        qtdatavis3d/tools
        qtqa
        qtrepotools (makes sense)
        qtxmlpatterns/tests/auto/3rdparty/testsuites/XQTS

        Non-empty dirs in archive, but missing from repo are all include dirs, which makes sense from what you said.

        I should add that we're using Qt v5.13.2

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

          Hi,

          One other thing, did you checkout the corresponding tag ?

          Otherwise your clone will anyway be more recent, and currently will be checked out on the dev branch which is for Qt 6.

          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
          • S Sam Thomsen

            We recently compared source code trees from Git and from a downloaded release archive and found many differences. Is that expected? Or did we miss something? Should we expect to get the same results after either is built?

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #5

            @Sam-Thomsen what git archive exactly ?
            There are many out there.


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            1 Reply Last reply
            1
            • S Offline
              S Offline
              Sam Thomsen
              wrote on last edited by
              #6

              Git tag: v5.13.2
              Archive: qt-everywhere-src-5.13.2.tar.xz (MD5 7c04c678d4ecd9e9c06747e7c17e0bb9)

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

                Might be a silly question but are you sure all modules are checked out at that tag ?

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

                S 1 Reply Last reply
                1
                • SGaistS SGaist

                  Might be a silly question but are you sure all modules are checked out at that tag ?

                  S Offline
                  S Offline
                  Sam Thomsen
                  wrote on last edited by
                  #8

                  @SGaist I think so.

                  After cloning the repo, we run the following:

                  git checkout <TAG>
                  perl init-repository
                  git submodule update --recursive

                  Could we be missing a step?

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

                    Looks good, I would cd in one of the submodule to ensure it's on the correct tag.

                    Just thought of something, modules like QtWebEngine may have git submodule, did you also check that ?

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

                    S 1 Reply Last reply
                    1
                    • SGaistS SGaist

                      Looks good, I would cd in one of the submodule to ensure it's on the correct tag.

                      Just thought of something, modules like QtWebEngine may have git submodule, did you also check that ?

                      S Offline
                      S Offline
                      Sam Thomsen
                      wrote on last edited by
                      #10

                      @SGaist The 4 modules with differences are:

                      qtcharts (confirmed correct tag)
                      qtdatavis3d (confirmed correct tag)
                      qtqa (wrong tag. module only has one tag v5.0.0.0-beta1)
                      qtxmlpatterns (confirmed correct tag)

                      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