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

improper include style in qtmultimedia confuses syncqt when shadow-building

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Invalid
    • Affects Version/s: 5.6.0
    • Fix Version/s: None
    • Component/s: Build System, Multimedia
    • Labels:
      None
    • Environment:
      Windows 10.0.10586 64-bit,
      MSys2 + perl + python + gcc 5.3,
      Android NDK r11b 64-bit,
      Android SDK API 10 + 11 + 16 + 18
      Oracle JDK 1.8.0_77

      Description

      git clone https://code.qt.io/qt/qt5.git Qt5
      cd Qt5
      perl init-repository
      cd ..
      set "QTSRC=%CD%\Qt5"
      
      md "Qt5-build/android-armv7-4.9"
      cd "Qt5-build/android-armv7-4.9"
      
      call "%QTSRC%\configure.bat"^
        -opensource^
        -confirm-license^
        -prefix "C:/Dev/Tools/Qt-libs"^
        -platform win32-g++^
        -make-tool mingw32-make^
        -xplatform android-g++^
        -debug-and-release^
        -no-warnings-are-errors^
        -android-ndk-platform android-9^
        -android-arch armeabi-v7a^
        -android-toolchain-version 4.9^
        -opengl es2^
        -nomake examples^
        -nomake tests^
        -no-incredibuild-xge
      
      mingw32-make
      
      log
      cd qtmultimediaquicktools/ && ( test -e Makefile || C:/Dev/Projects/Qt5-build/android-armv7-4.9/qtbase/bin/qmake.exe C:/Dev/Projects/Qt5/qtmultimedia/src/qtmultimediaquicktools/qtmultimediaquicktools.pro -o Makefile ) && C:/Dev/Tools/Msys2/mingw32/bin/mingw32-make -f Makefile
      mingw32-make[3]: Entering directory 'C:/Dev/Projects/Qt5-build/android-armv7-4.9/qtmultimedia/src/qtmultimediaquicktools'
      C:/Dev/Tools/Android/ndk64-r11b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++ -c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack -fno-builtin-memmove -std=c++11 -O2 -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -mthumb -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wno-psabi -W -D_REENTRANT -fPIC -DQT_NO_XKBCOMMON -DQT_BUILD_QTMULTIMEDIAQUICKTOOLS_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_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -IC:/Dev/Projects/Qt5/qtmultimedia/src/qtmultimediaquicktools -I. -IC:/Dev/Projects/Qt5/qtmultimedia/src/multimedia/qtmultimediaquicktools_headers -I../../include -I../../include/QtMultimediaQuick_p -I../../include/QtMultimediaQuick_p/5.6.1 -I../../include/QtMultimediaQuick_p/5.6.1/QtMultimediaQuick_p -IC:/Dev/Projects/Qt5-build/android-armv7-4.9/qtdeclarative/include -IC:/Dev/Projects/Qt5-build/android-armv7-4.9/qtdeclarative/include/QtQuick -I../../include/QtMultimedia/5.6.1 -I../../include/QtMultimedia/5.6.1/QtMultimedia -IC:/Dev/Projects/Qt5-build/android-armv7-4.9/qtbase/include/QtGui/5.6.1 -IC:/Dev/Projects/Qt5-build/android-armv7-4.9/qtbase/include/QtGui/5.6.1/QtGui -I../../include/QtMultimedia -IC:/Dev/Projects/Qt5-build/android-armv7-4.9/qtbase/include -IC:/Dev/Projects/Qt5-build/android-armv7-4.9/qtbase/include/QtGui -IC:/Dev/Projects/Qt5-build/android-armv7-4.9/qtdeclarative/include/QtQml -IC:/Dev/Projects/Qt5-build/android-armv7-4.9/qtbase/include/QtNetwork -IC:/Dev/Projects/Qt5-build/android-armv7-4.9/qtbase/include/QtCore/5.6.1 -IC:/Dev/Projects/Qt5-build/android-armv7-4.9/qtbase/include/QtCore/5.6.1/QtCore -IC:/Dev/Projects/Qt5-build/android-armv7-4.9/qtbase/include/QtCore -I.moc -isystem C:/Dev/Tools/Android/ndk64-r11b/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem C:/Dev/Tools/Android/ndk64-r11b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem C:/Dev/Tools/Android/ndk64-r11b/platforms/android-9/arch-arm/usr/include -IC:/Dev/Projects/Qt5/qtbase/mkspecs/android-g++ -o .obj/qdeclarativevideooutput.obj C:/Dev/Projects/Qt5/qtmultimedia/src/qtmultimediaquicktools/qdeclarativevideooutput.cpp
      In file included from C:/Dev/Projects/Qt5/qtmultimedia/src/qtmultimediaquicktools/qdeclarativevideooutput_render_p.h:49:0,
                       from C:/Dev/Projects/Qt5/qtmultimedia/src/qtmultimediaquicktools/qdeclarativevideooutput.cpp:36:
      ../../include/QtMultimedia/5.6.1/QtMultimedia/private/qdeclarativevideooutput_backend_p.h:1:134: fatal error: ../../../../../../../../Qt5/qtmultimedia/src/multimedia/qtmultimediaquicktools_headers/qdeclarativevideooutput_backend_p.h: No such file or directory
       #include "../../../../../../../../Qt5/qtmultimedia/src/multimedia/qtmultimediaquicktools_headers/qdeclarativevideooutput_backend_p.h"
                                                                                                                                            ^
      compilation terminated.
      Makefile:2016: recipe for target '.obj/qdeclarativevideooutput.obj' failed
      mingw32-make[3]: *** [.obj/qdeclarativevideooutput.obj] Error 1
      mingw32-make[3]: Leaving directory 'C:/Dev/Projects/Qt5-build/android-armv7-4.9/qtmultimedia/src/qtmultimediaquicktools'
      

        Attachments

        1. Makefile-5.5.zip
          12 kB
        2. Makefile-5.6.zip
          12 kB
        3. Makefile-5.6-in-source.zip
          10 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              buddenha Oswald Buddenhagen
              Reporter:
              dmitry.sokolov Dmitry Sokolov
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes