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

wayland compiler error with static command

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.13.0
    • QPA: Wayland
    • None
    • Linux/X11

    Description

      Cannot build qt with static parameter

       

      This is my config

      ./configure opengl es2 -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf -sysroot /opt/qt5pi/sysroot -prefix /usr/local/qt5pi -opensource -confirm-license -skip qtscript -nomake tests -nomake examples -make libs -pkg-config -no-use-gold-linker -v -sql-sqlite -skip qtserialbus -optimized-qmake -reduce-exports -openssl-linked -dbus-linked -system-harfbuzz -skip qtwebengine -no-rpath --recheck-all -v

       

      here is my config log file

      config.log

       

      ./../src/client/qwaylandwindow_p.h:56,
      from /opt/qt5pi/qt-everywhere-src-5.13.0/qtwayland/include/QtWaylandClient/5.13.0/QtWaylandClient/private/qwaylandwindow_p.h:1,
      from /opt/qt5pi/qt-everywhere-src-5.13.0/qtwayland/src/client/qwaylandinputdevice_p.h:55,
      from /opt/qt5pi/qt-everywhere-src-5.13.0/qtwayland/src/client/qwaylandinputdevice.cpp:40:
      /opt/qt5pi/qt-everywhere-src-5.13.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:373:24: note: template<class Func1> static bool QObject::disconnect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, void**)
      static inline bool disconnect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
      ^
      /opt/qt5pi/qt-everywhere-src-5.13.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:373:24: note: template argument deduction/substitution failed:
      /opt/qt5pi/qt-everywhere-src-5.13.0/qtwayland/src/client/qwaylandinputdevice.cpp:710:97: note: mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<QtWaylandClient::QWaylandWindow>’
      disconnect(mFocus, &QWaylandWindow::wlSurfaceDestroyed, this, &Pointer::handleFocusDestroyed);
      ^
      Makefile:5344: recipe for target '.obj/qwaylandinputdevice.o' failed
      make[3]: *** [.obj/qwaylandinputdevice.o] Error 1
      make[3]: Leaving directory '/opt/qt5pi/qt5build/qtwayland/src/client'
      Makefile:87: recipe for target 'sub-client-install_subtargets' failed
      make[2]: *** [sub-client-install_subtargets] Error 2
      make[2]: Leaving directory '/opt/qt5pi/qt5build/qtwayland/src'
      Makefile:60: recipe for target 'sub-src-install_subtargets' failed
      make[1]: *** [sub-src-install_subtargets] Error 2
      make[1]: Leaving directory '/opt/qt5pi/qt5build/qtwayland'
      Makefile:585: recipe for target 'module-qtwayland-install_subtargets' failed
      make: *** [module-qtwayland-install_subtargets] Error 2

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            johanhelsing Johan Helsing
            sherifomran Sherif Omran
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes