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. No MySQL plugin Support when doing RaspberryPi2EGLFS
Qt 6.11 is out! See what's new in the release blog

No MySQL plugin Support when doing RaspberryPi2EGLFS

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 1.8k 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.
  • S Offline
    S Offline
    stinkpot
    wrote on last edited by
    #1

    Hi, I try to follow the RaspberryPi2EGLFS page: https://wiki.qt.io/RaspberryPi2EGLFS
    to make a Raspberry Pi crosscompiling in ubuntu 16.04. Everything looks good until did the ./configure, that the MySQL is not support.
    I definitely want to use MySQL on RPi, and has installed libmysqlclient and libmysqlclient-dev, but still cannot pass the configure auto detection

    SQL drivers:
    DB2 .................. no
    InterBase ............ no
    MySQL ................ no
    OCI .................. no
    ODBC ................. yes (plugin)
    PostgreSQL ........... no
    SQLite 2 ............. yes (plugin)
    SQLite ............... yes (plugin, using bundled copy)

    In the auto detection:
    MySQL (thread-safe) auto-detection... ()
    /home/charlie/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -marm -mthumb-interwork -mfpu=neon-vfpv4 -mtune=cortex-a7 -mabi=aapcs-linux -mfloat-abi=hard --sysroot=/home/charlie/raspi/sysroot -O2 -std=gnu++0x -Wall -W -fPIC -I. -I/usr/include/mysql -I../../../mkspecs/devices/linux-rasp-pi2-g++ -o mysql.o ../mysql/mysql.cpp
    /home/charlie/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/home/charlie/raspi/sysroot/opt/vc/lib -Wl,-rpath-link,/home/charlie/raspi/sysroot/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/home/charlie/raspi/sysroot/lib/arm-linux-gnueabihf -mfloat-abi=hard --sysroot=/home/charlie/raspi/sysroot -Wl,-O1 -o mysql_r mysql.o --sysroot=/home/charlie/raspi/sysroot -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -ldl -lmysqlclient_r
    Makefile:197: recipe for target 'mysql_r' failed
    MySQL (thread-safe) disabled.
    MySQL (thread-unsafe) auto-detection... ()
    /home/charlie/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -marm -mthumb-interwork -mfpu=neon-vfpv4 -mtune=cortex-a7 -mabi=aapcs-linux -mfloat-abi=hard --sysroot=/home/charlie/raspi/sysroot -O2 -std=gnu++0x -Wall -W -fPIC -I. -I/usr/include/mysql -I../../../mkspecs/devices/linux-rasp-pi2-g++ -o mysql.o mysql.cpp
    /home/charlie/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/home/charlie/raspi/sysroot/opt/vc/lib -Wl,-rpath-link,/home/charlie/raspi/sysroot/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/home/charlie/raspi/sysroot/lib/arm-linux-gnueabihf -mfloat-abi=hard --sysroot=/home/charlie/raspi/sysroot -Wl,-O1 -o mysql mysql.o --sysroot=/home/charlie/raspi/sysroot -L/usr/lib/x86_64-linux-gnu -lpthread -lz -lm -lrt -ldl -lmysqlclient
    Makefile:197: recipe for target 'mysql' failed
    MySQL (thread-unsafe) disabled.

    My configure command is:
    ./configure -release -opengl es2 -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=/home/charlie/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot /home/charlie/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix /home/charlie/raspi/qt5pi -hostprefix /home/charlie/raspi/qt5.6.0 -v

    can you help me to solve this problem?

    Thanks.
    TDS .................. yes (plugin)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Do you have the MySQL dev packages installed in your sysroot ?

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

      S 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Do you have the MySQL dev packages installed in your sysroot ?

        S Offline
        S Offline
        stinkpot
        wrote on last edited by
        #3

        @SGaist Yes, mysql server, libmysql libmysql-dev, almost everything.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          libmysqlclient-dev ?

          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

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved