Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt PSQL driver not found after Qt app deployment
QtWS25 Last Chance

Qt PSQL driver not found after Qt app deployment

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 2 Posters 1.4k 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.
  • T Offline
    T Offline
    Thejas
    wrote on last edited by Thejas
    #1

    I deployed my Qt Application in Linux using linuxdeployqt tool.after deployment i tried to run the application on the other machine.But it saying that PSQL driver not loaded.please help me or give me some better idea to deploy Qt application.

    jsulmJ 1 Reply Last reply
    0
    • T Thejas

      I deployed my Qt Application in Linux using linuxdeployqt tool.after deployment i tried to run the application on the other machine.But it saying that PSQL driver not loaded.please help me or give me some better idea to deploy Qt application.

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

      @Thejas Try to set QT_DEBUG_PLUGINS=1 variable before starting your app, you then will see more information about what is missing.

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

      T 1 Reply Last reply
      1
      • jsulmJ jsulm

        @Thejas Try to set QT_DEBUG_PLUGINS=1 variable before starting your app, you then will see more information about what is missing.

        T Offline
        T Offline
        Thejas
        wrote on last edited by Thejas
        #3

        @jsulm but im running in a fresh machine (No Qt installed).app works fine in my developing machine

        jsulmJ 1 Reply Last reply
        0
        • T Thejas

          @jsulm but im running in a fresh machine (No Qt installed).app works fine in my developing machine

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

          @Thejas "but im running in a fresh machine" - so what?
          It does not run there, right?
          So, you need to find out why the PSQL plug-in was not loaded.
          To see what happens exactly I suggested to set QT_DEBUG_PLUGINS to a value != 0.
          Did you try?

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

          T 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Thejas "but im running in a fresh machine" - so what?
            It does not run there, right?
            So, you need to find out why the PSQL plug-in was not loaded.
            To see what happens exactly I suggested to set QT_DEBUG_PLUGINS to a value != 0.
            Did you try?

            T Offline
            T Offline
            Thejas
            wrote on last edited by Thejas
            #5

            @jsulm Im a beginner, where exactly i should set above parameter? through terminal or .pro file ?

            jsulmJ 1 Reply Last reply
            0
            • T Thejas

              @jsulm Im a beginner, where exactly i should set above parameter? through terminal or .pro file ?

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

              @Thejas In terminal (Linux version):

              QT_DEBUG_PLUGINS=1 && ./my_app
              

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

              1 Reply Last reply
              1

              • Login

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