Results 1 to 8 of 8

Thread: Driver alwas not found (windows)

  1. #1
    Join Date
    May 2009
    Location
    Gorontalo
    Posts
    200
    Thanks
    20
    Thanked 5 Times in 5 Posts
    Qt products
    Platforms
    Unix/X11 Windows

    Default Driver alwas not found (windows)

    I tried deploy Qt aplication on other computer (Ms. Windows). But I always get driver not load (mysql).

    I copy mysql plugin in plugins and plugins/sqldrivers directory but still not found.
    Tried create directory C:/myplugin and load from main.cpp with
    Qt Code:
    1. QApplication a(argc, argv);
    2. a.addLibraryPath("C:/myplugin");
    To copy to clipboard, switch view to plain text mode 

    But, still not found

    What's wrong ??

    all the time, for deploy on windows I always compile static my qt application.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Driver alwas not found (windows)

    Statically built applications can't use regular plugins.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    May 2009
    Location
    Gorontalo
    Posts
    200
    Thanks
    20
    Thanked 5 Times in 5 Posts
    Qt products
    Platforms
    Unix/X11 Windows

    Default Re: Driver alwas not found (windows)

    Yes. And now i tried shared aplication, and get this problem.

    Sorry, about my english.

  4. #4
    Join Date
    Jun 2010
    Location
    Salatiga, Indonesia
    Posts
    160
    Thanks
    11
    Thanked 32 Times in 29 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    1

    Default Re: Driver alwas not found (windows)

    Quote Originally Posted by wysota View Post
    Statically built applications can't use regular plugins.
    If we build the plugin as a static plugin, can we use it in a statically built application?

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Driver alwas not found (windows)

    Quote Originally Posted by wirasto View Post
    Yes. And now i tried shared aplication, and get this problem.
    Where exactly did you put the plugin files?

    Quote Originally Posted by saa7_go View Post
    If we build the plugin as a static plugin, can we use it in a statically built application?
    Yes, provided you link with them at compilation time. But it's hard to call that plugins then
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  6. #6
    Join Date
    May 2009
    Location
    Gorontalo
    Posts
    200
    Thanks
    20
    Thanked 5 Times in 5 Posts
    Qt products
    Platforms
    Unix/X11 Windows

    Default Re: Driver alwas not found (windows)

    I try in every folder that I mention earlier

  7. #7
    Join Date
    Jun 2010
    Location
    Salatiga, Indonesia
    Posts
    160
    Thanks
    11
    Thanked 32 Times in 29 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    1

    Default Re: Driver alwas not found (windows)

    Quote Originally Posted by wysota View Post
    Yes, provided you link with them at compilation time. But it's hard to call that plugins then
    Why it is hard to call the plugins?

    Quote Originally Posted by wirasto View Post
    I try in every folder that I mention earlier
    Where do you put libmysql.dll?

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Driver alwas not found (windows)

    Then go back to the docs about plugins and see what folder they should be residing in instead of blindly trying your luck and doing the same mistake every time. It's in the second sentence of this paragraph: The Plugin Directory
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. powervr: driver not found
    By yossibs in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 25th October 2009, 08:56
  2. qt4.4.0 using windows, moc.exe not found
    By graubrust in forum Installation and Deployment
    Replies: 2
    Last Post: 9th July 2008, 09:35
  3. QPSQL driver in windows
    By brevleq in forum Installation and Deployment
    Replies: 31
    Last Post: 14th December 2007, 12:57
  4. IBASE driver not found ?
    By vieraci in forum Installation and Deployment
    Replies: 10
    Last Post: 22nd May 2007, 13:56
  5. OCI Driver in Qt4 for Windows
    By DoNaLd in forum Installation and Deployment
    Replies: 2
    Last Post: 14th July 2006, 14:43

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.