Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problem in running qtsql related project independently?
Forum Updated to NodeBB v4.3 + New Features

Problem in running qtsql related project independently?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.9k 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.
  • P Offline
    P Offline
    pratik041
    wrote on last edited by
    #1

    While i am trying to run qtsql related project in other system in which qt is not installed i am getting run time error but it is working well in my system in which qt is installed . What may be the problem?

    Pratik Agrawal

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AcerExtensa
      wrote on last edited by
      #2

      You need to deploy needed libs with your application. Take a look here -> "Deploying Qt Application":http://developer.qt.nokia.com/doc/qt-4.8/deployment.html

      God is Real unless explicitly declared as Integer.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        GentooXativa
        wrote on last edited by
        #3

        You need to distribute the SQL dll on your project, put the correct dll on your application folder under sqldrivers folder.

        For example, this use SQLITE:

        @
        your_app_directory\sqldrivers\qsqlite4.dll
        @

        You can find them into @QtSDK\Desktop\Qt\4.7.4\mingw\plugins\sqldrivers@

        If you dont use mingw use the msvc2008 folder.

        I hope this helps you ^_^

        Jose Vicente Giner Sanchez - Senior Mobile Developer

        www.gigigo.com

        C/ Dr. Zamenhof 36bis, 1ºA 28027 Madrid
        T: +34 917431436

        1 Reply Last reply
        0
        • P Offline
          P Offline
          pratik041
          wrote on last edited by
          #4

          ok i will check thank's for suggestion.

          Pratik Agrawal

          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