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 5.7 - QSQLITE driver not loaded on debug kit

Qt 5.7 - QSQLITE driver not loaded on debug kit

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 863 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.
  • K Offline
    K Offline
    Kalebros
    wrote on last edited by
    #1

    I'm trying to compile an application on Linux (Ubuntu 16.04) against a Qt 5.7 framework and with the Qt Creator 4.0.2; both were installed via online tool installer. And it's really annoying because the Release version doesn't raise error, but the Debug mode gives an unexpected 'Driver not loaded' error when the app try to use a SQLite database. Anyone has any clue? I think MAYBE the online installer only gives us the 'release' libs. Should I try to compile the framework again, debug and release mode?
    PD: Sorry for my bad english :D

    raven-worxR 1 Reply Last reply
    0
    • K Kalebros

      I'm trying to compile an application on Linux (Ubuntu 16.04) against a Qt 5.7 framework and with the Qt Creator 4.0.2; both were installed via online tool installer. And it's really annoying because the Release version doesn't raise error, but the Debug mode gives an unexpected 'Driver not loaded' error when the app try to use a SQLite database. Anyone has any clue? I think MAYBE the online installer only gives us the 'release' libs. Should I try to compile the framework again, debug and release mode?
      PD: Sorry for my bad english :D

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Kalebros
      please set the QT_DEBUG_PLUGINS env variable to a non-zero value and post the console output.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Kalebros
        wrote on last edited by
        #3

        More strange things! I've set the QT_DEBUG_PLUGINS variable, but there's no output. So, I've deleted the build directory and rebuild all the app. Now it works, and I'm both perplexed and ashamed. Thanks!

        1 Reply Last reply
        0
        • K Offline
          K Offline
          Kalebros
          wrote on last edited by
          #4

          False alarm, still not working :(

          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