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. Error build qt5.1 on windows
Qt 6.11 is out! See what's new in the release blog

Error build qt5.1 on windows

Scheduled Pinned Locked Moved Mobile and Embedded
24 Posts 2 Posters 19.9k Views 1 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.
  • F Offline
    F Offline
    flaviomarcio
    wrote on last edited by
    #13

    In present day I do not need more to do so much, I just need to install and configure Qt NDK, SDK, and Apache-Ant, and works well only I could not test sending to iOS, but I have reports confirming that works well.

    Flavio Portela

    1 Reply Last reply
    0
    • F Offline
      F Offline
      flaviomarcio
      wrote on last edited by
      #14

      In present day I do not need more to do so much, I just need to install and configure Qt NDK, SDK, and Apache-Ant, and works well only I could not test sending to iOS, but I have reports confirming that works well.

      Flavio Portela

      1 Reply Last reply
      0
      • F Offline
        F Offline
        flaviomarcio
        wrote on last edited by
        #15

        syncronize Android-USB. In QtCreator I run compile, so that I see, that does not tell me androidAPI compatible with android, confirm device and concludes with installed apk.

        Thus with me all right

        Flavio Portela

        1 Reply Last reply
        0
        • F Offline
          F Offline
          flaviomarcio
          wrote on last edited by
          #16

          syncronize Android-USB. In QtCreator I run compile, so that I see, that does not tell me androidAPI compatible with android, confirm device and concludes with installed apk.

          Thus with me all right

          Flavio Portela

          1 Reply Last reply
          0
          • F Offline
            F Offline
            flaviomarcio
            wrote on last edited by
            #17

            Download in https://www.qt.io/download-open-source/

            select view all, then download offline

            http://download.qt-project.org/official_releases/qt/5.4/5.4.0/qt-opensource-windows-x86-android-5.4.0.exe.

            Flavio Portela

            1 Reply Last reply
            0
            • F Offline
              F Offline
              flaviomarcio
              wrote on last edited by
              #18

              Download in https://www.qt.io/download-open-source/

              select view all, then download offline

              http://download.qt-project.org/official_releases/qt/5.4/5.4.0/qt-opensource-windows-x86-android-5.4.0.exe.

              Flavio Portela

              1 Reply Last reply
              0
              • F Offline
                F Offline
                flaviomarcio
                wrote on last edited by
                #19

                Tip:

                1. Build on qtbase, only pays off if static.
                2. Forget static for android, there is.
                3. Use the source code exists in offline installer

                Flavio Portela

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  flaviomarcio
                  wrote on last edited by
                  #20

                  Tip:

                  1. Build on qtbase, only pays off if static.
                  2. Forget static for android, there is.
                  3. Use the source code exists in offline installer

                  Flavio Portela

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    flaviomarcio
                    wrote on last edited by
                    #21

                    bat for build static for windows

                    set LANG=en
                    set MINGW1=C:\Qt\Qt5.3.1\Tools\mingw482_32
                    set MINGW2=C:\Qt\Qt5.3.1\Tools\mingw482_32\opt

                    set QT_INSTALL_PREFIX=C:\Qt\Static\5.3.1
                    set PATH=C:\Perl\bin;%MINGW1%\bin;%MINGW2%\bin;%PATH%
                    echo %PATH%

                    mkdir C:\Qt\Static
                    mkdir %QT_INSTALL_PREFIX%
                    mkdir %QT_INSTALL_PREFIX%\Src

                    cd %QT_INSTALL_PREFIX%\Src

                    rem -I C:/psql/include -L C:/psql/lib -l libpq.lib
                    rem mingw32-make clean -j8
                    call configure.bat -static -release -platform win32-g++ -prefix %QT_INSTALL_PREFIX% -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -qt-sql-odbc -qt-sql-sqlite -no-openssl -opensource -confirm-license -make libs -nomake tools -nomake examples -nomake tests
                    rem pause
                    mingw32-make -k -j8
                    rem pause
                    mingw32-make -k install

                    Flavio Portela

                    1 Reply Last reply
                    0
                    • F Offline
                      F Offline
                      flaviomarcio
                      wrote on last edited by
                      #22

                      bat for build static for windows

                      set LANG=en
                      set MINGW1=C:\Qt\Qt5.3.1\Tools\mingw482_32
                      set MINGW2=C:\Qt\Qt5.3.1\Tools\mingw482_32\opt

                      set QT_INSTALL_PREFIX=C:\Qt\Static\5.3.1
                      set PATH=C:\Perl\bin;%MINGW1%\bin;%MINGW2%\bin;%PATH%
                      echo %PATH%

                      mkdir C:\Qt\Static
                      mkdir %QT_INSTALL_PREFIX%
                      mkdir %QT_INSTALL_PREFIX%\Src

                      cd %QT_INSTALL_PREFIX%\Src

                      rem -I C:/psql/include -L C:/psql/lib -l libpq.lib
                      rem mingw32-make clean -j8
                      call configure.bat -static -release -platform win32-g++ -prefix %QT_INSTALL_PREFIX% -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -qt-sql-odbc -qt-sql-sqlite -no-openssl -opensource -confirm-license -make libs -nomake tools -nomake examples -nomake tests
                      rem pause
                      mingw32-make -k -j8
                      rem pause
                      mingw32-make -k install

                      Flavio Portela

                      1 Reply Last reply
                      0
                      • F Offline
                        F Offline
                        flaviomarcio
                        wrote on last edited by
                        #23

                        I consider Qt today the most stable across all platforms.
                        QML be fantastic although initially complicated.

                        I use Qt on android AndroidApi7.

                        Believe me, if you do not use anything special as dll, your program is compatible on all platforms.

                        good luck

                        Flavio Portela

                        1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          flaviomarcio
                          wrote on last edited by
                          #24

                          I consider Qt today the most stable across all platforms.
                          QML be fantastic although initially complicated.

                          I use Qt on android AndroidApi7.

                          Believe me, if you do not use anything special as dll, your program is compatible on all platforms.

                          good luck

                          Flavio Portela

                          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