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
Forum Updated to NodeBB v4.3 + New Features

Qt PSQL driver not found after Qt app deployment

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 2 Posters 1.4k 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.
  • T Offline
    T Offline
    Thejas
    wrote on 10 Jul 2017, 08:39 last edited by Thejas 7 Oct 2017, 08:39
    #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.

    J 1 Reply Last reply 10 Jul 2017, 08:41
    0
    • T Thejas
      10 Jul 2017, 08:39

      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.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 10 Jul 2017, 08:41 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 11 Jul 2017, 06:47
      1
      • J jsulm
        10 Jul 2017, 08:41

        @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 11 Jul 2017, 06:47 last edited by Thejas 7 Nov 2017, 06:51
        #3

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

        J 1 Reply Last reply 11 Jul 2017, 10:07
        0
        • T Thejas
          11 Jul 2017, 06:47

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

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 11 Jul 2017, 10:07 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 11 Jul 2017, 10:19
          0
          • J jsulm
            11 Jul 2017, 10:07

            @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 11 Jul 2017, 10:19 last edited by Thejas 7 Nov 2017, 10:20
            #5

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

            J 1 Reply Last reply 11 Jul 2017, 11:19
            0
            • T Thejas
              11 Jul 2017, 10:19

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

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 11 Jul 2017, 11:19 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

              1/6

              10 Jul 2017, 08:39

              • Login

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