Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt VS Tools Application, QOCI not loaded



  • i have built the qoci library against X64 architecture following the QtDoc(https://doc.qt.io/qt-5/sql-driver.html),and copy the output file(qsqloci.dll, qsqlocid.dll) to “plugins” folder which is “ QT_DIR\msvc2017_64\plugins\sqldrivers”。
    But i have encountered a weird problem:
    first i created a test qt widgets application through QtCreator against X64, QSqlDatabase::drivers() loaded the qoci driver,everything seemed ok。 After that ,i created another qt widgets application using QT VS TOOL, but QSqlDatabase::drivers() did not load the qoci driver.
    What should i do if i want to keep up with the QT VS TOOL。
    Any help will be appreciated.

    Environments:
    OS: Windows 10 Professional 64 Bit
    Qt: Qt 5.12.10 (MS VC 2017 X86 & MS VC 2017 X64)
    Visual studio : Community 2019 (16.8.6)
    Qt VS Tool: 2.7.1


Log in to reply