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. Can You Help me Please , MySQL + Android on Qt
Forum Updated to NodeBB v4.3 + New Features

Can You Help me Please , MySQL + Android on Qt

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
28 Posts 4 Posters 5.5k 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.
  • L Offline
    L Offline
    Lenawel
    wrote on last edited by
    #18

    @jsulm said in Can You Help me Please , MySQL + Android on Qt:

    his is the problem

    thx for your answer , i check a los of time and the library is in the good PATH

    jsulmJ 1 Reply Last reply
    0
    • L Lenawel

      @jsulm said in Can You Help me Please , MySQL + Android on Qt:

      his is the problem

      thx for your answer , i check a los of time and the library is in the good PATH

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #19

      @Lenawel In which path is it? Don't forget that libmariadb.so is loaded using dlopen().

      https://forum.qt.io/topic/113070/qt-code-of-conduct

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

        @jsulm thx for answer .
        I work a little bit on this problem i pass this problem but have an other one i dont know why this problem appear cause i use only Qt 5.10 and not 5.3 if you want try something i can drop my projects

        I/ActivityManager(  412): Start proc 3420:org.qtproject.example/u0a519 for activity org.qtproject.example/org.qtproject.qt5.android.bindings.QtActivity
        I/art     ( 3420): Late-enabling -Xcheck:jni
        I/QtCore  ( 3420): Start
        W/linker  ( 3420): libQt5Gui.so: unused DT entry: type 0x1d arg 0x55c5c
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        W/linker  ( 3420): libQt5Widgets.so: unused DT entry: type 0x1d arg 0x6d119
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        W/linker  ( 3420): libQt5PrintSupport.so: unused DT entry: type 0x1d arg 0xb762
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        W/linker  ( 3420): libQt5Network.so: unused DT entry: type 0x1d arg 0x13f76
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        W/linker  ( 3420): libQt5Qml.so: unused DT entry: type 0x1d arg 0x39f24
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        W/linker  ( 3420): libQt5Quick.so: unused DT entry: type 0x1d arg 0x4a9e4
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        W/linker  ( 3420): libQt5QuickParticles.so: unused DT entry: type 0x1d arg 0x55d7
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        W/linker  ( 3420): libQt5QuickWidgets.so: unused DT entry: type 0x1d arg 0x3034
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        W/linker  ( 3420): libQt5Multimedia.so: unused DT entry: type 0x1d arg 0x18fab
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        W/linker  ( 3420): libQt5Sql.so: unused DT entry: type 0x1d arg 0x6286
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        W/linker  ( 3420): libQt5MultimediaQuick.so: unused DT entry: type 0x1d arg 0x32a0
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        W/linker  ( 3420): libqtforandroid.so: unused DT entry: type 0x1d arg 0x8cd3
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        I/Qt      ( 3420): qt start
        W/linker  ( 3420): libqandroidbearer.so: unused DT entry: type 0x1d arg 0x1711
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        W/linker  ( 3420): libqtmedia_android.so: unused DT entry: type 0x1d arg 0x56f4
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        W/linker  ( 3420): libRegisterVisit.so: unused DT entry: type 0x1d arg 0x2cf2
        D/        ( 3420): (null):0 ((null)): QML debugging is enabled. Only use this in a safe environment.
        D/OpenGLRenderer( 3420): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
        D/Atlas   ( 3420): Validating map...
        I/OpenGLRenderer( 3420): Initialized EGL, version 1.4
        D/OpenGLRenderer( 3420): Enabling debug mode 0
        D/mali_winsys( 3420): new_window_surface returns 0x3000
        W/linker  ( 3420): libqandroidstyle.so: unused DT entry: type 0x1d arg 0x44b9
        W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
        W/linker  ( 3420): libqsqlmysql.so: unused DT entry: type 0x1d arg 0x15db8
        F/libRegisterVisit.so( 3420): (null):0 ((null)): Cannot mix incompatible Qt library (version 0x50302) with this library (version 0x50a01)
        F/libc    ( 3420): Fatal signal 6 (SIGABRT), code -6 in tid 3448 (QtMainThread)
        I/DEBUG   (  128): pid: 3420, tid: 3448, name: QtMainThread  >>> org.qtproject.example <<<
        I/Zygote  (  136): Process 3420 exited due to signal (6)
        I/ActivityManager(  412): Process org.qtproject.example (pid 3420) has died
        
        
        "org.qtproject.example" died.
        
        jsulmJ 1 Reply Last reply
        0
        • L Lenawel

          @jsulm thx for answer .
          I work a little bit on this problem i pass this problem but have an other one i dont know why this problem appear cause i use only Qt 5.10 and not 5.3 if you want try something i can drop my projects

          I/ActivityManager(  412): Start proc 3420:org.qtproject.example/u0a519 for activity org.qtproject.example/org.qtproject.qt5.android.bindings.QtActivity
          I/art     ( 3420): Late-enabling -Xcheck:jni
          I/QtCore  ( 3420): Start
          W/linker  ( 3420): libQt5Gui.so: unused DT entry: type 0x1d arg 0x55c5c
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          W/linker  ( 3420): libQt5Widgets.so: unused DT entry: type 0x1d arg 0x6d119
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          W/linker  ( 3420): libQt5PrintSupport.so: unused DT entry: type 0x1d arg 0xb762
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          W/linker  ( 3420): libQt5Network.so: unused DT entry: type 0x1d arg 0x13f76
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          W/linker  ( 3420): libQt5Qml.so: unused DT entry: type 0x1d arg 0x39f24
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          W/linker  ( 3420): libQt5Quick.so: unused DT entry: type 0x1d arg 0x4a9e4
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          W/linker  ( 3420): libQt5QuickParticles.so: unused DT entry: type 0x1d arg 0x55d7
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          W/linker  ( 3420): libQt5QuickWidgets.so: unused DT entry: type 0x1d arg 0x3034
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          W/linker  ( 3420): libQt5Multimedia.so: unused DT entry: type 0x1d arg 0x18fab
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          W/linker  ( 3420): libQt5Sql.so: unused DT entry: type 0x1d arg 0x6286
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          W/linker  ( 3420): libQt5MultimediaQuick.so: unused DT entry: type 0x1d arg 0x32a0
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          W/linker  ( 3420): libqtforandroid.so: unused DT entry: type 0x1d arg 0x8cd3
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          I/Qt      ( 3420): qt start
          W/linker  ( 3420): libqandroidbearer.so: unused DT entry: type 0x1d arg 0x1711
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          W/linker  ( 3420): libqtmedia_android.so: unused DT entry: type 0x1d arg 0x56f4
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          W/linker  ( 3420): libRegisterVisit.so: unused DT entry: type 0x1d arg 0x2cf2
          D/        ( 3420): (null):0 ((null)): QML debugging is enabled. Only use this in a safe environment.
          D/OpenGLRenderer( 3420): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
          D/Atlas   ( 3420): Validating map...
          I/OpenGLRenderer( 3420): Initialized EGL, version 1.4
          D/OpenGLRenderer( 3420): Enabling debug mode 0
          D/mali_winsys( 3420): new_window_surface returns 0x3000
          W/linker  ( 3420): libqandroidstyle.so: unused DT entry: type 0x1d arg 0x44b9
          W/linker  ( 3420): Unsupported flags DT_FLAGS_1=0x81
          W/linker  ( 3420): libqsqlmysql.so: unused DT entry: type 0x1d arg 0x15db8
          F/libRegisterVisit.so( 3420): (null):0 ((null)): Cannot mix incompatible Qt library (version 0x50302) with this library (version 0x50a01)
          F/libc    ( 3420): Fatal signal 6 (SIGABRT), code -6 in tid 3448 (QtMainThread)
          I/DEBUG   (  128): pid: 3420, tid: 3448, name: QtMainThread  >>> org.qtproject.example <<<
          I/Zygote  (  136): Process 3420 exited due to signal (6)
          I/ActivityManager(  412): Process org.qtproject.example (pid 3420) has died
          
          
          "org.qtproject.example" died.
          
          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #21

          @Lenawel Somehow you're mixing two different Qt version, but I don't know how this is happening.
          Did you build libqsqlmysql.so by yourself? If so which Qt version did you use?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • L Offline
            L Offline
            Lenawel
            wrote on last edited by
            #22

            @jsulm
            no it's my work mate who build it (5.0.3) but i delete libqsqmysql.so and replace it by libmariadb.so that i build myself (5.10.1) : another error .I can drop my project if you want try by yourself

            I/art     ( 3768): Late-enabling -Xcheck:jni
            I/ActivityManager(  412): Start proc 3768:org.qtproject.example/u0a519 for activity org.qtproject.example/org.qtproject.qt5.android.bindings.QtActivity
            I/QtCore  ( 3768): Start
            W/linker  ( 3768): libQt5Gui.so: unused DT entry: type 0x1d arg 0x55c5c
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libQt5Widgets.so: unused DT entry: type 0x1d arg 0x6d119
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libQt5PrintSupport.so: unused DT entry: type 0x1d arg 0xb762
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libQt5Network.so: unused DT entry: type 0x1d arg 0x13f76
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libQt5Qml.so: unused DT entry: type 0x1d arg 0x39f24
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libQt5Quick.so: unused DT entry: type 0x1d arg 0x4a9e4
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libQt5QuickParticles.so: unused DT entry: type 0x1d arg 0x55d7
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libQt5QuickWidgets.so: unused DT entry: type 0x1d arg 0x3034
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libQt5Multimedia.so: unused DT entry: type 0x1d arg 0x18fab
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libQt5Sql.so: unused DT entry: type 0x1d arg 0x6286
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libQt5MultimediaQuick.so: unused DT entry: type 0x1d arg 0x32a0
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libqtforandroid.so: unused DT entry: type 0x1d arg 0x8cd3
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            I/Qt      ( 3768): qt start
            W/linker  ( 3768): libqandroidbearer.so: unused DT entry: type 0x1d arg 0x1711
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libqtmedia_android.so: unused DT entry: type 0x1d arg 0x56f4
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libRegisterVisit.so: unused DT entry: type 0x1d arg 0x2cf2
            D/        ( 3768): (null):0 ((null)): QML debugging is enabled. Only use this in a safe environment.
            D/OpenGLRenderer( 3768): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
            D/Atlas   ( 3768): Validating map...
            I/OpenGLRenderer( 3768): Initialized EGL, version 1.4
            D/OpenGLRenderer( 3768): Enabling debug mode 0
            D/mali_winsys( 3768): new_window_surface returns 0x3000
            W/linker  ( 3768): libqandroidstyle.so: unused DT entry: type 0x1d arg 0x44b9
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/libRegisterVisit.so( 3768): (null):0 ((null)): QSqlDatabase: QMYSQL driver not loaded
            W/libRegisterVisit.so( 3768): (null):0 ((null)): QSqlDatabase: available drivers: QSQLITE
            W/linker  ( 3768): libqgif.so: unused DT entry: type 0x1d arg 0x7f9
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libqicns.so: unused DT entry: type 0x1d arg 0xcc8
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libqico.so: unused DT entry: type 0x1d arg 0xaea
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libqjpeg.so: unused DT entry: type 0x1d arg 0x1052
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libqtga.so: unused DT entry: type 0x1d arg 0x7fc
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libqtiff.so: unused DT entry: type 0x1d arg 0xb8a
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libqwbmp.so: unused DT entry: type 0x1d arg 0x8f0
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            W/linker  ( 3768): libqwebp.so: unused DT entry: type 0x1d arg 0x148c
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            D/mali_winsys( 3768): new_window_surface returns 0x3000
            D/mali_winsys( 3768): new_window_surface returns 0x3000
            W/linker  ( 3768): libqtaudio_opensles.so: unused DT entry: type 0x1d arg 0x17e0
            W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
            
            jsulmJ 1 Reply Last reply
            0
            • L Lenawel

              @jsulm
              no it's my work mate who build it (5.0.3) but i delete libqsqmysql.so and replace it by libmariadb.so that i build myself (5.10.1) : another error .I can drop my project if you want try by yourself

              I/art     ( 3768): Late-enabling -Xcheck:jni
              I/ActivityManager(  412): Start proc 3768:org.qtproject.example/u0a519 for activity org.qtproject.example/org.qtproject.qt5.android.bindings.QtActivity
              I/QtCore  ( 3768): Start
              W/linker  ( 3768): libQt5Gui.so: unused DT entry: type 0x1d arg 0x55c5c
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libQt5Widgets.so: unused DT entry: type 0x1d arg 0x6d119
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libQt5PrintSupport.so: unused DT entry: type 0x1d arg 0xb762
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libQt5Network.so: unused DT entry: type 0x1d arg 0x13f76
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libQt5Qml.so: unused DT entry: type 0x1d arg 0x39f24
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libQt5Quick.so: unused DT entry: type 0x1d arg 0x4a9e4
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libQt5QuickParticles.so: unused DT entry: type 0x1d arg 0x55d7
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libQt5QuickWidgets.so: unused DT entry: type 0x1d arg 0x3034
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libQt5Multimedia.so: unused DT entry: type 0x1d arg 0x18fab
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libQt5Sql.so: unused DT entry: type 0x1d arg 0x6286
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libQt5MultimediaQuick.so: unused DT entry: type 0x1d arg 0x32a0
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libqtforandroid.so: unused DT entry: type 0x1d arg 0x8cd3
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              I/Qt      ( 3768): qt start
              W/linker  ( 3768): libqandroidbearer.so: unused DT entry: type 0x1d arg 0x1711
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libqtmedia_android.so: unused DT entry: type 0x1d arg 0x56f4
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libRegisterVisit.so: unused DT entry: type 0x1d arg 0x2cf2
              D/        ( 3768): (null):0 ((null)): QML debugging is enabled. Only use this in a safe environment.
              D/OpenGLRenderer( 3768): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
              D/Atlas   ( 3768): Validating map...
              I/OpenGLRenderer( 3768): Initialized EGL, version 1.4
              D/OpenGLRenderer( 3768): Enabling debug mode 0
              D/mali_winsys( 3768): new_window_surface returns 0x3000
              W/linker  ( 3768): libqandroidstyle.so: unused DT entry: type 0x1d arg 0x44b9
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/libRegisterVisit.so( 3768): (null):0 ((null)): QSqlDatabase: QMYSQL driver not loaded
              W/libRegisterVisit.so( 3768): (null):0 ((null)): QSqlDatabase: available drivers: QSQLITE
              W/linker  ( 3768): libqgif.so: unused DT entry: type 0x1d arg 0x7f9
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libqicns.so: unused DT entry: type 0x1d arg 0xcc8
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libqico.so: unused DT entry: type 0x1d arg 0xaea
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libqjpeg.so: unused DT entry: type 0x1d arg 0x1052
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libqtga.so: unused DT entry: type 0x1d arg 0x7fc
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libqtiff.so: unused DT entry: type 0x1d arg 0xb8a
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libqwbmp.so: unused DT entry: type 0x1d arg 0x8f0
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              W/linker  ( 3768): libqwebp.so: unused DT entry: type 0x1d arg 0x148c
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              D/mali_winsys( 3768): new_window_surface returns 0x3000
              D/mali_winsys( 3768): new_window_surface returns 0x3000
              W/linker  ( 3768): libqtaudio_opensles.so: unused DT entry: type 0x1d arg 0x17e0
              W/linker  ( 3768): Unsupported flags DT_FLAGS_1=0x81
              
              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #23

              @Lenawel said in Can You Help me Please , MySQL + Android on Qt:

              libqsqmysql.so and replace it by libmariadb.so

              these two are not the same. First one is the Qt plugin to support MySQL, it requires libmariadb.so or libmysql.so to work. If you delete libqsqmysql.so you will not be able to use MySQL.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

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

                @jsulm said in Can You Help me Please , MySQL + Android on Qt:

                libqsqmysql.so

                And can you tell me How can i make libqsqlmysql.so in 5.10.1 on Windows for Android please ?

                jsulmJ 1 Reply Last reply
                0
                • L Lenawel

                  @jsulm said in Can You Help me Please , MySQL + Android on Qt:

                  libqsqmysql.so

                  And can you tell me How can i make libqsqlmysql.so in 5.10.1 on Windows for Android please ?

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #25

                  @Lenawel Sorry, I never built Qt for Android. You should first check whether it is already part of official Qt for Android build.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

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

                    @jsulm
                    https://wiki.qt.io/Build_Qt_5_MySQL_Plugin_for_Android ?

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      Lenawel
                      wrote on last edited by
                      #27

                      Ok i try with this link to compile but i have problems on steps "CompilingMaria"

                      developpement1@POR-LAG45 /c/AndroidMysql/mariadb-connector-c-3.0.0-alpha-src/build
                      $ PKG_CONFIG_PATH=$SR/usr/lib/pkgconfig cmake -DCMAKE_AR="$BR"ar -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_C
                      OMPILER="$BR"gcc -DCMAKE_C_FLAGS=--sysroot=$SR -DCMAKE_INSTALL_PREFIX=$SR/usr -DCMAKE_LINKER="$BR"ld -D
                      CMAKE_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 ../
                      
                      -- The C compiler identification is GNU 4.8.0
                      CMake Error at CMakeLists.txt:5 (PROJECT):
                        The CMAKE_C_COMPILER:
                      
                          c:/Qt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc
                      
                        is not a full path to an existing compiler tool.
                      
                        To use the NMake generator with Visual C++, cmake must be run from a shell
                        that can use the compiler cl from the command line.  This environment is
                        unable to invoke the cl compiler.  To fix this problem, run cmake from the
                        Visual Studio Command Prompt (vcvarsall.bat).
                      
                        Tell CMake where to find the compiler by setting either the environment
                        variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
                        the compiler, or to the compiler name if it is in the PATH.
                      
                      
                      -- Configuring incomplete, errors occurred!
                      See also "C:/AndroidMysql/mariadb-connector-c-3.0.0-alpha-src/build/CMakeFiles/CMakeOutput.log".
                      See also "C:/AndroidMysql/mariadb-connector-c-3.0.0-alpha-src/build/CMakeFiles/CMakeError.log".
                      
                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        cawlfj
                        wrote on last edited by
                        #28

                        Dear Lenawel
                        I search many times and try many times, fail !
                        Do you have good new on it?
                        Best regards,
                        jeff

                        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