Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. driver
    Log in to post
    • All categories
    • P

      Unsolved Qt 5.8.0 OCI cursor support
      General and Desktop • oci 5.8.0 driver cursor • • PrimozFidersek

      4
      0
      Votes
      4
      Posts
      951
      Views

      P

      Hi,

      thank you for reply. Will try to reapply only changes as we did in the past in hope it will work.

      Will update this thread if manage to find something out.

    • Slane

      Solved Qt Build 5.9.1 Static with OCI Driver
      General and Desktop • oci driver static build static qt build error • • Slane

      10
      0
      Votes
      10
      Posts
      3855
      Views

      Slane

      I made several modifications ... but i think the properly modifications are

      In : QtSrc\qtbase\mkspecs\win32-g++\qmake.conf add

      QMAKE_LFLAGS += -static -static-libgcc QMAKE_CFLAGS_RELEASE -= -O2 QMAKE_CFLAGS_RELEASE += -Os -momit-leaf-frame-pointer DEFINES += QT_STATIC_BUILD

      In : QtSrc\qtbase\src\plugins\sqldrivers\oci\oci.pro add

      QMAKE_LFLAGS += oracle_home\oci\lib\msvc\oci.lib QMAKE_LFLAGS += oracle_home\oci\lib\msvc\ociw32.lib QMAKE_LFLAGS += oracle_home\oci\lib\msvc\oraocci11.lib LIBS += -Loracle_home\oci\lib\msvc -loci -lociw32 -loraocci11 INCLUDEPATH += oracle_home\oci\include

      cmd

      -static -debug-and-release -platform win32-g++ -prefix QtPath\Static -I C:\\OpenSSL-Win32\\include -L C:\\OpenSSL-Win32\\lib -opensource -confirm-license -c++std c++14 -nomake examples -skip qtdoc -skip wayland -skip purchasing -skip serialbus -skip qtserialport -skip script -skip scxml -skip speech -skip location -no-opengl -no-angle -qt-zlib -qt-pcre -qt-libpng -no-libjpeg -qt-freetype -sql-oci -I oracle_home\oci\include -L oracle_home\oci\lib\msvc

      try it. the other modifications do not matter

    • A

      Solved Installing ODBC driver on Ubuntu getting syntax error after running "make"
      General and Desktop • odbc driver make sql server unixobdc • • Amir5121

      10
      0
      Votes
      10
      Posts
      5863
      Views

      A

      @SGaist Thanks for your help.. it's successfuly got connected finally.. i changed localhost\sqlexpress to localhost and it got connected.. what ever sqlexpress is there for. Thanks again

    • P

      Unsolved QAxWidget trouble with duplicate letters
      General and Desktop • qt 5.5 qaxwidget driver windows • • Psy_Duck

      1
      0
      Votes
      1
      Posts
      558
      Views

      No one has replied

    • Randomator

      Unsolved Mysql driver for qt error "Cannot find file: mysql.pro"
      Installation and Deployment • mysql qt 5.5 mysql.pro driver • • Randomator

      3
      0
      Votes
      3
      Posts
      3085
      Views

      A

      @Randomator Sir,
      download the Qt Sources, e.g current the sources available are qt-everywhere-opensource-src-5.5.1, After extracting
      cd C:\qt-everywhere-opensource-src-5.5.1\qtbase\src\plugins\sqldrivers\mysql
      then make sure you call qmake from Qt5.5, for this purpose you can type the complete path of the qmake.
      then use make and make install.
      I hope it will help you.

    • AlanT1337

      Solved Can't build the MySQL drivers
      General and Desktop • mysql driver error • • AlanT1337

      13
      0
      Votes
      13
      Posts
      2964
      Views

      kshegunov

      @AlanT1337 said:

      I think it was build in my normal Qt folder

      I suppose that's possible, if you're using the qmake from that location to run on the project file. In any case I'm glad it's working now.

    • Didier Sampaolo

      Unsolved MySQL : wrong driver version
      General and Desktop • mysql driver linux • • Didier Sampaolo

      2
      0
      Votes
      2
      Posts
      792
      Views

      Didier Sampaolo

      Auto-replying : I just found this tutorial that will be very helpful.

    • Y

      Unsolved Mysql drivers mac
      General and Desktop • mysql mac install load driver • • Yogi

      2
      0
      Votes
      2
      Posts
      1285
      Views

      SGaist

      Hi and welcome to devnet,

      What sources did you download ? You have an option in the installer to get the sources that matches your installed Qt.

      If you take the time to search the forum, you'll find several threads about the MySQL plugin and OS X.

    • mbruel

      Solved Issue compiling mysql driver...
      General and Desktop • mysql driver • • mbruel

      3
      0
      Votes
      3
      Posts
      1297
      Views

      mbruel

      You're understanding correctly...
      Well I just had to build it on my laptop for QT 5.51 because the current version of the driver wasn't working with mysql 5.5. It was quite a simple process...
      I wanted to try my program on a remote server, noticed the driver wasn't present at all, so just thought I'll build it myself to be sure it will be compatible with the version of mysql installed.
      You're right, I've found the package in my distribution and it is working well. (libqt5sql5-mysql on debian jessie)
      Thanks

    • R

      Trouble Building MySQL Driver
      General and Desktop • mysql driver • • rofln

      5
      0
      Votes
      5
      Posts
      1613
      Views

      R

      Finally fixed it. I had the wrong file path to my shared library files.

    • G

      [SOLVED]QMYSQL driver not loaded ERROR [UBUNTU OS]
      General and Desktop • mysql driver not loaded error ubuntu linux qsql qmysql • • Gue00

      6
      0
      Votes
      6
      Posts
      4633
      Views

      SGaist

      Re-building the plugin to use your currently installed libmysqlclient_r would be the simple and easy path. Just grab the sources and follow the instruction in the database part of Qt's documentation.

    • A

      Getting crazy with "driver not loaded" mysql driver in windows 7 (mingw 32bit)
      General and Desktop • mysql driver loaded reimp dlltool compiled path plugin database • • andrew87

      12
      0
      Votes
      12
      Posts
      4363
      Views

      SGaist

      That I can't comment on. You should ask the MySQL people about that matter.

    • S

      MySQL driver not loaded - Debian Jessie 32-bit
      General and Desktop • mysql drivers driver debian library • • Stravinsky

      5
      0
      Votes
      5
      Posts
      2952
      Views

      SGaist

      First location is the Qt MySQL plugin
      Second location is the MySQL header file

      Looks like you're trying to mix a system installed Qt with your own install of Qt. which one are you currently using ?

    • T

      QSqlite driver does not load
      General and Desktop • sql desktop dll qsqldatabase driver sqlite plugin deployment • • Tuby1

      20
      0
      Votes
      20
      Posts
      16865
      Views

      mrjj

      @danks_
      That is good to hear !
      Could also been some kind of setup problem with 5_5 but yeah it does
      seems like a bug.

      I will try with 5_5 and see it it fails for me too.

      update:
      Tested win pure 5_5 install
      It worked by copying the DLLs ! ?
      Even worked with no sub sqldrivers folder ...!
      (in the release folder)

      But when moved out of the virtual machines
      it did want the sqldrivers folder to work.

      So the current version of 5.5 via the online installer does seems to work in regards to sql.?!

    • C

      [SOLVED]MySQL library problem
      General and Desktop • mysql driver plugin sql • • cpuin

      36
      0
      Votes
      36
      Posts
      9277
      Views

      SGaist

      Yes, you can, they have restriction but no, external frameworks are not prohibited.

    • D

      [Mac OS] MySQL Driver not loaded but available
      Installation and Deployment • mac driver not loaded os x qt 5.4 mysql • • Dreaa

      2
      0
      Votes
      2
      Posts
      1075
      Views

      SGaist

      Hi and welcome to devnet,

      Did you install the MySQL client libraries on your OS X using e.g. macports or homebrew ?

    • F

      Solved QSqlDatabase: QMYSQL driver not loaded available drivers: QMYSQL
      General and Desktop • mysql driver not loaded • • fennec

      27
      0
      Votes
      27
      Posts
      23968
      Views

      E

      God... finally got it working!!!

      Tried many libmysql.dlls and got one that works.

      Thanks @SGaist for your time :)

    • E

      Building static source QSQLMYSQL.dll Issue
      General and Desktop • sql building driver • • Ericode

      4
      0
      Votes
      4
      Posts
      1684
      Views

      SGaist

      Hi and welcome to devnet,

      What option did you pass to configure when you built Qt ?

    • Ayoub_Job

      it's very very urgently ORACLE driver QT 5.4.0.
      General and Desktop • oci qoci driver drivers oracle buid qt5.4.0 • • Ayoub_Job

      4
      0
      Votes
      4
      Posts
      1863
      Views

      S

      HI,
      if you use MSVC and not mingw you must replace the line C: \ Qt \ Qt5.4.0 \ Tools \ mingw482_32 \ bin \ mingw32-make.exe by
      nmake (cf Qt documentation)
      and I believe it's not recommended to use Qt 5.4.0 and MSVC,it's better tou use Qt 5.4.1 (binary compatiblity problems with 5.4.0 and MSVC)