Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-86454

Qt 6.0 dev linux build static from sources cmake error and build error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.0.0, 6.0
    • None
    • Debian 10
    • Linux/X11

    Description

      Error build Qt 6.0 from sources static versioin:

      qmake:

      cd qtnetworkauth/ && ( test -e Makefile || /qt5/qtbase/bin/qmake -o Makefile /qt5/qtnetworkauth/qtnetworkauth.pro ) && make -f Makefile 
      make[1]: Entering directory '/qt5/qtnetworkauth'
      cd src/ && ( test -e Makefile || /qt5/qtbase/bin/qmake -o Makefile /qt5/qtnetworkauth/src/src.pro ) && make -f Makefile 
      make[2]: Entering directory '/qt5/qtnetworkauth/src'
      cd oauth/ && ( test -e Makefile || /qt5/qtbase/bin/qmake -o Makefile /qt5/qtnetworkauth/src/oauth/oauth.pro ) && make -f Makefile 
      make[3]: Entering directory '/qt5/qtnetworkauth/src/oauth'
      make[3]: Nothing to be done for 'first'.
      make[3]: Leaving directory '/qt5/qtnetworkauth/src/oauth'
      make[2]: Leaving directory '/qt5/qtnetworkauth/src'
      make[1]: Leaving directory '/qt5/qtnetworkauth'
      cd qtmacextras/ && ( test -e Makefile || /qt5/qtbase/bin/qmake -o Makefile /qt5/qtmacextras/qtmacextras.pro ) && make -f Makefile 
      make[1]: Entering directory '/qt5/qtmacextras'
      cd src/ && ( test -e Makefile || /qt5/qtbase/bin/qmake -o Makefile /qt5/qtmacextras/src/src.pro ) && make -f Makefile 
      make[2]: Entering directory '/qt5/qtmacextras/src'
      make[2]: Nothing to be done for 'first'.
      make[2]: Leaving directory '/qt5/qtmacextras/src'
      make[1]: Leaving directory '/qt5/qtmacextras'
      cd qtx11extras/ && ( test -e Makefile || /qt5/qtbase/bin/qmake -o Makefile /qt5/qtx11extras/qtx11extras.pro ) && make -f Makefile 
      make[1]: Entering directory '/qt5/qtx11extras'
      cd src/ && ( test -e Makefile || /qt5/qtbase/bin/qmake -o Makefile /qt5/qtx11extras/src/src.pro ) && make -f Makefile 
      make[2]: Entering directory '/qt5/qtx11extras/src'
      cd x11extras/ && ( test -e Makefile || /qt5/qtbase/bin/qmake -o Makefile /qt5/qtx11extras/src/x11extras/x11extras.pro ) && make -f Makefile 
      make[3]: Entering directory '/qt5/qtx11extras/src/x11extras'
      g++ -c -pipe -O2 -fPIC -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -ffunction-sections -fdata-sections -D_REENTRANT -DQT_NO_FOREACH -DQT_NO_USING_NAMESPACE -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_X11EXTRAS_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../include -I../../include/QtX11Extras -I/qt5/qtx11extras/include/QtX11Extras/6.0.0 -I/qt5/qtx11extras/include/QtX11Extras/6.0.0/QtX11Extras -I/qt5/qtbase/include -I/qt5/qtbase/include/QtGui -I/qt5/qtbase/include/QtCore -I/qt5/qtbase/include/QtGui/6.0.0 -I/qt5/qtbase/include/QtGui/6.0.0/QtGui -I/qt5/qtbase/include/QtCore/6.0.0 -I/qt5/qtbase/include/QtCore/6.0.0/QtCore -I.moc -I/usr/include/libdrm -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/xcb -I/usr/include/xcb -I/qt5/qtbase/mkspecs/linux-g++ -o .obj/qx11info_x11.o qx11info_x11.cpp
      qx11info_x11.cpp:52:10: fatal error: QtPlatformHeaders/qxcbscreenfunctions.h: No such file or directory
       #include <QtPlatformHeaders/qxcbscreenfunctions.h>
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      make[3]: *** [Makefile:783: .obj/qx11info_x11.o] Error 1
      make[3]: Leaving directory '/qt5/qtx11extras/src/x11extras'
      make[2]: *** [Makefile:47: sub-x11extras-make_first] Error 2
      make[2]: Leaving directory '/qt5/qtx11extras/src'
      make[1]: *** [Makefile:48: sub-src-make_first] Error 2
      make[1]: Leaving directory '/qt5/qtx11extras'
      make: *** [Makefile:194: module-qtx11extras-make_first] Error 2
      
      

      cmake not configured before build - sea attached file cmake-log.txt

       

      configure:

       

      ./configure -openssl-linked -static -skip qt3d -no-warnings-are-errors -release -recheck-all -prefix /home/rgaraev/Qt5132/Static600 -opensource -confirm-license -nomake examples -nomake tests -c++std c++17 -I /usr/include/xcb/ -L /usr/lib/x86_64-linux-gnu/ -xcb-xlib -xcb -feature-thread -feature-xkbcommon -qt-libpng -qt-libjpeg -qt-zlib -I /usr/include/xcb/ -L /usr/lib/x86_64-linux-gnu/
      
      

      Env: Debian 10cmake-log.txt

       

      Attachments

        1. CMakeError.log
          29 kB
        2. cmake-log.txt
          124 kB
        3. CMakeOutput.log
          105 kB
        4. config.log
          147 kB
        5. qt-static-build.txt
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            janihe Jani Heikkinen
            homdx Homdx Homdx
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes