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. Qt VS Tools Application, QOCI not loaded
Forum Updated to NodeBB v4.3 + New Features

Qt VS Tools Application, QOCI not loaded

Scheduled Pinned Locked Moved Unsolved General and Desktop
qoci
1 Posts 1 Posters 291 Views
  • 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.
  • Q Offline
    Q Offline
    qter8001
    wrote on 22 Mar 2021, 03:09 last edited by
    #1

    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

    1 Reply Last reply
    0

    1/1

    22 Mar 2021, 03:09

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved