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. Compile qt5.15.2 failed without .git
Forum Updated to NodeBB v4.3 + New Features

Compile qt5.15.2 failed without .git

Scheduled Pinned Locked Moved Solved Installation and Deployment
13 Posts 2 Posters 568 Views 1 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
    ShylockHg
    wrote last edited by
    #4
    This post is deleted!
    1 Reply Last reply
    0
    • S ShylockHg has marked this topic as solved
    • S Offline
      S Offline
      ShylockHg
      wrote last edited by
      #5

      My mistake, it's still unresolved

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

        Do you have the same result with just the stock zip file ? Without any modification.

        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
        0
        • SGaistS SGaist

          Do you have the same result with just the stock zip file ? Without any modification.

          S Offline
          S Offline
          ShylockHg
          wrote last edited by ShylockHg
          #7

          @SGaist

          I tried qtbase, it's failed too.

          shylock@shylock-pc ~/Workspace/qtbase-5.15.2/build$ ../configure  -xcb -confirm-license -opensource --prefix=/home/shylock/Workspace/nl-thrid-party/build/install QMAKE_CXXFLAGS=-w QMAKE_CFLAGS=-w
          Preparing build tree...
          Creating qmake...
          .In file included from /home/shylock/Workspace/qtbase-5.15.2/qmake/library/qmakeparser.h:32,
                           from /home/shylock/Workspace/qtbase-5.15.2/qmake/library/qmakeevaluator.h:36,
                           from /home/shylock/Workspace/qtbase-5.15.2/qmake/project.h:32,
                           from /home/shylock/Workspace/qtbase-5.15.2/qmake/main.cpp:30:
          /home/shylock/Workspace/qtbase-5.15.2/qmake/library/qmake_global.h:32:10: fatal error: qglobal.h: No such file or directory
             32 | #include <qglobal.h>
                |          ^~~~~~~~~~~
          compilation terminated.
          make: *** [Makefile:250: main.o] Error 1
          
          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote last edited by
            #8

            Use out of source builds.
            Also, are you working from a fresh source folder ?

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

            S 2 Replies Last reply
            0
            • SGaistS SGaist

              Use out of source builds.
              Also, are you working from a fresh source folder ?

              S Offline
              S Offline
              ShylockHg
              wrote last edited by
              #9

              @SGaist
              Failed too.

              shylock@shylock-pc ~/Workspace/qtbase-5.15.2$ ./configure  -xcb -confirm-license -opensource --prefix=/home/shylock/Workspace/nl-thrid-party/build/install QMAKE_CXXFLAGS=-w QMAKE_CFLAGS=-w
              Creating qmake...
              .In file included from /home/shylock/Workspace/qtbase-5.15.2/qmake/library/qmake_global.h:32,
                               from /home/shylock/Workspace/qtbase-5.15.2/qmake/library/qmakeparser.h:32,
                               from /home/shylock/Workspace/qtbase-5.15.2/qmake/library/qmakeevaluator.h:36,
                               from /home/shylock/Workspace/qtbase-5.15.2/qmake/project.h:32,
                               from /home/shylock/Workspace/qtbase-5.15.2/qmake/main.cpp:30:
              ../src/corelib/global/qglobal.h:64:10: fatal error: QtCore/qconfig-bootstrapped.h: No such file or directory
                 64 | #include <QtCore/qconfig-bootstrapped.h>
                    |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              compilation terminated.
              make: *** [Makefile:250: main.o] Error 1
              
              1 Reply Last reply
              0
              • SGaistS SGaist

                Use out of source builds.
                Also, are you working from a fresh source folder ?

                S Offline
                S Offline
                ShylockHg
                wrote last edited by
                #10

                @SGaist Yes, I just download and unzip qtbase, I want to try qt, but it's empty in github release.

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

                  Don't use GitHub to download the Qt sources zip file. Use the official one provided by the Qt Company.

                  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
                  0
                  • SGaistS SGaist

                    Don't use GitHub to download the Qt sources zip file. Use the official one provided by the Qt Company.

                    S Offline
                    S Offline
                    ShylockHg
                    wrote last edited by
                    #12

                    @SGaist
                    Fine, it's ok when I download form https://download.qt.io/archive/qt/5.15/5.15.2/single/

                    1 Reply Last reply
                    0
                    • S ShylockHg has marked this topic as solved
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote last edited by
                      #13

                      The reason is that GitHub just zips the content of the repository.
                      The official archives are ready to configure/build for the platform selected (.zip for Windows and tar.gz for unix like).

                      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

                      • Login

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