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. Error when building Qt5.15.16 from source
Forum Updated to NodeBB v4.3 + New Features

Error when building Qt5.15.16 from source

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 5 Posters 371 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.
  • piervalliP Do not disturb
    piervalliP Do not disturb
    piervalli
    wrote last edited by
    #4

    It Is Qt5 what is the version of mingw64 used?

    1 Reply Last reply
    0
    • G Gravit22

      @Christian-Ehrlicher I do not understand. My Perl version is v5.38.2 and cmake version is 3.28.3.
      As I understand it is relatively recent. What exactly is outdated?

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote last edited by
      #5

      @Gravit22 said in Error when building Qt5.15.16 from source:

      My Perl version is v5.38.2 and cmake version is 3.

      Neither of them is your compiler... You need a recent gcc

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

      G 1 Reply Last reply
      3
      • Christian EhrlicherC Christian Ehrlicher

        @Gravit22 said in Error when building Qt5.15.16 from source:

        My Perl version is v5.38.2 and cmake version is 3.

        Neither of them is your compiler... You need a recent gcc

        G Offline
        G Offline
        Gravit22
        wrote last edited by Gravit22
        #6

        @Christian-Ehrlicher My gcc version is:
        gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
        Also seems not too bad
        @piervalli as I understand this is my mingw64 version

        Christian EhrlicherC 1 Reply Last reply
        0
        • piervalliP Do not disturb
          piervalliP Do not disturb
          piervalli
          wrote last edited by
          #7

          Sorry usually I use Windows instead of Linux the same version of Qt Ubuntu 20.04, you can find on release notes which is the distro used.

          1 Reply Last reply
          0
          • piervalliP Do not disturb
            piervalliP Do not disturb
            piervalli
            wrote last edited by
            #8

            This is page
            https://wiki.qt.io/Qt_5.15_Tools_and_Versions

            1 Reply Last reply
            0
            • G Gravit22

              @Christian-Ehrlicher My gcc version is:
              gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
              Also seems not too bad
              @piervalli as I understand this is my mingw64 version

              Christian EhrlicherC Offline
              Christian EhrlicherC Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote last edited by
              #9

              @Gravit22 it looks like an older version is used. What does 'gcc - - version' say?

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

              G 1 Reply Last reply
              0
              • Christian EhrlicherC Christian Ehrlicher

                @Gravit22 it looks like an older version is used. What does 'gcc - - version' say?

                G Offline
                G Offline
                Gravit22
                wrote last edited by
                #10

                @Christian-Ehrlicher It states the version of gcc is 13.3.0

                gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
                Copyright (C) 2023 Free Software Foundation, Inc.
                This is free software; see the source for copying conditions.  There is NO
                warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
                
                1 Reply Last reply
                0
                • posktomtenP Offline
                  posktomtenP Offline
                  posktomten
                  wrote last edited by
                  #11

                  Worked for me

                  Qt5.15.16
                  Compiled on Lubuntu 20.04 64-bit
                  GLIBC 2.31
                  GCC 9.4.0
                  
                  
                   ../qt-everywhere-src-5.15.16/configure -release -prefix "/opt/Qt/5.15.16/gcc_64" -opensource -confirm-license -silent -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -system-freetype -opengl desktop -make libs -make tools -flite -openssl-runtime OPENSSL_PREFIX="/opt/Qt/Tools/OpenSSLv3/src"
                  
                  make
                  make install
                  

                  posktomten

                  1 Reply Last reply
                  0
                  • Christian EhrlicherC Offline
                    Christian EhrlicherC Offline
                    Christian Ehrlicher
                    Lifetime Qt Champion
                    wrote last edited by
                    #12

                    Also - do you really need qtlocation? If not simply skip it.

                    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
                    0
                    • hskoglundH Offline
                      hskoglundH Offline
                      hskoglund
                      wrote last edited by
                      #13

                      Hi, good advice of @Christian-Ehrlicher 's to skip it, otherwise there is a solution here:
                      https://bugreports.qt.io/browse/QTBUG-122589

                      1 Reply Last reply
                      2

                      • Login

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