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.3k 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 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

    jsulmJ 1 Reply Last reply
    0
    • R Rohit39

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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 last edited by
        #3

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

        jsulmJ 1 Reply Last reply
        0
        • R Rohit39

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

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on 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 last edited by
            #5

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

            Can you please guide me.

            jsulmJ 1 Reply Last reply
            0
            • R Rohit39

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

              Can you please guide me.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on 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 last edited by
                #7

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

                jsulmJ 1 Reply Last reply
                0
                • R Rohit39

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

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 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 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

                    • Login

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