Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Some problem make Qt 6.5.1 from sources
Forum Updated to NodeBB v4.3 + New Features

Some problem make Qt 6.5.1 from sources

Scheduled Pinned Locked Moved Unsolved Qt 6
19 Posts 2 Posters 3.5k Views
  • 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.
  • Christian EhrlicherC Christian Ehrlicher

    @Navadvipa-Chandra-das said in Some problem make Qt 6.5.1 from sources:

    C:\mingw64\bin\c++.exe

    Are you sure that's the correct compiler (must be at least gcc 11.2) - see https://doc.qt.io/qt-6/supported-platforms.html

    N Offline
    N Offline
    Navadvipa Chandra das
    wrote on last edited by
    #7

    Christian, yes! Compiler from Qt web suite.

    
    # **************************************************************************
    
    version : MinGW-W64-builds-5.0.0
    user    : runneradmin
    date    : 11.15.2021- 6:22:58 PM
    args    : --mode=gcc-11.2.0 --buildroot=buildroot --jobs=4 --rev=1 --rt-version=trunk --threads=posix --exceptions=seh --arch=x86_64 --bin-compress --enable-languages=c,c++
    PATH    : /mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
    CFLAGS  : -O2 -pipe -fno-ident
    CXXFLAGS: -O2 -pipe -fno-ident
    CPPFLAGS: 
    LDFLAGS : -pipe -fno-ident
    
    # **************************************************************************
    
    host gcc 64-bit:
    Using built-in specs.
    COLLECT_GCC=D:\a\mingw-builds\mingw-builds\toolchains\mingw64\bin\gcc.exe
    COLLECT_LTO_WRAPPER=D:/a/mingw-builds/mingw-builds/toolchains/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/8.1.0/lto-wrapper.exe
    Target: x86_64-w64-mingw32
    Configured with: ../../../src/gcc-8.1.0/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-sysroot=/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64 --enable-shared --enable-static --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=nocona --with-tune=core2 --with-libiconv --with-system-zlib --with-gmp=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-mpfr=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-isl=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-pkgversion='x86_64-posix-seh-rev0, Built by MinGW-W64 project' --with-bugurl=https://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS=' -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/lib -L/c/mingw810/prerequisites/x86_64-zlib-static/lib -L/c/mingw810/prerequisites/x86_64-w64-mingw32-static/lib '
    Thread model: posix
    gcc version 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 
    
    # **************************************************************************
    
    host ld 64-bit:
    GNU ld (GNU Binutils) 2.30
      Supported emulations:
       i386pep
       i386pe
    
    
    
    Christian EhrlicherC 1 Reply Last reply
    0
    • N Navadvipa Chandra das

      Christian, yes! Compiler from Qt web suite.

      
      # **************************************************************************
      
      version : MinGW-W64-builds-5.0.0
      user    : runneradmin
      date    : 11.15.2021- 6:22:58 PM
      args    : --mode=gcc-11.2.0 --buildroot=buildroot --jobs=4 --rev=1 --rt-version=trunk --threads=posix --exceptions=seh --arch=x86_64 --bin-compress --enable-languages=c,c++
      PATH    : /mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
      CFLAGS  : -O2 -pipe -fno-ident
      CXXFLAGS: -O2 -pipe -fno-ident
      CPPFLAGS: 
      LDFLAGS : -pipe -fno-ident
      
      # **************************************************************************
      
      host gcc 64-bit:
      Using built-in specs.
      COLLECT_GCC=D:\a\mingw-builds\mingw-builds\toolchains\mingw64\bin\gcc.exe
      COLLECT_LTO_WRAPPER=D:/a/mingw-builds/mingw-builds/toolchains/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/8.1.0/lto-wrapper.exe
      Target: x86_64-w64-mingw32
      Configured with: ../../../src/gcc-8.1.0/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-sysroot=/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64 --enable-shared --enable-static --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=nocona --with-tune=core2 --with-libiconv --with-system-zlib --with-gmp=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-mpfr=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-isl=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-pkgversion='x86_64-posix-seh-rev0, Built by MinGW-W64 project' --with-bugurl=https://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS=' -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/lib -L/c/mingw810/prerequisites/x86_64-zlib-static/lib -L/c/mingw810/prerequisites/x86_64-w64-mingw32-static/lib '
      Thread model: posix
      gcc version 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 
      
      # **************************************************************************
      
      host ld 64-bit:
      GNU ld (GNU Binutils) 2.30
        Supported emulations:
         i386pep
         i386pe
      
      
      
      Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by Christian Ehrlicher
      #8

      Please print the output of C:\mingw64\bin\c++.exe --version

      Also this file was not modified for ages so I doubt it has something to do with the Qt source.

      /edit:
      And you still have this postgres path in your compiler line: C:/PostgreSQL/15/include/pthread.h:198, - remove it.

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

      N 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        Please print the output of C:\mingw64\bin\c++.exe --version

        Also this file was not modified for ages so I doubt it has something to do with the Qt source.

        /edit:
        And you still have this postgres path in your compiler line: C:/PostgreSQL/15/include/pthread.h:198, - remove it.

        N Offline
        N Offline
        Navadvipa Chandra das
        wrote on last edited by
        #9

        @Christian-Ehrlicher I need 600 seconds wait for post message!

        C:\INSTALL\Qt>C:\mingw64\bin\c++.exe --version                                                                                              c++.exe (x86_64-posix-seh-rev1, Built by MinGW-W64 project) 11.2.0
        Copyright (C) 2021 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.
        
        
        N 1 Reply Last reply
        0
        • N Navadvipa Chandra das

          @Christian-Ehrlicher I need 600 seconds wait for post message!

          C:\INSTALL\Qt>C:\mingw64\bin\c++.exe --version                                                                                              c++.exe (x86_64-posix-seh-rev1, Built by MinGW-W64 project) 11.2.0
          Copyright (C) 2021 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.
          
          
          N Offline
          N Offline
          Navadvipa Chandra das
          wrote on last edited by
          #10

          I'll try to delete or rename C:/PostgreSQL/15/include/pthread.h .
          C:\INSTALL\Qt>C:\mingw64\bin\c++.exe --version c++.exe (x86_64-posix-seh-rev1, Built by MinGW-W64 project) 11.2.0
          Copyright (C) 2021 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.

          N 1 Reply Last reply
          0
          • N Navadvipa Chandra das

            I'll try to delete or rename C:/PostgreSQL/15/include/pthread.h .
            C:\INSTALL\Qt>C:\mingw64\bin\c++.exe --version c++.exe (x86_64-posix-seh-rev1, Built by MinGW-W64 project) 11.2.0
            Copyright (C) 2021 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.

            N Offline
            N Offline
            Navadvipa Chandra das
            wrote on last edited by
            #11

            @Navadvipa-Chandra-das
            Now problem with C:/PostgreSQL/15/lib/zlib.lib may be

            [1506/11548] Building CXX object qtquick3d/src/3rdparty/embree/CMakeFiles/BundledEmbree.dir/kernels/bvh/bvh_builder_sah.cpp.obj
            [1507/11548] Building CXX object qtquick3d/src/3rdparty/embree/CMakeFiles/BundledEmbree.dir/kernels/bvh/bvh_builder_morton.cpp.obj
            [1508/11548] Building CXX object qtquick3d/src/3rdparty/embree/CMakeFiles/BundledEmbree.dir/kernels/bvh/bvh_builder.cpp.obj
            [1509/11548] Generating version linker script for target Quick3DRuntimeRender
            [1510/11548] Generating version linker script for target Quick3D
            [1511/11548] Running syncqt.cpp for module: QtQuick3DParticles
            [1512/11548] Generating version linker script for target Quick3DParticles
            [1513/11548] Running syncqt.cpp for module: QtQuick3DAssetUtils
            [1514/11548] Generating version linker script for target Quick3DAssetUtils
            [1515/11548] Building CXX object qtquick3d/src/3rdparty/embree/CMakeFiles/BundledEmbree.dir/kernels/bvh/bvh_builder_sah_spatial.cpp.obj
            [1516/11548] Linking CXX static library qtbase\lib\libQt6BundledHarfbuzz.a
            [1517/11548] Running syncqt.cpp for module: QtQuick3DHelpers
            [1518/11548] Running syncqt.cpp for module: QtQuick3DHelpersImpl
            [1519/11548] Linking CXX shared library qtbase\bin\Qt6Core.dll
            FAILED: qtbase/bin/Qt6Core.dll qtbase/lib/libQt6Core.a 
            cmd.exe /C "cd . && C:\mingw64\bin\c++.exe -g  -Wl,--no-undefined -Wl,--version-script,C:/QtSource/Developer/Build/qtbase/src/corelib/Core.version -shared -o qtbase\bin\Qt6Core.dll -Wl,--out-implib,qtbase\lib\libQt6Core.a -Wl,--major-image-version,6,--minor-image-version,5 @CMakeFiles\Core.rsp  && cd ."
            Warning: corrupt .drectve at end of def file
            Warning: corrupt .drectve at end of def file
            Warning: corrupt .drectve at end of def file
            Warning: corrupt .drectve at end of def file
            Warning: corrupt .drectve at end of def file
            Warning: corrupt .drectve at end of def file
            Warning: corrupt .drectve at end of def file
            Warning: corrupt .drectve at end of def file
            Warning: corrupt .drectve at end of def file
            Warning: corrupt .drectve at end of def file
            C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/PostgreSQL/15/lib/zlib.lib(trees.obj):(.text$mn+0x7): undefined reference to `__security_cookie'
            C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/PostgreSQL/15/lib/zlib.lib(trees.obj):(.text$mn+0x13e): undefined reference to `__security_check_cookie'
            C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/PostgreSQL/15/lib/zlib.lib(trees.obj):(.xdata[$unwind$gen_codes]+0x8): undefined reference to `__GSHandlerCheck'
            C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/PostgreSQL/15/lib/zlib.lib(inftrees.obj):(.text$mn+0x1a): undefined reference to `__security_cookie'
            C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/PostgreSQL/15/lib/zlib.lib(inftrees.obj):(.text$mn+0x161): undefined reference to `__security_check_cookie'
            C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/PostgreSQL/15/lib/zlib.lib(inftrees.obj):(.text$mn+0x50b): undefined reference to `__report_rangecheckfailure'
            C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/PostgreSQL/15/lib/zlib.lib(inftrees.obj):(.xdata[$unwind$inflate_table]+0x18): undefined reference to `__GSHandlerCheck'
            
            collect2.exe: error: ld returned 1 exit status
            [1520/11548] Running syncqt.cpp for module: QtQuick3DIblBaker
            [1521/11548] Generating version linker script for target Quick3DHelpers
            [1522/11548] Generating version linker script for target Quick3DHelpersImpl
            [1523/11548] Building CXX object qtquick3d/src/3rdparty/embree/CMakeFiles/BundledEmbree.dir/kernels/bvh/bvh_builder_sah_mb.cpp.obj
            [1524/11548] Building CXX object qtquick3d/src/3rdparty/embree/CMakeFiles/BundledEmbree.dir/kernels/bvh/bvh_builder_twolevel.cpp.obj
            [1525/11548] Building CXX object qtquick3d/src/3rdparty/embree/CMakeFiles/BundledEmbree.dir/kernels/bvh/bvh_intersector1_bvh4.cpp.obj
            [1526/11548] Linking CXX static library qtbase\lib\libQt6BundledSpirv_Cross.a
            ninja: build stopped: subcommand failed.
            
            
            Christian EhrlicherC 1 Reply Last reply
            0
            • N Navadvipa Chandra das

              @Navadvipa-Chandra-das
              Now problem with C:/PostgreSQL/15/lib/zlib.lib may be

              [1506/11548] Building CXX object qtquick3d/src/3rdparty/embree/CMakeFiles/BundledEmbree.dir/kernels/bvh/bvh_builder_sah.cpp.obj
              [1507/11548] Building CXX object qtquick3d/src/3rdparty/embree/CMakeFiles/BundledEmbree.dir/kernels/bvh/bvh_builder_morton.cpp.obj
              [1508/11548] Building CXX object qtquick3d/src/3rdparty/embree/CMakeFiles/BundledEmbree.dir/kernels/bvh/bvh_builder.cpp.obj
              [1509/11548] Generating version linker script for target Quick3DRuntimeRender
              [1510/11548] Generating version linker script for target Quick3D
              [1511/11548] Running syncqt.cpp for module: QtQuick3DParticles
              [1512/11548] Generating version linker script for target Quick3DParticles
              [1513/11548] Running syncqt.cpp for module: QtQuick3DAssetUtils
              [1514/11548] Generating version linker script for target Quick3DAssetUtils
              [1515/11548] Building CXX object qtquick3d/src/3rdparty/embree/CMakeFiles/BundledEmbree.dir/kernels/bvh/bvh_builder_sah_spatial.cpp.obj
              [1516/11548] Linking CXX static library qtbase\lib\libQt6BundledHarfbuzz.a
              [1517/11548] Running syncqt.cpp for module: QtQuick3DHelpers
              [1518/11548] Running syncqt.cpp for module: QtQuick3DHelpersImpl
              [1519/11548] Linking CXX shared library qtbase\bin\Qt6Core.dll
              FAILED: qtbase/bin/Qt6Core.dll qtbase/lib/libQt6Core.a 
              cmd.exe /C "cd . && C:\mingw64\bin\c++.exe -g  -Wl,--no-undefined -Wl,--version-script,C:/QtSource/Developer/Build/qtbase/src/corelib/Core.version -shared -o qtbase\bin\Qt6Core.dll -Wl,--out-implib,qtbase\lib\libQt6Core.a -Wl,--major-image-version,6,--minor-image-version,5 @CMakeFiles\Core.rsp  && cd ."
              Warning: corrupt .drectve at end of def file
              Warning: corrupt .drectve at end of def file
              Warning: corrupt .drectve at end of def file
              Warning: corrupt .drectve at end of def file
              Warning: corrupt .drectve at end of def file
              Warning: corrupt .drectve at end of def file
              Warning: corrupt .drectve at end of def file
              Warning: corrupt .drectve at end of def file
              Warning: corrupt .drectve at end of def file
              Warning: corrupt .drectve at end of def file
              C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/PostgreSQL/15/lib/zlib.lib(trees.obj):(.text$mn+0x7): undefined reference to `__security_cookie'
              C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/PostgreSQL/15/lib/zlib.lib(trees.obj):(.text$mn+0x13e): undefined reference to `__security_check_cookie'
              C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/PostgreSQL/15/lib/zlib.lib(trees.obj):(.xdata[$unwind$gen_codes]+0x8): undefined reference to `__GSHandlerCheck'
              C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/PostgreSQL/15/lib/zlib.lib(inftrees.obj):(.text$mn+0x1a): undefined reference to `__security_cookie'
              C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/PostgreSQL/15/lib/zlib.lib(inftrees.obj):(.text$mn+0x161): undefined reference to `__security_check_cookie'
              C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/PostgreSQL/15/lib/zlib.lib(inftrees.obj):(.text$mn+0x50b): undefined reference to `__report_rangecheckfailure'
              C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/PostgreSQL/15/lib/zlib.lib(inftrees.obj):(.xdata[$unwind$inflate_table]+0x18): undefined reference to `__GSHandlerCheck'
              
              collect2.exe: error: ld returned 1 exit status
              [1520/11548] Running syncqt.cpp for module: QtQuick3DIblBaker
              [1521/11548] Generating version linker script for target Quick3DHelpers
              [1522/11548] Generating version linker script for target Quick3DHelpersImpl
              [1523/11548] Building CXX object qtquick3d/src/3rdparty/embree/CMakeFiles/BundledEmbree.dir/kernels/bvh/bvh_builder_sah_mb.cpp.obj
              [1524/11548] Building CXX object qtquick3d/src/3rdparty/embree/CMakeFiles/BundledEmbree.dir/kernels/bvh/bvh_builder_twolevel.cpp.obj
              [1525/11548] Building CXX object qtquick3d/src/3rdparty/embree/CMakeFiles/BundledEmbree.dir/kernels/bvh/bvh_intersector1_bvh4.cpp.obj
              [1526/11548] Linking CXX static library qtbase\lib\libQt6BundledSpirv_Cross.a
              ninja: build stopped: subcommand failed.
              
              
              Christian EhrlicherC Online
              Christian EhrlicherC Online
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on last edited by
              #12

              @Navadvipa-Chandra-das As I said - remove the postgres stuff - it's wrong and as it looks the main culprit. Use the official stuff and nothing from a dubious server somewhere in the net...

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

              N 1 Reply Last reply
              0
              • Christian EhrlicherC Christian Ehrlicher

                @Navadvipa-Chandra-das As I said - remove the postgres stuff - it's wrong and as it looks the main culprit. Use the official stuff and nothing from a dubious server somewhere in the net...

                N Offline
                N Offline
                Navadvipa Chandra das
                wrote on last edited by
                #13

                Christian, I have already deleted that old Postgres and installed a new one from the official website! There is no config.h. File pthread.h I rename to AAApthread.h and more steps of successful compilation have already been completed!
                [1519/11548] Linking CXX shared library qtbase\bin\Qt6Core.dll
                FAILED: qtbase/bin/Qt6Core.dll qtbase/lib/libQt6Core.a

                Christian EhrlicherC 1 Reply Last reply
                0
                • N Navadvipa Chandra das

                  Christian, I have already deleted that old Postgres and installed a new one from the official website! There is no config.h. File pthread.h I rename to AAApthread.h and more steps of successful compilation have already been completed!
                  [1519/11548] Linking CXX shared library qtbase\bin\Qt6Core.dll
                  FAILED: qtbase/bin/Qt6Core.dll qtbase/lib/libQt6Core.a

                  Christian EhrlicherC Online
                  Christian EhrlicherC Online
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on last edited by
                  #14

                  Please do not add the postgres stuff - compile it later as standalone.
                  Don't know what you mixed up so that those directories are fetched by cmake or whomever but as you can see they screw up your compilation.

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

                  N 1 Reply Last reply
                  0
                  • Christian EhrlicherC Christian Ehrlicher

                    Please do not add the postgres stuff - compile it later as standalone.
                    Don't know what you mixed up so that those directories are fetched by cmake or whomever but as you can see they screw up your compilation.

                    N Offline
                    N Offline
                    Navadvipa Chandra das
                    wrote on last edited by
                    #15

                    @Christian-Ehrlicher
                    I comment this
                    rem set Path=%Path%;C:\PostgreSQL\15\bin
                    and again
                    "file too big"

                    [2525/11557] Running AUTOMOC file extraction for target FbSupportPrivate
                    [2526/11557] Building CXX object qtdeclarative/src/qml/CMakeFiles/Qml.dir/qml/qqmldatablob.cpp.obj
                    [2527/11557] Running moc --collect-json for target FbSupportPrivate
                    [2528/11557] Building CXX object qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/qlanguageservergen.cpp.obj
                    FAILED: qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/qlanguageservergen.cpp.obj 
                    C:\mingw64\bin\c++.exe -DLanguageServerPrivate_EXPORTS -DMINGW_HAS_SECURE_API=1 -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_LANGUAGESERVER_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_JSONRPC_LIB -DQT_MOC_COMPAT -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_STRICT_QLIST_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -IC:/QtSource/Developer/Build/qtlanguageserver/src/languageserver/LanguageServerPrivate_autogen/include -IC:/QtSource/Developer/Build/qtbase/include -IC:/QtSource/Developer/Build/qtbase/include/QtLanguageServer -IC:/QtSource/QtSource651/qtlanguageserver/src/languageserver -IC:/QtSource/Developer/Build/qtlanguageserver/src/languageserver -IC:/QtSource/Developer/Build/qtbase/include/QtLanguageServer/6.5.1 -IC:/QtSource/Developer/Build/qtbase/include/QtLanguageServer/6.5.1/QtLanguageServer -IC:/QtSource/Developer/Build/qtbase/src/corelib -IC:/QtSource/Developer/Build/qtbase/include/QtCore/6.5.1 -IC:/QtSource/Developer/Build/qtbase/include/QtCore/6.5.1/QtCore -IC:/QtSource/Developer/Build/qtbase/include/QtCore -IC:/QtSource/QtSource651/qtbase/mkspecs/win32-g++ -IC:/QtSource/Developer/Build/qtbase/include/QtJsonRpc -IC:/QtSource/Developer/Build/qtlanguageserver/src/jsonrpc -IC:/QtSource/Developer/Build/qtbase/include/QtJsonRpc/6.5.1 -IC:/QtSource/Developer/Build/qtbase/include/QtJsonRpc/6.5.1/QtJsonRpc -Wa,-mbig-obj -g -fvisibility=hidden -fno-keep-inline-dllexport -Wall -Wextra -fno-exceptions -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -Wno-error=implicit-fallthrough -Wno-error=deprecated-copy -Wno-error=redundant-move -Wno-error=init-list-lifetime -Wno-error=format-overflow -Wno-error=stringop-overflow -Wno-error=deprecated-enum-enum-conversion -Wno-error=deprecated-enum-float-conversion -Wno-error=stringop-overread -Wa,-mbig-obj -Wsuggest-override -std=c++17 -Winvalid-pch -include C:/QtSource/Developer/Build/qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/cmake_pch.hxx -MD -MT qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/qlanguageservergen.cpp.obj -MF qtlanguageserver\src\languageserver\CMakeFiles\LanguageServerPrivate.dir\qlanguageservergen.cpp.obj.d -o qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/qlanguageservergen.cpp.obj -c C:/QtSource/QtSource651/qtlanguageserver/src/languageserver/qlanguageservergen.cpp
                    C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/as.exe: qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/qlanguageservergen.cpp.obj: section .pdata$_ZNSt8__detail9__variant5__getINS0_15_Variadic_unionIJN17QLspSpecification16TextDocumentEditENS3_10CreateFileENS3_10RenameFileENS3_10DeleteFileEEEEEEDcSt16in_place_index_tILy0EEOT_: string table overflow at offset 10000051
                    C:\Users\navad\AppData\Local\Temp\ccq698mY.s: Assembler messages:
                    C:\Users\navad\AppData\Local\Temp\ccq698mY.s: Fatal error: qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/qlanguageservergen.cpp.obj: file too big
                    
                    
                    
                    N 1 Reply Last reply
                    0
                    • N Navadvipa Chandra das

                      @Christian-Ehrlicher
                      I comment this
                      rem set Path=%Path%;C:\PostgreSQL\15\bin
                      and again
                      "file too big"

                      [2525/11557] Running AUTOMOC file extraction for target FbSupportPrivate
                      [2526/11557] Building CXX object qtdeclarative/src/qml/CMakeFiles/Qml.dir/qml/qqmldatablob.cpp.obj
                      [2527/11557] Running moc --collect-json for target FbSupportPrivate
                      [2528/11557] Building CXX object qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/qlanguageservergen.cpp.obj
                      FAILED: qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/qlanguageservergen.cpp.obj 
                      C:\mingw64\bin\c++.exe -DLanguageServerPrivate_EXPORTS -DMINGW_HAS_SECURE_API=1 -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_LANGUAGESERVER_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_JSONRPC_LIB -DQT_MOC_COMPAT -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_STRICT_QLIST_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -IC:/QtSource/Developer/Build/qtlanguageserver/src/languageserver/LanguageServerPrivate_autogen/include -IC:/QtSource/Developer/Build/qtbase/include -IC:/QtSource/Developer/Build/qtbase/include/QtLanguageServer -IC:/QtSource/QtSource651/qtlanguageserver/src/languageserver -IC:/QtSource/Developer/Build/qtlanguageserver/src/languageserver -IC:/QtSource/Developer/Build/qtbase/include/QtLanguageServer/6.5.1 -IC:/QtSource/Developer/Build/qtbase/include/QtLanguageServer/6.5.1/QtLanguageServer -IC:/QtSource/Developer/Build/qtbase/src/corelib -IC:/QtSource/Developer/Build/qtbase/include/QtCore/6.5.1 -IC:/QtSource/Developer/Build/qtbase/include/QtCore/6.5.1/QtCore -IC:/QtSource/Developer/Build/qtbase/include/QtCore -IC:/QtSource/QtSource651/qtbase/mkspecs/win32-g++ -IC:/QtSource/Developer/Build/qtbase/include/QtJsonRpc -IC:/QtSource/Developer/Build/qtlanguageserver/src/jsonrpc -IC:/QtSource/Developer/Build/qtbase/include/QtJsonRpc/6.5.1 -IC:/QtSource/Developer/Build/qtbase/include/QtJsonRpc/6.5.1/QtJsonRpc -Wa,-mbig-obj -g -fvisibility=hidden -fno-keep-inline-dllexport -Wall -Wextra -fno-exceptions -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -Wno-error=implicit-fallthrough -Wno-error=deprecated-copy -Wno-error=redundant-move -Wno-error=init-list-lifetime -Wno-error=format-overflow -Wno-error=stringop-overflow -Wno-error=deprecated-enum-enum-conversion -Wno-error=deprecated-enum-float-conversion -Wno-error=stringop-overread -Wa,-mbig-obj -Wsuggest-override -std=c++17 -Winvalid-pch -include C:/QtSource/Developer/Build/qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/cmake_pch.hxx -MD -MT qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/qlanguageservergen.cpp.obj -MF qtlanguageserver\src\languageserver\CMakeFiles\LanguageServerPrivate.dir\qlanguageservergen.cpp.obj.d -o qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/qlanguageservergen.cpp.obj -c C:/QtSource/QtSource651/qtlanguageserver/src/languageserver/qlanguageservergen.cpp
                      C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/as.exe: qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/qlanguageservergen.cpp.obj: section .pdata$_ZNSt8__detail9__variant5__getINS0_15_Variadic_unionIJN17QLspSpecification16TextDocumentEditENS3_10CreateFileENS3_10RenameFileENS3_10DeleteFileEEEEEEDcSt16in_place_index_tILy0EEOT_: string table overflow at offset 10000051
                      C:\Users\navad\AppData\Local\Temp\ccq698mY.s: Assembler messages:
                      C:\Users\navad\AppData\Local\Temp\ccq698mY.s: Fatal error: qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/qlanguageservergen.cpp.obj: file too big
                      
                      
                      
                      N Offline
                      N Offline
                      Navadvipa Chandra das
                      wrote on last edited by Navadvipa Chandra das
                      #16

                      Hello, Christian Ehrlicher and All!

                      Christian, where have you disappeared to?
                      I have taken the following steps.
                      Delete the source texts about which I downloaded as a file qt-everywhere-src-6.5.1.zip and I used the git command that I took on this page - https://wiki.qt.io/Building_Qt_6_from_Git#Running_Tests .

                      For perl init commands, Strawberry Perl (64-bit) 5.32.1.1-64-bit was installed.
                      And continued various experiments.
                      Installed version 2.5.25 of WinFlexBison. Installed html5lib for Python 3.
                      I installed Visual Studio 2019 and Visual Studio 2022 and installed the necessary package for developing classic C++ applications in each of them.
                      There is nothing surprising in the fact that QtWebEngine cannot be built!

                      warning: There is no basic cpp/winrt support. Some functions may not be available. WARNING: Qt WebEngine will not be created. The build requires Visual Studio 2019 or later. WARNING: QtPdf will not be created. The build requires Visual Studio 2019 or later.

                      But now I get a message related to Vulcan. I updated VulkanSDK to version 1.3.250.0, but it didn't help!

                      [1758/11501] Building RC object qtbase/src/tools/qtpaths/CMakeFiles/qtpaths.dir/qtpaths_longpath.rc.obj
                      [1759/11501] Building CXX object qtbase/src/tools/qvkgen/CMakeFiles/qvkgen.dir/qvkgen.cpp.obj
                      [1760/11501] Linking CXX executable qtbase\bin\qvkgen.exe
                      [1761/11501] Building RC object qtbase/src/tools/androidtestrunner/CMakeFiles/androidtestrunner.dir/androidtestrunner_longpath.rc.obj
                      [1762/11501] Building CXX object qtbase/src/tools/qtpaths/CMakeFiles/qtpaths.dir/qtpaths.cpp.obj
                      [1763/11501] Linking CXX executable qtbase\bin\qtpaths.exe
                      [1764/11501] Automatic MOC for target windeployqt
                      [1765/11501] Building CXX object qtbase/src/tools/androidtestrunner/CMakeFiles/androidtestrunner.dir/main.cpp.obj
                      [1766/11501] Generating windeployqt_resource.rc
                      [1767/11501] Generating vulkan data
                      FAILED: qtbase/src/gui/vulkan/qvulkanfunctions.h qtbase/src/gui/vulkan/qvulkanfunctions_p.h qtbase/src/gui/vulkan/qvulkanfunctions_p.cpp C:/QtSource/Developer/Build/qtbase/src/gui/vulkan/qvulkanfunctions.h C:/QtSource/Developer/Build/qtbase/src/gui/vulkan/qvulkanfunctions_p.h C:/QtSource/Developer/Build/qtbase/src/gui/vulkan/qvulkanfunctions_p.cpp 
                      cmd.exe /C "cd /D C:\QtSource\Developer\Build\qtbase\src\gui && C:\CMake\bin\cmake.exe -E make_directory vulkan && C:\QtSource\Developer\Build\qtbase\bin\qvkgen.exe C:/QtSource/qt6/qtbase/src/gui/vulkan/vk.xml C:/QtSource/qt6/qtbase/src/gui/vulkan/generated_header.txt C:/QtSource/Developer/Build/qtbase/src/gui/vulkan/qvulkanfunctions"
                      [1768/11501] Building CXX object qtbase/src/tools/windeployqt/CMakeFiles/windeployqt.dir/windeployqt_autogen/mocs_compilation.cpp.obj
                      [1769/11501] Linking CXX executable qtbase\bin\androidtestrunner.exe
                      [1770/11501] Linking CXX executable qtbase\bin\qlalr.exe
                      [1771/11501] Building CXX object qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/main.cpp.obj
                      [1772/11501] Linking CXX executable qtbase\bin\uic.exe
                      [1773/11501] Linking CXX shared library qtbase\bin\Qt6Network.dll
                      [1774/11501] Linking CXX shared library qtbase\bin\Qt6DBus.dll
                      ninja: build stopped: subcommand failed.
                      

                      I have Visual Studio Installer showing that the following components are installed:
                      Visual Studio Community 2022
                      Visual Studio Community 2019 (2)
                      Visual Studio Build Tools 2019

                      I am confused by the two in brackets 2019 (2). I doesn't clean up. Once I interrupted the installation of Visual Studio Community 2019, and when I started it again, I got Visual Studio Community 2019 (2). Is this why Qt doesn't find Visual Studio Community 2019?

                      There are a lot of questions, but please, let's solve at least one of them!

                      Thank you very much!
                      With best regards, Navadvipa Chandra das.

                      Christian EhrlicherC 1 Reply Last reply
                      0
                      • N Navadvipa Chandra das

                        Hello, Christian Ehrlicher and All!

                        Christian, where have you disappeared to?
                        I have taken the following steps.
                        Delete the source texts about which I downloaded as a file qt-everywhere-src-6.5.1.zip and I used the git command that I took on this page - https://wiki.qt.io/Building_Qt_6_from_Git#Running_Tests .

                        For perl init commands, Strawberry Perl (64-bit) 5.32.1.1-64-bit was installed.
                        And continued various experiments.
                        Installed version 2.5.25 of WinFlexBison. Installed html5lib for Python 3.
                        I installed Visual Studio 2019 and Visual Studio 2022 and installed the necessary package for developing classic C++ applications in each of them.
                        There is nothing surprising in the fact that QtWebEngine cannot be built!

                        warning: There is no basic cpp/winrt support. Some functions may not be available. WARNING: Qt WebEngine will not be created. The build requires Visual Studio 2019 or later. WARNING: QtPdf will not be created. The build requires Visual Studio 2019 or later.

                        But now I get a message related to Vulcan. I updated VulkanSDK to version 1.3.250.0, but it didn't help!

                        [1758/11501] Building RC object qtbase/src/tools/qtpaths/CMakeFiles/qtpaths.dir/qtpaths_longpath.rc.obj
                        [1759/11501] Building CXX object qtbase/src/tools/qvkgen/CMakeFiles/qvkgen.dir/qvkgen.cpp.obj
                        [1760/11501] Linking CXX executable qtbase\bin\qvkgen.exe
                        [1761/11501] Building RC object qtbase/src/tools/androidtestrunner/CMakeFiles/androidtestrunner.dir/androidtestrunner_longpath.rc.obj
                        [1762/11501] Building CXX object qtbase/src/tools/qtpaths/CMakeFiles/qtpaths.dir/qtpaths.cpp.obj
                        [1763/11501] Linking CXX executable qtbase\bin\qtpaths.exe
                        [1764/11501] Automatic MOC for target windeployqt
                        [1765/11501] Building CXX object qtbase/src/tools/androidtestrunner/CMakeFiles/androidtestrunner.dir/main.cpp.obj
                        [1766/11501] Generating windeployqt_resource.rc
                        [1767/11501] Generating vulkan data
                        FAILED: qtbase/src/gui/vulkan/qvulkanfunctions.h qtbase/src/gui/vulkan/qvulkanfunctions_p.h qtbase/src/gui/vulkan/qvulkanfunctions_p.cpp C:/QtSource/Developer/Build/qtbase/src/gui/vulkan/qvulkanfunctions.h C:/QtSource/Developer/Build/qtbase/src/gui/vulkan/qvulkanfunctions_p.h C:/QtSource/Developer/Build/qtbase/src/gui/vulkan/qvulkanfunctions_p.cpp 
                        cmd.exe /C "cd /D C:\QtSource\Developer\Build\qtbase\src\gui && C:\CMake\bin\cmake.exe -E make_directory vulkan && C:\QtSource\Developer\Build\qtbase\bin\qvkgen.exe C:/QtSource/qt6/qtbase/src/gui/vulkan/vk.xml C:/QtSource/qt6/qtbase/src/gui/vulkan/generated_header.txt C:/QtSource/Developer/Build/qtbase/src/gui/vulkan/qvulkanfunctions"
                        [1768/11501] Building CXX object qtbase/src/tools/windeployqt/CMakeFiles/windeployqt.dir/windeployqt_autogen/mocs_compilation.cpp.obj
                        [1769/11501] Linking CXX executable qtbase\bin\androidtestrunner.exe
                        [1770/11501] Linking CXX executable qtbase\bin\qlalr.exe
                        [1771/11501] Building CXX object qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/main.cpp.obj
                        [1772/11501] Linking CXX executable qtbase\bin\uic.exe
                        [1773/11501] Linking CXX shared library qtbase\bin\Qt6Network.dll
                        [1774/11501] Linking CXX shared library qtbase\bin\Qt6DBus.dll
                        ninja: build stopped: subcommand failed.
                        

                        I have Visual Studio Installer showing that the following components are installed:
                        Visual Studio Community 2022
                        Visual Studio Community 2019 (2)
                        Visual Studio Build Tools 2019

                        I am confused by the two in brackets 2019 (2). I doesn't clean up. Once I interrupted the installation of Visual Studio Community 2019, and when I started it again, I got Visual Studio Community 2019 (2). Is this why Qt doesn't find Visual Studio Community 2019?

                        There are a lot of questions, but please, let's solve at least one of them!

                        Thank you very much!
                        With best regards, Navadvipa Chandra das.

                        Christian EhrlicherC Online
                        Christian EhrlicherC Online
                        Christian Ehrlicher
                        Lifetime Qt Champion
                        wrote on last edited by
                        #17

                        Did you run the command which failes directly on the command line to see what happens?

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

                        N 1 Reply Last reply
                        0
                        • Christian EhrlicherC Christian Ehrlicher

                          Did you run the command which failes directly on the command line to see what happens?

                          N Offline
                          N Offline
                          Navadvipa Chandra das
                          wrote on last edited by
                          #18

                          Hello, Christian and All!

                          I use FAR Manager and run all commands from it. I make two bat files - in the first one I run the second bat file with the output of the result in a log file, which I analyze. Some output of the results goes in addition to the log file to the FAR Manager console.

                          For example so:
                          LogDebugConfig.bat:

                          DebugConfig.bat => ./../Log/DebugConfig.log
                          

                          DebugConfig.bat:

                          set Path=%Path%;C:\PostgreSQL\15\bin
                          set BUILD_DIR=C:/QtSource
                          cd %BUILD_DIR%/Developer/Build
                          %BUILD_DIR%/Qt6/configure -prefix %BUILD_DIR%/Developer/Lib ^
                          -developer-build -nomake tests
                          cd %BUILD_DIR%/Developer/Build
                          

                          But now I have completely deleted my Windows 11 and I want to reinstall it again on a clean, formatted disk. This way it is more reliable and there will be more free space. So far there has been a problem with the installation, so I will need time when I can continue experimenting with Qt on Windows 11.

                          I am currently writing this letter on my Ubuntu 22.04 LTS system. And I had the idea to try to install Qt from the source in this system too. But it also takes time to experiment.

                          Thank You for answer!
                          With best regards, Navadvipa Chandra das.

                          N 1 Reply Last reply
                          0
                          • N Navadvipa Chandra das

                            Hello, Christian and All!

                            I use FAR Manager and run all commands from it. I make two bat files - in the first one I run the second bat file with the output of the result in a log file, which I analyze. Some output of the results goes in addition to the log file to the FAR Manager console.

                            For example so:
                            LogDebugConfig.bat:

                            DebugConfig.bat => ./../Log/DebugConfig.log
                            

                            DebugConfig.bat:

                            set Path=%Path%;C:\PostgreSQL\15\bin
                            set BUILD_DIR=C:/QtSource
                            cd %BUILD_DIR%/Developer/Build
                            %BUILD_DIR%/Qt6/configure -prefix %BUILD_DIR%/Developer/Lib ^
                            -developer-build -nomake tests
                            cd %BUILD_DIR%/Developer/Build
                            

                            But now I have completely deleted my Windows 11 and I want to reinstall it again on a clean, formatted disk. This way it is more reliable and there will be more free space. So far there has been a problem with the installation, so I will need time when I can continue experimenting with Qt on Windows 11.

                            I am currently writing this letter on my Ubuntu 22.04 LTS system. And I had the idea to try to install Qt from the source in this system too. But it also takes time to experiment.

                            Thank You for answer!
                            With best regards, Navadvipa Chandra das.

                            N Offline
                            N Offline
                            Navadvipa Chandra das
                            wrote on last edited by
                            #19

                            Hello Christian and All!

                            I installed on the latest version of Windows 11 64 bit the necessary programs to compile Qt from source. But it all happened again. In Release mode, compilation is completed successfully. Except I can't compile a module for PostgreSQL. But in the -developer-build mode, compilation ends with an error - qtlanguageserver/src/languageserver/CMakeFiles/LanguageServerPrivate.dir/qlanguageservergen.cpp.obj: file too big[2522/11771]

                            Here are two output files to the console for configure an make commands.
                            [https://dropmefiles.com/n60M6](link url)

                            I exclude from the Path variable
                            C:\Prg\Strawberry\c\bin
                            C:\Prg\Strawberry\perl\site\bin
                            C:\Prg\Strawberry\perl\bin
                            Actually I'm just renaming the directory C:\Prg\A-Strawberry - otherwise, a lot of confusion turns out, even ld.exe taken from Strawberry!
                            I also clean up C:\Prg\PostgreSQL\15\bin from Path, since again the confusion turns out.

                            Thank You!
                            With best regards, Navadvipa Chandra das.

                            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