Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to build MySQL driver for Android?
Forum Updated to NodeBB v4.3 + New Features

How to build MySQL driver for Android?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
53 Posts 6 Posters 20.3k Views 3 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #12

    Since the scripts provided are in bash, you might have some trouble to do that as presented. If that would be the case, then you can still install a virtual machine with Linux on it.

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Allerknappe
      wrote on last edited by Allerknappe
      #13
      This post is deleted!
      1 Reply Last reply
      0
      • A Offline
        A Offline
        Allerknappe
        wrote on last edited by
        #14

        i have a similar problem.
        i try the option 2 instruction of the wiki article with MSYS on windows.

        it also runs a few lines and then i get following error:
        0_1515410775397_fail.jpg

        i have used this shell script modified to my system:

        #!/bin/bash
        # Usage: ./build_libsqlmariadb.so.sh [clean]
        # 2016-07-22 T-bond (https://t-bond.hu) Added Windows-MSYS build support, Added clean option, and output to dir. Added temp build dir. Fixed no getpwent error. More cleaner compile output. Skip for already built libs
        
        # Based on https://gist.github.com/RazZziel/fd607459c1f07a43cdf9
        output_dir="libmariadb_so_output"
        build_dir="build_libmariadb_temp"
        
        export ANDROID_NDK_ROOT="/c/users/allerknappe/appdata/local/android/sdk/ndk-bundle"
        export QT_ROOT="/c/Qt/5.7"
         
        SR="$ANDROID_NDK_ROOT/platforms/android-17/arch-arm/"
        BR="$ANDROID_NDK_ROOT/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-"
        no_skips=true
        
        #Clean build and outputs
        if [ "$1" = "clean" ]; then
        	echo "Cleaning..."
        	rm -r -f $build_dir $output_dir
        	echo "Cleaned."
        else
        pushd () {
            command pushd "$@" > /dev/null
        }
        
        popd () {
            command popd "$@" > /dev/null
        }
        
        if [ ! -d $build_dir ]; then
        mkdir $build_dir
        fi
        pushd $build_dir
         
        here="$(dirname "$0")"
        find "$SR" > "$here/rootfs_files_before.txt" || exit 1
        checkChanges() {
                find "$SR" > "$here/rootfs_files_after.txt" || exit 1
                echo "Changes:"
                diff -u "$here/rootfs_files_before.txt" "$here/rootfs_files_after.txt"
        }
        trap checkChanges EXIT
         
        # OpenSSL
        pkg=openssl-1.0.2h.tar.gz
        dir=$(basename $pkg .tar.gz)
         
        if [ ! -d $dir ]; then
                wget -c http://www.openssl.org/source/$pkg
                tar -xf $pkg || exit 1
        fi
         
        pushd $dir
        		if [ ! -f "skip" ] || [ "$no_skips" = true ]; then
        	        RANLIB="$BR"ranlib CC="$BR"gcc ./Configure android-armv7 --prefix=$SR/usr
        	        ANDROID_DEV=$SR/usr make || exit 1
        	        make build_libs || exit 1
                touch skip
            	fi
        popd
         
        # libiconv
        pkg=libiconv-1.14.tar.gz
        dir=$(basename $pkg .tar.gz)
         
        if [ ! -d $dir ]; then
                wget -c http://ftp.gnu.org/pub/gnu/libiconv/$pkg
                tar -xf $pkg || exit 1
        fi
         
        pushd $dir
        		if [ ! -f "skip" ] || [ "$no_skips" = true ]; then
        			#Fix for outdated scripts on Windows T-bond.
        			wget "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" -O new_config.guess
        			wget "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" -O new_config.sub
        			\cp new_config.guess build-aux/config.guess
        			\cp new_config.guess libcharset/build-aux/config.guess
        			\cp new_config.sub build-aux/config.sub
        			\cp new_config.sub libcharset/build-aux/config.sub
        			#Fix for outdated scripts on Windows T-bond. END
        			STRIP="$BR"strip RANLIB="$BR"ranlib OBJDUMP="$BR"objdump AR="$BR"ar CC="$BR"gcc CFLAGS=--sysroot=$SR CPP="$BR"cpp CPPFLAGS=$CFLAGS ./configure --host=arm --prefix=$SR/usr --with-sysroot=$SR
        	        make || exit 1
        	        make install || exit 1
        	        touch skip
            	fi
        popd
         
         
        # mariadbclient
         
        version=2.0.0
        pkg=mariadb_client-$version-src.tar.gz
        url=http://archive.mariadb.org/client-native-$version/src/$pkg
         
        # FIXME: This one fails to build, linker errors
        #version=2.1.0
        #pkg=mariadb-connector-c-$version-src.tar.gz
        #url=https://downloads.mariadb.org/f/connector-c-$version/source-tgz/$pkg
         
        dir=$(basename $pkg .tar.gz)
        if [ ! -d $dir ]; then
                wget -c $url
                tar -xf $pkg || exit 1
        fi
        
        pushd $dir
        		if [ ! -f "skip" ] || [ "$no_skips" = true ]; then
        	        sed -i -e "s|ADD_SUBDIRECTORY(unittest/libmariadb)|#ADD_SUBDIRECTORY(unittest/libmariadb)|" CMakeLists.txt
        	        sed -i -e "N; s|typedef unsigned short ushort;\n#endif|#endif\ntypedef unsigned short ushort;|" include/my_global.h
        	        sed -i -e "N; s|SET_TARGET_PROPERTIES(libmariadb PROPERTIES VERSION.*||" libmariadb/CMakeLists.txt
        	        sed -i -e "N; s|SOVERSION \${CPACK_PACKAGE_VERSION_MAJOR})||" libmariadb/CMakeLists.txt # Pig disgusting: the previous multiline thingie should've done it
        	        sed -i -e "N; s|\${CPACK_PACKAGE_VERSION_MAJOR}||" libmariadb/CMakeLists.txt # Pig disgusting: what the fuck
        	        sed -i '/#ifdef HAVE_GETPWNAM/c#if defined(HAVE_GETPWNAM) && defined(HAVE_GETPWENT)' libmariadb/mf_pack.c #T-bond: Fix the no getpwent error. http://forum.kodi.tv/showthread.php?tid=280134
        	        #DCMAKE_CXX_COMPILER DCMAKE_SYSTEM_VERSION DCMAKE_SYSTEM_NAME WINDOWS ONLY!!!
        	        if [ ! -d "build" ]; then
        	        	mkdir build
        	    	fi
        	        pushd build
        	        PKG_CONFIG_PATH=$SR/usr/lib/pkgconfig cmake \
        			-DCMAKE_BUILD_TYPE=Release \
        			-DCMAKE_C_FLAGS=--sysroot="$SR" \
        			-DCMAKE_INSTALL_PREFIX="$SR/usr" \
        			-DCMAKE_C_COMPILER="$BR"gcc \
        			-DCMAKE_SYSTEM_NAME="Android" \
        			-DCMAKE_SYSTEM_VERSION=1 \
        			-DCMAKE_CXX_COMPILER="$BR"g++ \
        			-DCMAKE_LINKER="$BR"ld \
        			-DCMAKE_AR="$BR"ar \
        			-DCMAKE_NM="$BR"nm \
        			-DCMAKE_OBJCOPY="$BR"objcopy \
        			-DCMAKE_OBJDUMP="$BR"objdump \
        			-DCMAKE_RANLIB="$BR"ranlib \
        			-DCMAKE_STRIP="$BR"strip \
        			-DICONV_INCLUDE_DIR="$SR/usr/include" \
        			-DICONV_LIBRARIES="$SR/usr/lib/libiconv.a" \
        			-DWITH_EXTERNAL_ZLIB=ON \
        			-DZLIB_INCLUDE_DIR="$SR/usr/include" \
        			-DZLIB_LIBRARY="$SR/usr/lib/libz.so" ../ || exit 1
        
        	        make install || exit 1
        	        popd
        	        cp build/libmariadb/*.{a,so} "$SR/usr/lib/mariadb/" || exit 1
        	        touch skip
        	    fi
        popd
         
         
        # qt
        qmake="$QT_ROOT/android_armv7/bin/qmake"
        [ ! -f "$qmake" ] && { echo "Could not find qmake in '$qmake'"; exit 1; }
        [ ! -x "$qmake" ] && { echo "Qmake is not executable in '$qmake'"; exit 1; }
        qtVersion=5.7.0
        pkg=qtbase-opensource-src-$qtVersion.tar.gz
         
        dir=$(basename $pkg .tar.gz)
         
        if [ ! -d $dir ]; then
                wget -c http://download.qt.io/official_releases/qt/${qtVersion%.*}/$qtVersion/submodules/$pkg
                tar -xf $pkg || exit 1
        fi
         
        pushd $dir/src/plugins/sqldrivers/mysql/
        		$qmake "QMAKE_CXX=$BR"g++ "QMAKE_LINK=$BR"g++ "INCLUDEPATH+=$SR/usr/include/mariadb" "LIBS+=$SR/usr/lib/mariadb/libmariadbclient.a $SR/usr/lib/libssl.a $SR/usr/lib/libcrypto.a $SR/usr/lib/libiconv.a" "LIBPATH+=$SR/usr/lib/mariadb" -o Makefile mysql.pro
                make || exit 1
                make install || exit 1
        popd 
        popd
        
        if [ ! -d $output_dir ]; then
        	mkdir $output_dir
        fi
        cp $SR/usr/lib/mariadb/libmariadb.so $output_dir/libmariadb.so
        cp $QT_ROOT/android_armv7/plugins/sqldrivers/libqsqlmysql.so $output_dir/libqsqlmysql.so
         
        echo
        echo "BOOYAH!!!"
        echo
        fi
        

        for some help im really grateful.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          Leonardo
          wrote on last edited by
          #15

          Download the source code for libmysqlclient.

          https://dev.mysql.com/downloads/connector/c/

          Get MSYS2 for Windows. Get cmake. Cross compile the mysql client library using cmake and the GCC for Android you have. Make sure to enable the static output, so later you can build a self contained plugin.

          Now you have the static library "libmysqlclient.a" and all include files on the output directory you specified on cmake. When configuring Qt, add the flags for additional include directory (-I) and library directory (-L) using the paths you have. And that's it.

          I would also compile Qt for Android using MSYS2 and not Windows Prompt. The "configure" shell script seems to be smarter than the ".bat" one.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Allerknappe
            wrote on last edited by
            #16

            @Leonardo said in How to build MySQL driver for Android?:

            MSYS2

            ok at first, thanks for the answer.
            but sorry for the question, but how i cross compile the mysql client library using cmake and the GCC for Android and enable the static output ? should not the shell script do it for me?

            I try already to use the shell script with msys 1.0( not 2) the picture with the error above is msys (not a .bat with the windows prompt)

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Allerknappe
              wrote on last edited by
              #17

              so i try the option 1 in the mysql plugin wiki

              i get a problem with cmake, with the following output:

              0_1515514244863_fail2.jpg

              so on, here the cmakeoutput.log:

              The system is: Windows - 10.0.16299 - AMD64
              Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
              Compiler: c:/users/allerknappe/appdata/local/android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc 
              Build flags: --sysroot=c:/users/allerknappe/appdata/local/android/sdk/ndk-bundle/platforms/android-9/arch-arm
              Id flags:  
              
              The output was:
              0
              
              
              Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
              
              The C compiler identification is GNU, found in "C:/temp/android/mariadb_client-2.0.0-src/build/CMakeFiles/3.10.1/CompilerIdC/a.out"
              

              i was runing this self writen instruction with code in msys1.0, in msys2 it seems to be not working:

              first install msys2 and then grep
              
              SR=/c/users/allerknappe/appdata/local/android/sdk/ndk-bundle/platforms/android-9/arch-arm
              BR=/c/users/allerknappe/appdata/local/android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-
              
              cd #to openssl1.0.1e
              
              RANLIB="$BR"ranlib CC="$BR"gcc ./Configure android-armv7 --prefix=$SR/usr
              ANDROID_DEV=$SR/usr make		
              make install
              
              cd /c/temp/android/libiconv-1.14_android
              
              STRIP="$BR"strip RANLIB="$BR"ranlib OBJDUMP="$BR"objdump AR="$BR"ar CC="$BR"gcc CFLAGS=--sysroot=$SR CPP="$BR"cpp CPPFLAGS=$CFLAGS ./configure --build=x86_64 --host=arm --prefix=$SR/usr --with-sysroot=$SR && make install
              
              cd /c/temp/android/mariadb_client-2.0.0-src
              
              mkdir build && cd build
              
              #Fail in the line after 
              PKG_CONFIG_PATH=$SR/usr/lib/pkgconfig cmake -DCMAKE_AR="$BR"ar -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER="$BR"gcc -DCMAKE_C_FLAGS=--sysroot=$SR -DCMAKE_INSTALL_PREFIX=$SR/usr -DCMAKE_LINKER="$BR"ld -DCMAKE_NM="$BR"nm -DCMAKE_OBJCOPY="$BR"objcopy -DCMAKE_OBJDUMP="$BR"objdump -DCMAKE_RANLIB="$BR"ranlib -DCMAKE_STRIP="$BR"strip -DWITH_EXTERNAL_ZLIB=ON -DICONV_INCLUDE_DIR=$SR/usr/include -DICONV_LIBRARIES=$SR/usr/lib/libiconv.a -DZLIB_INCLUDE_DIR=$SR/usr/include -DZLIB_LIBRARY=$SR/usr/lib/libz.so ../
              
              #in include/my_global.h inside the #define _global_h block: 
              #ifndef ushort
              #define ushort uint16
              #endif
              
              make install
              "$BR"objdump -p libqsqlmysql.so | grep NEEDED
              
              #edit libmariadb/CMakeLists.txt and comment out the block: 
              #SET_TARGET_PROPERTIES(libmariadb PROPERTIES VERSION ${CPACK_PACKAGE_VERSION_MAJOR} SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR})
              
              You've to add an external library to your .pro file because the generated plugin depends on libmariadb.so
              
              contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
                  ANDROID_EXTRA_LIBS = \
                      # modify the path
                      $$PWD/../../../mysqllibandroid/mariadb_client-2.0.0-src/build/libmariadb/libmariadb.so
              }
              
              

              is maybe something with cmake wrong? but when yes, what?

              1 Reply Last reply
              0
              • L Offline
                L Offline
                Leonardo
                wrote on last edited by
                #18

                The "configure" from Qt builds the MySQL plugin for Qt. The plugin depends on libmysqlclient, which you should build separately.

                Get cmake binaries here:

                https://cmake.org/download/

                I'm assuming you may not be used to compiling using a shell. The download above has a GUI with a wizard that might help you cross compile. Use it to generate the Makefile. Then go on msys and type "make".

                I have never used the mariadb client. I can only help you with libmysqlclient.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Allerknappe
                  wrote on last edited by
                  #19

                  ok thanks for the answer.
                  i tried the last 3 days to make the Driver for Android but the hole scrips and different versions that maybe not working together working for me all not together....
                  do you can give me a step by step instruction to configure the mysql plugin till the end when i try to make? maybe for you is it easy, but i´m dont know what i will do...

                  1 Reply Last reply
                  0
                  • L Offline
                    L Offline
                    Leonardo
                    wrote on last edited by
                    #20

                    It's been a while since I've done this process. I was repeating it now to write a step by step tutorial to you and it's much more painful than I could remember... There are many errors and patches to apply along the process. I think it's just easier to share the binary I have obtained with you. I see you're using GCC 4.9. I've used 4.8. Maybe it still works.

                    https://www.dropbox.com/s/e6ejk3nj1xljzs2/mysql-connector-android.7z?dl=0

                    When building Qt, just add the following flags:

                    configure ... -plugin-sql-mysql -I C:/path/to/mysql-connector-android/include -L C:/path/to/mysql-connector-android/lib/

                    1 Reply Last reply
                    1
                    • A Offline
                      A Offline
                      Allerknappe
                      wrote on last edited by
                      #21

                      ok im really gratefull for your source, so i try on.
                      After i run the configure statement i got this output:
                      0_1515567612077_fail3.jpg
                      later i also try to run cmake but i got also an error...

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        Allerknappe
                        wrote on last edited by Allerknappe
                        #22

                        ok i think i have to set the -xplatform android-g++ option.
                        if i try this i will answer...

                        update:
                        i run the configure command in the ms prompt and there it should work...
                        have i then do additional things? or can i run in the same directory as configure is the make command and thats it? get i then a new .so file for the arch-armv7 folder?

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          Allerknappe
                          wrote on last edited by
                          #23

                          ok i try another few things but still an error. It´s maybe possible to take a workable libqsqlmysql.so from an other user for my qt 5.7 ?
                          I have only found a version for qt 5.3.2 and i´m thinking about to downgrade qt if i don´t get another solution...

                          1 Reply Last reply
                          0
                          • L Offline
                            L Offline
                            Leonardo
                            wrote on last edited by
                            #24

                            What error are you getting? The problem here is that you need a libqsqlmysql.so for Android. You're not likely to find any other out there. Here are all the flags I use when compiling Qt 5.8.0 on MSYS2:

                            configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.8.0/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I D:/src/mysql-bin/android/include -L D:/src/mysql-bin/android/lib/ -openssl -I D:/src/openssl-bin/android/include -android-ndk C:/android/ndk -android-sdk C:/android/sdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -v -opengl -egl -no-use-gold-linker -shared

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              Allerknappe
                              wrote on last edited by Allerknappe
                              #25

                              the error from beginnig with the configure command on the win prompt:

                              C:\Qt\5.7\Src\qtbase\src\plugins\sqldrivers\mysql>cd c:/qt/5.7/src
                              
                              c:\Qt\5.7\Src>configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -v -opengl -egl -no-use-gold-linker -shared
                              + cd qtbase
                              + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -v -opengl -egl -no-use-gold-linker -shared
                              Attempting to skip non-existent module qtwebkit-examples.
                              Argument passed to -opengl option is not valid.
                              
                              c:\Qt\5.7\Src>configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -v -egl -no-use-gold-linker -shared
                              + cd qtbase
                              + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -v -egl -no-use-gold-linker -shared
                              Attempting to skip non-existent module qtwebkit-examples.
                              Unknown option -egl
                              
                              c:\Qt\5.7\Src>configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -v -no-use-gold-linker -shared
                              + cd qtbase
                              + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -v -no-use-gold-linker -shared
                              Attempting to skip non-existent module qtwebkit-examples.
                              
                              c:\Qt\5.7\Src>configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -v -no-use-gold-linker -shared
                              + cd qtbase
                              + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -v -no-use-gold-linker -shared
                              
                              This is the Qt for Android Open Source Edition.
                              
                              You have already accepted the terms of the license.
                              
                              Creating qmake...
                              g++ -c -o qlibraryinfo.o -std=c++11 -DUNICODE -ffunction-sections -g  -IC:\Qt\5.7\Src\qtbase/qmake -IC:\Qt\5.7\Src\qtbase/qmake/library -IC:\Qt\5.7\Src\qtbase/qmake/generators -IC:\Qt\5.7\Src\qtbase/qmake/generators/unix -IC:\Qt\5.7\Src\qtbase/qmake/generators/win32 -IC:\Qt\5.7\Src\qtbase/qmake/generators/mac -IC:\Qt\5.7\Src\qtbase/qmake/generators/integrity -IC:\Qt\5.7\Src\qtbase\include -IC:\Qt\5.7\Src\qtbase\include/QtCore -IC:\Qt\5.7\Src\qtbase\include/QtCore/5.7.1 -IC:\Qt\5.7\Src\qtbase\include/QtCore/5.7.1/QtCore -I../src/corelib/global -DHAVE_QCONFIG_CPP -IC:\Qt\5.7\Src\qtbase\mkspecs\win32-g++ -IC:\Qt\5.7\Src\qtbase/tools/shared -DQT_VERSION_STR=\"5.7.1\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=7 -DQT_VERSION_PATCH=1 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_FOREACH -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS C:\Qt\5.7\Src\qtbase/src/corelib/global/qlibraryinfo.cpp
                              g++ -o "../bin/qmake.exe" project.o option.o property.o main.o ioutils.o proitems.o qmakevfs.o qmakeglobals.o qmakeparser.o qmakeevaluator.o qmakebuiltins.o makefile.o unixmake2.o unixmake.o mingw_make.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o cesdkhandler.o qtextcodec.o qutfcodec.o qstring.o qstring_compat.o qstringbuilder.o qtextstream.o qiodevice.o qringbuffer.o qdebug.o qmalloc.o qglobal.o qarraydata.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfiledevice.o qfile.o qfilesystementry.o qfilesystemengine.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qlogging.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o qjsonobject.o qjsonvalue.o qfilesystemengine_win.o qfilesystemiterator_win.o qfsfileengine_win.o qlocale_win.o qsettings_win.o qsystemlibrary.o registry.o -static -s -lole32 -luuid -ladvapi32 -lkernel32
                              Running configuration tests...
                              Das System kann den angegebenen Pfad nicht finden.
                              process_begin: CreateProcess(NULL, C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -fPIC -I. -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -IC:\Qt\5.7\Src\qtbase\mkspecs\android-g++ -o arch.obj arch.cpp, ...) failed.
                              make (e=2): Das System kann die angegebene Datei nicht finden.
                              mingw32-make: *** [arch.obj] Error 2
                              Could not find output file 'libarch.so' or 'arch' in C:/Qt/5.7/Src/qtbase/config.tests/arch : No such file or directory
                              ..\..\..\bin\qmake.exe C:\Qt\5.7\Src\qtbase\config.tests\common\c++14
                              Das System kann den angegebenen Pfad nicht finden.
                              mingw32-make
                              process_begin: CreateProcess(NULL, C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -g -g -marm -O0 -std=gnu++14 -Wall -W -fPIC -I. -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -IC:\Qt\5.7\Src\qtbase\mkspecs\android-g++ -o c++14.obj c++14.cpp, ...) failed.
                              make (e=2): Das System kann die angegebene Datei nicht finden.
                              mingw32-make: *** [c++14.obj] Error 2
                              ..\..\..\bin\qmake.exe C:\Qt\5.7\Src\qtbase\config.tests\common\c++default
                              Das System kann den angegebenen Pfad nicht finden.
                              mingw32-make
                              ..\..\..\bin\qmake.exe C:\Qt\5.7\Src\qtbase\config.tests\common\atomic64
                              Das System kann den angegebenen Pfad nicht finden.
                              mingw32-make
                              process_begin: CreateProcess(NULL, C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -fPIC -I. -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -IC:\Qt\5.7\Src\qtbase\mkspecs\android-g++ -o atomic64.obj atomic64.cpp, ...) failed.
                              make (e=2): Das System kann die angegebene Datei nicht finden.
                              mingw32-make: *** [atomic64.obj] Error 2
                              ..\..\..\bin\qmake.exe C:\Qt\5.7\Src\qtbase\config.tests\common\atomic64 LIBS+=-latomic
                              Das System kann den angegebenen Pfad nicht finden.
                              mingw32-make
                              process_begin: CreateProcess(NULL, C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -fPIC -I. -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -IC:\Qt\5.7\Src\qtbase\mkspecs\android-g++ -o atomic64.obj atomic64.cpp, ...) failed.
                              make (e=2): Das System kann die angegebene Datei nicht finden.
                              mingw32-make: *** [atomic64.obj] Error 2
                              ..\..\..\bin\qmake.exe C:\Qt\5.7\Src\qtbase\config.tests\common\atomicfptr
                              Das System kann den angegebenen Pfad nicht finden.
                              mingw32-make
                              process_begin: CreateProcess(NULL, C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -fPIC -I. -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -IC:\Qt\5.7\Src\qtbase\mkspecs\android-g++ -o atomicfptr.obj atomicfptr.cpp, ...) failed.
                              make (e=2): Das System kann die angegebene Datei nicht finden.
                              mingw32-make: *** [atomicfptr.obj] Error 2
                              ERROR: detected an std::atomic implementation that fails for function pointers.
                              Please apply the patch corresponding to your Standard Library vendor, found in
                              C:/Qt/5.7/Src/qtbase/config.tests/common/atomicfptr
                              
                              c:\Qt\5.7\Src>make
                              cd qtbase\ && ( if not exist Makefile C:\Qt\5.7\mingw53_32\bin\qmake.exe C:\Qt\5.7\Src\qtbase\qtbase.pro -o Makefile ) && make -f Makefile
                              make[1]: Entering directory 'c:/Qt/5.7/Src/qtbase'
                              C:\Qt\5.7\Src\qtbase\bin\qmake -o Makefile qtbase.pro
                              Das System kann den angegebenen Pfad nicht finden.
                              cd src\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\src.pro -o Makefile ) && make -f Makefile
                              make[2]: Entering directory 'c:/Qt/5.7/Src/qtbase/src'
                              C:\Qt\5.7\Src\qtbase\bin\qmake -o Makefile src.pro
                              Das System kann den angegebenen Pfad nicht finden.
                              cd tools\bootstrap\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\bootstrap\bootstrap.pro -o Makefile ) && make -f Makefile
                              make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap'
                              make -f Makefile.Debug
                              make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap'
                              make[4]: Nothing to be done for 'first'.
                              make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap'
                              make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap'
                              cd tools\moc\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\moc\moc.pro -o Makefile ) && make -f Makefile
                              make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc'
                              make -f Makefile.Debug
                              make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc'
                              make[4]: Nothing to be done for 'first'.
                              make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc'
                              make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc'
                              cd tools\rcc\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\rcc\rcc.pro -o Makefile ) && make -f Makefile
                              make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc'
                              make -f Makefile.Debug
                              make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc'
                              make[4]: Nothing to be done for 'first'.
                              make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc'
                              make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc'
                              cd 3rdparty\pcre\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\3rdparty\pcre\pcre.pro -o Makefile ) && make -f Makefile
                              make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                              C:\Qt\5.7\Src\qtbase\bin\qmake -o Makefile pcre.pro
                              Das System kann den angegebenen Pfad nicht finden.
                              make -f Makefile.Debug all
                              make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                              C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-gcc -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -g -marm -O0 -fPIC -fno-exceptions -fvisibility=hidden -DHAVE_CONFIG_H -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -Ic:\temp\include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -I..\..\..\mkspecs\android-g++ -o .obj\debug\pcre16_byte_order.obj pcre16_byte_order.c
                              process_begin: CreateProcess(NULL, C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-gcc -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -g -marm -O0 -fPIC -fno-exceptions -fvisibility=hidden -DHAVE_CONFIG_H -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -Ic:\temp\include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -I..\..\..\mkspecs\android-g++ -o .obj\debug\pcre16_byte_order.obj pcre16_byte_order.c, ...) failed.
                              make (e=2): Das System kann die angegebene Datei nicht finden.
                              Makefile.Debug:298: recipe for target '.obj\debug\pcre16_byte_order.obj' failed
                              make[4]: *** [.obj\debug\pcre16_byte_order.obj] Error 2
                              make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                              Makefile:42: recipe for target 'debug-all' failed
                              make[3]: *** [debug-all] Error 2
                              make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                              Makefile:143: recipe for target 'sub-3rdparty-pcre-make_first' failed
                              make[2]: *** [sub-3rdparty-pcre-make_first] Error 2
                              make[2]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src'
                              Makefile:46: recipe for target 'sub-src-make_first' failed
                              make[1]: *** [sub-src-make_first] Error 2
                              make[1]: Leaving directory 'c:/Qt/5.7/Src/qtbase'
                              Makefile:74: recipe for target 'module-qtbase-make_first' failed
                              make: *** [module-qtbase-make_first] Error 2
                              
                              c:\Qt\5.7\Src>make install
                              cd qtbase\ && ( if not exist Makefile C:\Qt\5.7\mingw53_32\bin\qmake.exe C:\Qt\5.7\Src\qtbase\qtbase.pro -o Makefile ) && make -f Makefile install
                              make[1]: Entering directory 'c:/Qt/5.7/Src/qtbase'
                              cd src\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\src.pro -o Makefile ) && make -f Makefile install
                              make[2]: Entering directory 'c:/Qt/5.7/Src/qtbase/src'
                              cd tools\bootstrap\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\bootstrap\bootstrap.pro -o Makefile ) && make -f Makefile install
                              make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap'
                              make -f Makefile.Debug install
                              make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap'
                              make[4]: Nothing to be done for 'install'.
                              make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap'
                              make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap'
                              cd tools\moc\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\moc\moc.pro -o Makefile ) && make -f Makefile install
                              make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc'
                              make -f Makefile.Debug install
                              make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc'
                              make[4]: Nothing to be done for 'install'.
                              make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc'
                              make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc'
                              cd tools\rcc\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\rcc\rcc.pro -o Makefile ) && make -f Makefile install
                              make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc'
                              make -f Makefile.Debug install
                              make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc'
                              make[4]: Nothing to be done for 'install'.
                              make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc'
                              make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc'
                              cd 3rdparty\pcre\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\3rdparty\pcre\pcre.pro -o Makefile ) && make -f Makefile install
                              make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                              make -f Makefile.Debug install
                              make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                              make[4]: Nothing to be done for 'install'.
                              make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                              make -f Makefile.Release install
                              make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                              make[4]: Nothing to be done for 'install'.
                              make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                              make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                              cd corelib\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\corelib\corelib.pro -o Makefile ) && make -f Makefile install
                              make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/corelib'
                              C:\Qt\5.7\Src\qtbase\bin\qmake -o Makefile corelib.pro
                              Das System kann den angegebenen Pfad nicht finden.
                              Der Befehl "LC_ALL" ist entweder falsch geschrieben oder
                              konnte nicht gefunden werden.
                              Das System kann den angegebenen Pfad nicht finden.
                              C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -msse2 -mfpmath=sse -g -g -marm -O0 -std=c++1z -Wall -W -Wvla -Wdate-time -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DELF_INTERPRETER=\"\" -DQT_BUILD_CORE_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 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -Iglobal -I..\3rdparty\pcre -I..\3rdparty\harfbuzz\src -I..\3rdparty\md5 -I..\3rdparty\md4 -I..\3rdparty\sha3 -I..\3rdparty\double-conversion\include -I..\3rdparty\double-conversion\include\double-conversion -I..\3rdparty\forkfd -I..\..\include -I..\..\include\QtCore -I..\..\include\QtCore\5.7.1 -I..\..\include\QtCore\5.7.1\QtCore -I.moc -Ic:\temp\include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -I..\..\mkspecs\android-g++ tools\qstring_compat.cpp -o .obj\qstring_compat.obj
                              process_begin: CreateProcess(NULL, C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -msse2 -mfpmath=sse -g -g -marm -O0 -std=c++1z -Wall -W -Wvla -Wdate-time -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DELF_INTERPRETER=\"\" -DQT_BUILD_CORE_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 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -Iglobal -I..\3rdparty\pcre -I..\3rdparty\harfbuzz\src -I..\3rdparty\md5 -I..\3rdparty\md4 -I..\3rdparty\sha3 -I..\3rdparty\double-conversion\include -I..\3rdparty\double-conversion\include\double-conversion -I..\3rdparty\forkfd -I..\..\include -I..\..\include\QtCore -I..\..\include\QtCore\5.7.1 -I..\..\include\QtCore\5.7.1\QtCore -I.moc -Ic:\temp\include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -I..\..\mkspecs\android-g++ tools\qstring_compat.cpp -o .obj\qstring_compat.obj, ...) failed.
                              make (e=2): Das System kann die angegebene Datei nicht finden.
                              Makefile:10712: recipe for target '.obj\qstring_compat.obj' failed
                              make[3]: *** [.obj\qstring_compat.obj] Error 2
                              make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/corelib'
                              Makefile:182: recipe for target 'sub-corelib-install_subtargets' failed
                              make[2]: *** [sub-corelib-install_subtargets] Error 2
                              make[2]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src'
                              Makefile:58: recipe for target 'sub-src-install_subtargets' failed
                              make[1]: *** [sub-src-install_subtargets] Error 2
                              make[1]: Leaving directory 'c:/Qt/5.7/Src/qtbase'
                              Makefile:86: recipe for target 'module-qtbase-install_subtargets' failed
                              make: *** [module-qtbase-install_subtargets] Error 2
                              
                              

                              thats only one of few tries

                              1 Reply Last reply
                              0
                              • L Offline
                                L Offline
                                Leonardo
                                wrote on last edited by
                                #26

                                Some of these errors are shown because of the "-v" flag. It's the verbose mode. It shows all tests that are made to check which features are available or not. You can remove it, if you want.

                                Based on the errors, I suppose you're using MinGW, which is somewhat limited. You should try MinGW-w64 (https://mingw-w64.org).

                                You should also clean your build directory before trying again.

                                make clean

                                In fact, you'd better not build it in the source directory. Make a "c:\Qt\5.7\build" directory and call the configuration script from there.

                                c:\Qt\5.7\build>..\src\configure ......

                                1 Reply Last reply
                                0
                                • A Offline
                                  A Offline
                                  Allerknappe
                                  wrote on last edited by
                                  #27

                                  ok i try and install mingw w64 but still errors:

                                  Microsoft Windows [Version 10.0.16299.192]
                                  (c) 2017 Microsoft Corporation. Alle Rechte vorbehalten.
                                  
                                  C:\Users\Allerknappe>make --version
                                  GNU Make 4.0
                                  Built for x86_64-w64-mingw32
                                  Copyright (C) 1988-2013 Free Software Foundation, Inc.
                                  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
                                  This is free software: you are free to change and redistribute it.
                                  There is NO WARRANTY, to the extent permitted by law.
                                  
                                  C:\Users\Allerknappe>cd c:/qt/5.7/src
                                  
                                  c:\Qt\5.7\Src>make clean
                                  cd qtbase\ && ( if not exist Makefile C:\Qt\5.7\mingw53_32\bin\qmake.exe C:\Qt\5.7\Src\qtbase\qtbase.pro -o Makefile ) && make -f Makefile clean
                                  make[1]: Entering directory 'c:/Qt/5.7/Src/qtbase'
                                  cd src\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\src.pro -o Makefile ) && make -f Makefile clean
                                  make[2]: Entering directory 'c:/Qt/5.7/Src/qtbase/src'
                                  cd tools\bootstrap\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\bootstrap\bootstrap.pro -o Makefile ) && make -f Makefile clean
                                  make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap'
                                  make -f Makefile.Debug clean
                                  make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap'
                                  del .obj\debug\qlatincodec.o .obj\debug\qtextcodec.o .obj\debug\qutfcodec.o .obj\debug\qglobal.o .obj\debug\qlogging.o .obj\debug\qmalloc.o .obj\debug\qnumeric.o .obj\debug\qabstractfileengine.o .obj\debug\qbuffer.o .obj\debug\qdatastream.o .obj\debug\qdebug.o .obj\debug\qdir.o .obj\debug\qdiriterator.o .obj\debug\qfile.o .obj\debug\qfileinfo.o .obj\debug\qfilesystementry.o .obj\debug\qfilesystemengine.o .obj\debug\qfsfileengine.o .obj\debug\qfsfileengine_iterator.o .obj\debug\qiodevice.o .obj\debug\qfiledevice.o .obj\debug\qresource.o .obj\debug\qtemporaryfile.o .obj\debug\qtextstream.o .obj\debug\qstandardpaths.o .obj\debug\qloggingcategory.o .obj\debug\qloggingregistry.o .obj\debug\qcoreapplication.o .obj\debug\qcoreglobaldata.o .obj\debug\qmetatype.o .obj\debug\qvariant.o .obj\debug\qsystemerror.o .obj\debug\quuid.o .obj\debug\qbitarray.o .obj\debug\qbytearray.o .obj\debug\qarraydata.o .obj\debug\qbytearraymatcher.o .obj\debug\qcommandlineparser.o .obj\debug\qcommandlineoption.o .obj\debug\qcryptographichash.o .obj\debug\qdatetime.o .obj\debug\qhash.o .obj\debug\qlist.o .obj\debug\qlinkedlist.o .obj\debug\qlocale.o .obj\debug\qlocale_tools.o .obj\debug\qmap.o .obj\debug\qregexp.o .obj\debug\qringbuffer.o .obj\debug\qpoint.o .obj\debug\qrect.o .obj\debug\qsize.o .obj\debug\qline.o .obj\debug\qstring.o .obj\debug\qstringbuilder.o .obj\debug\qstring_compat.o .obj\debug\qstringlist.o .obj\debug\qvector.o .obj\debug\qvsnprintf.o .obj\debug\qxmlutils.o .obj\debug\qxmlstream.o .obj\debug\qjson.o .obj\debug\qjsondocument.o .obj\debug\qjsonobject.o .obj\debug\qjsonarray.o .obj\debug\qjsonvalue.o .obj\debug\qjsonparser.o .obj\debug\qjsonwriter.o .obj\debug\qdom.o .obj\debug\qxml.o .obj\debug\qfilesystemengine_win.o .obj\debug\qfilesystemiterator_win.o .obj\debug\qfsfileengine_win.o .obj\debug\qcoreapplication_win.o .obj\debug\qsystemlibrary.o .obj\debug\qstandardpaths_win.o
                                  c:\Qt\5.7\Src\qtbase\src\tools\bootstrap\.obj\debug\qlatincodec.o konnte nicht gefunden werden
                                  make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap'
                                  make -f Makefile.Release clean
                                  make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap'
                                  del .obj\release\qlatincodec.o .obj\release\qtextcodec.o .obj\release\qutfcodec.o .obj\release\qglobal.o .obj\release\qlogging.o .obj\release\qmalloc.o .obj\release\qnumeric.o .obj\release\qabstractfileengine.o .obj\release\qbuffer.o .obj\release\qdatastream.o .obj\release\qdebug.o .obj\release\qdir.o .obj\release\qdiriterator.o .obj\release\qfile.o .obj\release\qfileinfo.o .obj\release\qfilesystementry.o .obj\release\qfilesystemengine.o .obj\release\qfsfileengine.o .obj\release\qfsfileengine_iterator.o .obj\release\qiodevice.o .obj\release\qfiledevice.o .obj\release\qresource.o .obj\release\qtemporaryfile.o .obj\release\qtextstream.o .obj\release\qstandardpaths.o .obj\release\qloggingcategory.o .obj\release\qloggingregistry.o .obj\release\qcoreapplication.o .obj\release\qcoreglobaldata.o .obj\release\qmetatype.o .obj\release\qvariant.o .obj\release\qsystemerror.o .obj\release\quuid.o .obj\release\qbitarray.o .obj\release\qbytearray.o .obj\release\qarraydata.o .obj\release\qbytearraymatcher.o .obj\release\qcommandlineparser.o .obj\release\qcommandlineoption.o .obj\release\qcryptographichash.o .obj\release\qdatetime.o .obj\release\qhash.o .obj\release\qlist.o .obj\release\qlinkedlist.o .obj\release\qlocale.o .obj\release\qlocale_tools.o .obj\release\qmap.o .obj\release\qregexp.o .obj\release\qringbuffer.o .obj\release\qpoint.o .obj\release\qrect.o .obj\release\qsize.o .obj\release\qline.o .obj\release\qstring.o .obj\release\qstringbuilder.o .obj\release\qstring_compat.o .obj\release\qstringlist.o .obj\release\qvector.o .obj\release\qvsnprintf.o .obj\release\qxmlutils.o .obj\release\qxmlstream.o .obj\release\qjson.o .obj\release\qjsondocument.o .obj\release\qjsonobject.o .obj\release\qjsonarray.o .obj\release\qjsonvalue.o .obj\release\qjsonparser.o .obj\release\qjsonwriter.o .obj\release\qdom.o .obj\release\qxml.o .obj\release\qfilesystemengine_win.o .obj\release\qfilesystemiterator_win.o .obj\release\qfsfileengine_win.o .obj\release\qcoreapplication_win.o .obj\release\qsystemlibrary.o
                                  c:\Qt\5.7\Src\qtbase\src\tools\bootstrap\.obj\release\qlatincodec.o konnte nicht gefunden werden
                                  del .obj\release\qstandardpaths_win.o
                                  c:\Qt\5.7\Src\qtbase\src\tools\bootstrap\.obj\release\qstandardpaths_win.o konnte nicht gefunden werden
                                  make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap'
                                  make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap'
                                  cd tools\moc\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\moc\moc.pro -o Makefile ) && make -f Makefile clean
                                  make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc'
                                  make -f Makefile.Debug clean
                                  make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc'
                                  del .obj\debug\moc.o .obj\debug\preprocessor.o .obj\debug\generator.o .obj\debug\parser.o .obj\debug\token.o .obj\debug\main.o
                                  c:\Qt\5.7\Src\qtbase\src\tools\moc\.obj\debug\moc.o konnte nicht gefunden werden
                                  make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc'
                                  make -f Makefile.Release clean
                                  make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc'
                                  del .obj\release\moc.o .obj\release\preprocessor.o .obj\release\generator.o .obj\release\parser.o .obj\release\token.o .obj\release\main.o
                                  c:\Qt\5.7\Src\qtbase\src\tools\moc\.obj\release\moc.o konnte nicht gefunden werden
                                  make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc'
                                  make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc'
                                  cd tools\rcc\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\rcc\rcc.pro -o Makefile ) && make -f Makefile clean
                                  make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc'
                                  make -f Makefile.Debug clean
                                  make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc'
                                  del .obj\debug\rcc.o .obj\debug\main.o
                                  c:\Qt\5.7\Src\qtbase\src\tools\rcc\.obj\debug\rcc.o konnte nicht gefunden werden
                                  make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc'
                                  make -f Makefile.Release clean
                                  make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc'
                                  del .obj\release\rcc.o .obj\release\main.o
                                  c:\Qt\5.7\Src\qtbase\src\tools\rcc\.obj\release\rcc.o konnte nicht gefunden werden
                                  make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc'
                                  make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc'
                                  cd 3rdparty\pcre\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\3rdparty\pcre\pcre.pro -o Makefile ) && make -f Makefile clean
                                  make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                                  make -f Makefile.Debug clean
                                  make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                                  del .obj\debug\pcre16_byte_order.obj .obj\debug\pcre16_chartables.obj .obj\debug\pcre16_compile.obj .obj\debug\pcre16_config.obj .obj\debug\pcre16_dfa_exec.obj .obj\debug\pcre16_exec.obj .obj\debug\pcre16_fullinfo.obj .obj\debug\pcre16_get.obj .obj\debug\pcre16_globals.obj .obj\debug\pcre16_jit_compile.obj .obj\debug\pcre16_maketables.obj .obj\debug\pcre16_newline.obj .obj\debug\pcre16_ord2utf16.obj .obj\debug\pcre16_refcount.obj .obj\debug\pcre16_string_utils.obj .obj\debug\pcre16_study.obj .obj\debug\pcre16_tables.obj .obj\debug\pcre16_ucd.obj .obj\debug\pcre16_utf16_utils.obj .obj\debug\pcre16_valid_utf16.obj .obj\debug\pcre16_version.obj .obj\debug\pcre16_xclass.obj
                                  c:\Qt\5.7\Src\qtbase\src\3rdparty\pcre\.obj\debug\pcre16_byte_order.obj konnte nicht gefunden werden
                                  del *~ core *.core
                                  c:\Qt\5.7\Src\qtbase\src\3rdparty\pcre\*~ konnte nicht gefunden werden
                                  make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                                  make -f Makefile.Release clean
                                  make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                                  del .obj\release\pcre16_byte_order.obj .obj\release\pcre16_chartables.obj .obj\release\pcre16_compile.obj .obj\release\pcre16_config.obj .obj\release\pcre16_dfa_exec.obj .obj\release\pcre16_exec.obj .obj\release\pcre16_fullinfo.obj .obj\release\pcre16_get.obj .obj\release\pcre16_globals.obj .obj\release\pcre16_jit_compile.obj .obj\release\pcre16_maketables.obj .obj\release\pcre16_newline.obj .obj\release\pcre16_ord2utf16.obj .obj\release\pcre16_refcount.obj .obj\release\pcre16_string_utils.obj .obj\release\pcre16_study.obj .obj\release\pcre16_tables.obj .obj\release\pcre16_ucd.obj .obj\release\pcre16_utf16_utils.obj .obj\release\pcre16_valid_utf16.obj .obj\release\pcre16_version.obj .obj\release\pcre16_xclass.obj
                                  c:\Qt\5.7\Src\qtbase\src\3rdparty\pcre\.obj\release\pcre16_byte_order.obj konnte nicht gefunden werden
                                  del *~ core *.core
                                  c:\Qt\5.7\Src\qtbase\src\3rdparty\pcre\*~ konnte nicht gefunden werden
                                  make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                                  make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre'
                                  cd corelib\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\corelib\corelib.pro -o Makefile ) && make -f Makefile clean
                                  make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/corelib'
                                  del .rcc\qrc_mimetypes.cpp
                                  c:\Qt\5.7\Src\qtbase\src\corelib\.rcc\qrc_mimetypes.cpp konnte nicht gefunden werden
                                  make: Interrupt/Exception caught (code = 0xc0000005, addr = 0x00007FFA8CBEF15C)
                                  Makefile:176: recipe for target 'sub-corelib-clean' failed
                                  make[2]: *** [sub-corelib-clean] Error 255
                                  make[2]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src'
                                  Makefile:52: recipe for target 'sub-src-clean' failed
                                  make[1]: *** [sub-src-clean] Error 2
                                  make[1]: Leaving directory 'c:/Qt/5.7/Src/qtbase'
                                  Makefile:80: recipe for target 'module-qtbase-clean' failed
                                  make: *** [module-qtbase-clean] Error 2
                                  
                                  c:\Qt\5.7\Src>cd \build
                                  Das System kann den angegebenen Pfad nicht finden.
                                  
                                  c:\Qt\5.7\Src>cd build
                                  
                                  c:\Qt\5.7\Src\build>
                                  
                                  c:\Qt\5.7\Src\build>c:/qt/5.7/src/configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -opengl -egl -no-use-gold-linker -shared
                                  + cd qtbase
                                  + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -opengl -egl -no-use-gold-linker -shared
                                  Attempting to skip non-existent module qtwebkit-examples.
                                  Argument passed to -opengl option is not valid.
                                  
                                  c:\Qt\5.7\Src\build>c:/qt/5.7/src/configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -egl -no-use-gold-linker -shared
                                  + cd qtbase
                                  + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -egl -no-use-gold-linker -shared
                                  Attempting to skip non-existent module qtwebkit-examples.
                                  Unknown option -egl
                                  
                                  c:\Qt\5.7\Src\build>c:/qt/5.7/src/configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -no-use-gold-linker -shared
                                  + cd qtbase
                                  + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -no-use-gold-linker -shared
                                  Attempting to skip non-existent module qtwebkit-examples.
                                  
                                  c:\Qt\5.7\Src\build>c:/qt/5.7/src/configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -no-use-gold-linker -shared
                                  + cd qtbase
                                  + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -no-use-gold-linker -shared
                                  
                                  This is the Qt for Android Open Source Edition.
                                  
                                  You have already accepted the terms of the license.
                                  
                                  Creating qmake...
                                  execute: File or path is not found (mingw32-make)
                                  execute: File or path is not found (mingw32-make)
                                  Cleaning qmake failed, return code -1
                                  
                                  
                                  c:\Qt\5.7\Src\build>c:/qt/5.7/src/configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -no-use-gold-linker -shared
                                  + cd qtbase
                                  + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -no-use-gold-linker -shared
                                  
                                  This is the Qt for Android Open Source Edition.
                                  
                                  You have already accepted the terms of the license.
                                  
                                  Creating qmake...
                                  g++ -c -o project.o -std=c++11 -DUNICODE -ffunction-sections -g  -IC:\Qt\5.7\Src\qtbase/qmake -IC:\Qt\5.7\Src\qtbase/qmake/library -IC:\Qt\5.7\Src\qtbase/qmake/generators -IC:\Qt\5.7\Src\qtbase/qmake/generators/unix -IC:\Qt\5.7\Src\qtbase/qmake/generators/win32 -IC:\Qt\5.7\Src\qtbase/qmake/generators/mac -IC:\Qt\5.7\Src\qtbase/qmake/generators/integrity -IC:\Qt\5.7\Src\qtbase\include -IC:\Qt\5.7\Src\qtbase\include/QtCore -IC:\Qt\5.7\Src\qtbase\include/QtCore/5.7.1 -IC:\Qt\5.7\Src\qtbase\include/QtCore/5.7.1/QtCore -I../src/corelib/global -DHAVE_QCONFIG_CPP -IC:\Qt\5.7\Src\qtbase\mkspecs\win32-g++ -IC:\Qt\5.7\Src\qtbase/tools/shared -DQT_VERSION_STR=\"5.7.1\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=7 -DQT_VERSION_PATCH=1 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_FOREACH -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS C:\Qt\5.7\Src\qtbase/qmake/project.cpp
                                  g++: error: CreateProcess: No such file or directory
                                  Makefile:207: recipe for target 'project.o' failed
                                  mingw32-make: *** [project.o] Error 1
                                  del /f project.o option.o property.o main.o ioutils.o proitems.o qmakevfs.o qmakeglobals.o qmakeparser.o qmakeevaluator.o qmakebuiltins.o makefile.o unixmake2.o unixmake.o mingw_make.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o cesdkhandler.o qtextcodec.o qutfcodec.o qstring.o qstring_compat.o qstringbuilder.o qtextstream.o qiodevice.o qringbuffer.o qdebug.o qmalloc.o qglobal.o qarraydata.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfiledevice.o qfile.o qfilesystementry.o qfilesystemengine.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qlogging.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o qjsonobject.o qjsonvalue.o qfilesystemengine_win.o qfilesystemiterator_win.o qfsfileengine_win.o qlocale_win.o qsettings_win.o qsystemlibrary.o registry.o
                                  C:\Qt\5.7\Src\build\qtbase\qmake\project.o konnte nicht gefunden werden
                                  g++ -c -o project.o -std=c++11 -DUNICODE -ffunction-sections -g  -IC:\Qt\5.7\Src\qtbase/qmake -IC:\Qt\5.7\Src\qtbase/qmake/library -IC:\Qt\5.7\Src\qtbase/qmake/generators -IC:\Qt\5.7\Src\qtbase/qmake/generators/unix -IC:\Qt\5.7\Src\qtbase/qmake/generators/win32 -IC:\Qt\5.7\Src\qtbase/qmake/generators/mac -IC:\Qt\5.7\Src\qtbase/qmake/generators/integrity -IC:\Qt\5.7\Src\qtbase\include -IC:\Qt\5.7\Src\qtbase\include/QtCore -IC:\Qt\5.7\Src\qtbase\include/QtCore/5.7.1 -IC:\Qt\5.7\Src\qtbase\include/QtCore/5.7.1/QtCore -I../src/corelib/global -DHAVE_QCONFIG_CPP -IC:\Qt\5.7\Src\qtbase\mkspecs\win32-g++ -IC:\Qt\5.7\Src\qtbase/tools/shared -DQT_VERSION_STR=\"5.7.1\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=7 -DQT_VERSION_PATCH=1 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_FOREACH -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS C:\Qt\5.7\Src\qtbase/qmake/project.cpp
                                  g++: error: CreateProcess: No such file or directory
                                  Makefile:207: recipe for target 'project.o' failed
                                  mingw32-make: *** [project.o] Error 1
                                  Building qmake failed, return code 2
                                  
                                  
                                  c:\Qt\5.7\Src\build>
                                  
                                  1 Reply Last reply
                                  0
                                  • L Offline
                                    L Offline
                                    Leonardo
                                    wrote on last edited by
                                    #28

                                    Wow. That's getting harder than expected. Can you check whether the file "C:\Qt\5.7\Src\qtbase/qmake/project.cpp" do exists?

                                    1 Reply Last reply
                                    0
                                    • A Offline
                                      A Offline
                                      Allerknappe
                                      wrote on last edited by
                                      #29

                                      yes its contained in the directory:

                                      Verzeichnis von C:\Qt\5.7\Src\qtbase\qmake
                                      
                                      10.01.2018  17:01    <DIR>          .
                                      10.01.2018  17:01    <DIR>          ..
                                      01.12.2016  09:17             4.013 cachekeys.h
                                      10.01.2018  09:37           732.855 cesdkhandler.o
                                      15.11.2017  21:34    <DIR>          doc
                                      15.11.2017  21:33    <DIR>          generators
                                      10.01.2018  09:35           311.252 ioutils.o
                                      15.11.2017  21:33    <DIR>          library
                                      01.12.2016  09:17            14.594 main.cpp
                                      10.01.2018  09:35           620.585 main.o
                                      10.01.2018  17:01            21.581 Makefile
                                      10.01.2018  09:36         1.592.156 makefile.o
                                      01.12.2016  09:17            20.187 Makefile.unix
                                      01.12.2016  09:17             6.809 Makefile.win32
                                      10.01.2018  09:36           673.477 makefiledeps.o
                                      01.12.2016  09:17             6.912 meta.cpp
                                      01.12.2016  09:17             2.835 meta.h
                                      10.01.2018  09:36           663.616 meta.o
                                      10.01.2018  09:36           784.371 metamakefile.o
                                      10.01.2018  09:36           736.843 mingw_make.o
                                      10.01.2018  09:37         1.214.133 msbuild_objectmodel.o
                                      10.01.2018  09:37         1.010.194 msvc_nmake.o
                                      10.01.2018  09:37         1.216.756 msvc_objectmodel.o
                                      10.01.2018  09:36         1.386.345 msvc_vcproj.o
                                      Drücken Sie eine beliebige Taste . . .
                                      10.01.2018  09:36           444.639 msvc_vcxproj.o
                                      01.12.2016  09:17            26.166 option.cpp
                                      01.12.2016  09:17             6.667 option.h
                                      10.01.2018  09:35           699.053 option.o
                                      10.01.2018  09:36         1.554.197 pbuilder_pbx.o
                                      10.01.2018  09:36           463.606 proitems.o
                                      01.12.2016  09:17             5.344 project.cpp
                                      01.12.2016  09:17             4.082 project.h
                                      10.01.2018  09:35           613.731 project.o
                                      10.01.2018  09:36           806.598 projectgenerator.o
                                      01.12.2016  09:17             8.319 property.cpp
                                      01.12.2016  09:17             1.891 property.h
                                      10.01.2018  09:35           514.713 property.o
                                      10.01.2018  09:38           570.346 qabstractfileengine.o
                                      10.01.2018  09:37            42.567 qarraydata.o
                                      10.01.2018  09:38           323.660 qbitarray.o
                                      10.01.2018  09:37           410.720 qbuffer.o
                                      10.01.2018  09:37           513.062 qbytearray.o
                                      10.01.2018  09:37           124.084 qbytearraymatcher.o
                                      10.01.2018  09:39           288.536 qcryptographichash.o
                                      10.01.2018  09:37           310.524 qdatastream.o
                                      10.01.2018  09:38           613.875 qdatetime.o
                                      10.01.2018  09:37           441.962 qdebug.o
                                      10.01.2018  09:38           743.052 qdir.o
                                      10.01.2018  09:38           619.994 qdiriterator.o
                                      10.01.2018  09:37           416.365 qfile.o
                                      10.01.2018  09:37           370.805 qfiledevice.o
                                      10.01.2018  09:38           499.190 qfileinfo.o
                                      10.01.2018  09:37           405.949 qfilesystemengine.o
                                      Drücken Sie eine beliebige Taste . . .
                                      10.01.2018  09:39           502.232 qfilesystemengine_win.o
                                      10.01.2018  09:37           340.652 qfilesystementry.o
                                      10.01.2018  09:39           375.648 qfilesystemiterator_win.o
                                      10.01.2018  09:38           504.239 qfsfileengine.o
                                      10.01.2018  09:38           401.999 qfsfileengine_iterator.o
                                      10.01.2018  09:39           501.321 qfsfileengine_win.o
                                      10.01.2018  09:37           432.706 qglobal.o
                                      10.01.2018  09:38           321.425 qhash.o
                                      10.01.2018  09:37           561.639 qiodevice.o
                                      10.01.2018  09:39           393.917 qjson.o
                                      10.01.2018  09:39           526.973 qjsonarray.o
                                      10.01.2018  09:39           506.321 qjsondocument.o
                                      10.01.2018  09:39           608.679 qjsonobject.o
                                      10.01.2018  09:39           541.531 qjsonparser.o
                                      10.01.2018  09:39           520.881 qjsonvalue.o
                                      10.01.2018  17:01           455.825 qlibraryinfo.o
                                      10.01.2018  09:39            25.950 qlinkedlist.o
                                      10.01.2018  09:37           286.261 qlist.o
                                      10.01.2018  09:39         1.152.637 qlocale.o
                                      10.01.2018  09:39           384.430 qlocale_tools.o
                                      10.01.2018  09:39           584.415 qlocale_win.o
                                      10.01.2018  09:39           452.707 qlogging.o
                                      01.12.2016  09:17               242 qmake-aux.pro
                                      01.12.2016  09:17             5.684 qmake.pri
                                      01.12.2016  09:17               852 qmake.pro
                                      10.01.2018  09:36         1.190.704 qmakebuiltins.o
                                      10.01.2018  09:36         1.076.335 qmakeevaluator.o
                                      10.01.2018  09:36           534.378 qmakeglobals.o
                                      10.01.2018  09:36           517.638 qmakeparser.o
                                      Drücken Sie eine beliebige Taste . . .
                                      10.01.2018  09:36           337.932 qmakevfs.o
                                      01.12.2016  09:17             2.042 qmake_pch.h
                                      10.01.2018  09:37            20.329 qmalloc.o
                                      10.01.2018  09:38           291.500 qmap.o
                                      10.01.2018  09:38         1.323.786 qmetatype.o
                                      10.01.2018  09:39            36.641 qnumeric.o
                                      10.01.2018  09:38         1.021.664 qregexp.o
                                      10.01.2018  09:37           348.891 qringbuffer.o
                                      10.01.2018  09:38         1.395.873 qsettings.o
                                      10.01.2018  09:39           594.391 qsettings_win.o
                                      10.01.2018  09:37         1.419.422 qstring.o
                                      10.01.2018  09:37           271.797 qstringbuilder.o
                                      10.01.2018  09:38           482.875 qstringlist.o
                                      10.01.2018  09:37           253.483 qstring_compat.o
                                      10.01.2018  09:38           270.872 qsystemerror.o
                                      10.01.2018  09:39           328.703 qsystemlibrary.o
                                      10.01.2018  09:38           445.499 qtemporaryfile.o
                                      10.01.2018  09:37            34.077 qtextcodec.o
                                      10.01.2018  09:37           532.331 qtextstream.o
                                      10.01.2018  09:37           355.124 qutfcodec.o
                                      10.01.2018  09:38           346.332 quuid.o
                                      10.01.2018  09:38         1.884.902 qvariant.o
                                      10.01.2018  09:38               553 qvector.o
                                      10.01.2018  09:38            35.232 qvsnprintf.o
                                      10.01.2018  09:39           933.174 qxmlstream.o
                                      10.01.2018  09:39           267.913 qxmlutils.o
                                      10.01.2018  09:39           320.935 registry.o
                                      10.01.2018  09:36           795.857 unixmake.o
                                      10.01.2018  09:36         1.049.910 unixmake2.o
                                      Drücken Sie eine beliebige Taste . . .
                                      10.01.2018  09:36           864.583 winmakefile.o
                                      10.01.2018  09:36           391.782 xmloutput.o
                                                   108 Datei(en),     53.229.837 Bytes
                                      
                                      1 Reply Last reply
                                      0
                                      • A Offline
                                        A Offline
                                        Allerknappe
                                        wrote on last edited by
                                        #30

                                        ok i try a new qt 5.8 version to build the plugin... maybe i make some mistakes in 5.7 and now its no more available.
                                        but it seems to work better with msys then with win prompt

                                        1 Reply Last reply
                                        0
                                        • A Offline
                                          A Offline
                                          Allerknappe
                                          wrote on last edited by
                                          #31

                                          maybe you can load your .so for the 5.8 version up?

                                          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