Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for MCUs
  4. QSqlDatabase: QPSQL driver not loaded for Imx6ULL
Forum Updated to NodeBB v4.3 + New Features

QSqlDatabase: QPSQL driver not loaded for Imx6ULL

Scheduled Pinned Locked Moved Solved Qt for MCUs
9 Posts 2 Posters 1.1k Views
  • 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.
  • R Offline
    R Offline
    Rohit39
    wrote on 21 Apr 2021, 13:07 last edited by
    #1

    Hi
    I have created rootfs with Yocto Rocko version for Imx6ULL.
    while booting with qt application on it i am observing following error.
    QSqlDatabase: QPSQL driver not loaded
    QSqlDatabase: available drivers:
    "Driver not loaded Driver not loaded"

    and Database not working properly.

    Can You please guide for this.

    Thanks and Regards
    Rohit

    J 1 Reply Last reply 21 Apr 2021, 13:48
    0
    • R Rohit39
      21 Apr 2021, 13:07

      Hi
      I have created rootfs with Yocto Rocko version for Imx6ULL.
      while booting with qt application on it i am observing following error.
      QSqlDatabase: QPSQL driver not loaded
      QSqlDatabase: available drivers:
      "Driver not loaded Driver not loaded"

      and Database not working properly.

      Can You please guide for this.

      Thanks and Regards
      Rohit

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 21 Apr 2021, 13:48 last edited by
      #2

      @Rohit39 said in QSqlDatabase: QPSQL driver not loaded for Imx6ULL:

      QSqlDatabase: available drivers:

      Looks like no Qt plug-ins for SQL databases were built. How did you build Qt?

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

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Rohit39
        wrote on 21 Apr 2021, 14:17 last edited by
        #3

        I have created toolchain for QT by Yocto version Rocko.
        and I have set the repective path on Qt creator.

        J 1 Reply Last reply 21 Apr 2021, 14:36
        0
        • R Rohit39
          21 Apr 2021, 14:17

          I have created toolchain for QT by Yocto version Rocko.
          and I have set the repective path on Qt creator.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 21 Apr 2021, 14:36 last edited by
          #4

          @Rohit39 I think you did not build the SQL plug-ins.

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

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Rohit39
            wrote on 21 Apr 2021, 14:40 last edited by
            #5

            How to build it ?
            I have just updated rootfs with Yocto Rocko.

            Can you please guide me.

            J 1 Reply Last reply 21 Apr 2021, 14:42
            0
            • R Rohit39
              21 Apr 2021, 14:40

              How to build it ?
              I have just updated rootfs with Yocto Rocko.

              Can you please guide me.

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 21 Apr 2021, 14:42 last edited by
              #6

              @Rohit39 I don't know, I'm not an Yocto expert.

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

              1 Reply Last reply
              0
              • R Offline
                R Offline
                Rohit39
                wrote on 21 Apr 2021, 15:08 last edited by
                #7

                @jsulm okay . Thank You for Your Guidance.
                It will help me if you specify any specific plug-ins for sql?

                J 1 Reply Last reply 21 Apr 2021, 15:13
                0
                • R Rohit39
                  21 Apr 2021, 15:08

                  @jsulm okay . Thank You for Your Guidance.
                  It will help me if you specify any specific plug-ins for sql?

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 21 Apr 2021, 15:13 last edited by
                  #8

                  @Rohit39 Well, if you want to use PostgreSQL then it is QPSQL (as error you posted says).

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

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    Rohit39
                    wrote on 22 Apr 2021, 09:02 last edited by
                    #9

                    Okay , Please let me know if anyone have any idea about the Package to use in Local.conf for include QPSQL plugins.
                    Thank You @jsulm for your guidance

                    1 Reply Last reply
                    0

                    1/9

                    21 Apr 2021, 13:07

                    • Login

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