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. mac osX connecting to LibreOffice Base (odb) Database

mac osX connecting to LibreOffice Base (odb) Database

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 2 Posters 989 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.
  • TheCipo76T Offline
    TheCipo76T Offline
    TheCipo76
    wrote on last edited by TheCipo76
    #1

    Hi,
    i'm trying to connect to LibreOffice Base database (.odb)

    i've searched and readed on forum and google but i can't connect to db..

    i've tried with ODBC after i've installed MySQL ODBC connector and ODBC Manager (DSN "myodbc")..

    aDatabase = QSqlDatabase::database("QODBC3");
     aDatabase.setHostName("myodbc");
    aDatabase.setDatabaseName("⁩Driver={usr⁩/⁨local⁩/⁨mysql-connector-odbc-5.3.13-macos10.14-x86-64bit⁩/lib⁩/libmyodbc5a.so};DBQ=Prezzi.odb");
        if (!aDatabase.open()) {
            QMessageBox::critical(this, "Errore connessione DB!", aDatabase.lastError().text());
            return;
        }
    

    Result: "Driver not loaded Driver not loaded"

    This is compile Output:

    14:06:44: Running steps for project PQMaster...
    14:06:44: Configuration unchanged, skipping qmake step.
    14:06:44: Starting: "/usr/bin/make" -j4
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++11 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.12 -Wall -W -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../PQMaster -I. -I../../../Qt/5.12.3/clang_64/lib/QtWidgets.framework/Headers -I../../../Qt/5.12.3/clang_64/lib/QtGui.framework/Headers -I../../../Qt/5.12.3/clang_64/lib/QtSql.framework/Headers -I../../../Qt/5.12.3/clang_64/lib/QtCore.framework/Headers -I. -I/Applications/Xcode10.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode10.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AGL.framework/Headers/ -I. -I../../../Qt/5.12.3/clang_64/mkspecs/macx-clang -F/Users/xxxxxxxxx/Qt/5.12.3/clang_64/lib -o prezziora.o ../PQMaster/prezziora.cpp
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/Users/xxxxxxxx/Qt/5.12.3/clang_64/lib -o PQMaster.app/Contents/MacOS/PQMaster main.o mainwindow.o prezzimp.o prezziora.o moc_mainwindow.o moc_prezzimp.o moc_prezziora.o -F/Users/xxxxxxx/Qt/5.12.3/clang_64/lib -framework QtWidgets -framework QtGui -framework QtSql -framework QtCore -framework DiskArbitration -framework IOKit -framework OpenGL -framework AGL
    14:06:45: The process "/usr/bin/make" exited normally.
    14:06:45: Elapsed time: 00:01.

    Someone can help me Please?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Start your application with the QT_DEBUG_PLUGINS environment variable set to 1. It should give you more information about what is happening with the plugin.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      TheCipo76T 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        Start your application with the QT_DEBUG_PLUGINS environment variable set to 1. It should give you more information about what is happening with the plugin.

        TheCipo76T Offline
        TheCipo76T Offline
        TheCipo76
        wrote on last edited by TheCipo76
        #3

        @sgaist said in mac osX connecting to LibreOffice Base (odb) Database:

        QT_DEBUG_PLUGINS

        QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/platforms" ...
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqcocoa.dylib"
        Found metadata in lib /Users/xxxxxxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqcocoa.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
        "Keys": [
        "cocoa"
        ]
        },
        "archreq": 0,
        "className": "QCocoaIntegrationPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("cocoa")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqminimal.dylib"
        Found metadata in lib /Users/xxxxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqminimal.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
        "Keys": [
        "minimal"
        ]
        },
        "archreq": 0,
        "className": "QMinimalIntegrationPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("minimal")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqoffscreen.dylib"
        Found metadata in lib /Users/xxxxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqoffscreen.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
        "Keys": [
        "offscreen"
        ]
        },
        "archreq": 0,
        "className": "QOffscreenIntegrationPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("offscreen")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqwebgl.dylib"
        Found metadata in lib /Users/xxxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqwebgl.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
        "Keys": [
        "webgl"
        ]
        },
        "archreq": 0,
        "className": "QWebGLIntegrationPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("webgl")
        QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Documenti/PQMaster/build-PQMaster-Desktop_Qt_5_12_3_clang_64bit-Debug/PQMaster.app/Contents/MacOS/platforms" ...
        loaded library "/Users/xxxxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqcocoa.dylib"
        QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxxxx/Qt/5.12.3/clang_64/plugins/platformthemes" ...
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxx/Qt/5.12.3/clang_64/plugins/platformthemes/libqxdgdesktopportal.dylib"
        Found metadata in lib /Users/xxxxxxx/Qt/5.12.3/clang_64/plugins/platformthemes/libqxdgdesktopportal.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
        "MetaData": {
        "Keys": [
        "xdgdesktopportal",
        "flatpak",
        "snap"
        ]
        },
        "archreq": 0,
        "className": "QXdgDesktopPortalThemePlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("xdgdesktopportal", "flatpak", "snap")
        QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxxx/Documenti/PQMaster/build-PQMaster-Desktop_Qt_5_12_3_clang_64bit-Debug/PQMaster.app/Contents/MacOS/platformthemes" ...
        QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxxxx/Qt/5.12.3/clang_64/plugins/styles" ...
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxx/Qt/5.12.3/clang_64/plugins/styles/libqmacstyle.dylib"
        Found metadata in lib /Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/styles/libqmacstyle.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QStyleFactoryInterface",
        "MetaData": {
        "Keys": [
        "macintosh"
        ]
        },
        "archreq": 0,
        "className": "QMacStylePlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("macintosh")
        QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxxxx/Documenti/PQMaster/build-PQMaster-Desktop_Qt_5_12_3_clang_64bit-Debug/PQMaster.app/Contents/MacOS/styles" ...
        loaded library "/Users/xxxxxxx/Qt/5.12.3/clang_64/plugins/styles/libqmacstyle.dylib"
        QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers" ...
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlite.dylib"
        Found metadata in lib /Users/xxxxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlite.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
        "Keys": [
        "QSQLITE"
        ]
        },
        "archreq": 0,
        "className": "QSQLiteDriverPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("QSQLITE")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlmysql.dylib"
        Found metadata in lib /Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlmysql.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
        "Keys": [
        "QMYSQL3",
        "QMYSQL"
        ]
        },
        "archreq": 0,
        "className": "QMYSQLDriverPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("QMYSQL3", "QMYSQL")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlodbc.dylib"
        Found metadata in lib /Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlodbc.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
        "Keys": [
        "QODBC3",
        "QODBC"
        ]
        },
        "archreq": 0,
        "className": "QODBCDriverPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("QODBC3", "QODBC")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlpsql.dylib"
        Found metadata in lib /Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlpsql.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
        "Keys": [
        "QPSQL7",
        "QPSQL"
        ]
        },
        "archreq": 0,
        "className": "QPSQLDriverPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("QPSQL7", "QPSQL")
        QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxxxxx/Documenti/PQMaster/build-PQMaster-Desktop_Qt_5_12_3_clang_64bit-Debug/PQMaster.app/Contents/MacOS/sqldrivers" ...
        loaded library "/Users/xxxxxxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlmysql.dylib"
        QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats" ...
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqgif.dylib"
        Found metadata in lib /Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqgif.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
        "Keys": [
        "gif"
        ],
        "MimeTypes": [
        "image/gif"
        ]
        },
        "archreq": 0,
        "className": "QGifPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("gif")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqicns.dylib"
        Found metadata in lib /Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqicns.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
        "Keys": [
        "icns"
        ],
        "MimeTypes": [
        "image/x-icns"
        ]
        },
        "archreq": 0,
        "className": "QICNSPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("icns")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqico.dylib"
        Found metadata in lib /Users/xxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqico.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
        "Keys": [
        "ico",
        "cur"
        ],
        "MimeTypes": [
        "image/vnd.microsoft.icon",
        "image/vnd.microsoft.icon"
        ]
        },
        "archreq": 0,
        "className": "QICOPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("ico", "cur")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqjpeg.dylib"
        Found metadata in lib /Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqjpeg.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
        "Keys": [
        "jpg",
        "jpeg"
        ],
        "MimeTypes": [
        "image/jpeg",
        "image/jpeg"
        ]
        },
        "archreq": 0,
        "className": "QJpegPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("jpg", "jpeg")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqmacheif.dylib"
        Found metadata in lib /Users/xxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqmacheif.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
        "Keys": [
        "heic",
        "heif"
        ],
        "MimeTypes": [
        "image/heic",
        "image/heif"
        ]
        },
        "archreq": 0,
        "className": "QMacHeifPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("heic", "heif")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqmacjp2.dylib"
        Found metadata in lib /Users/xxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqmacjp2.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
        "Keys": [
        "jp2"
        ],
        "MimeTypes": [
        "image/jp2",
        "image/jpx",
        "image/jpm",
        "video/mj2"
        ]
        },
        "archreq": 0,
        "className": "QMacJp2Plugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("jp2")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqsvg.dylib"
        Found metadata in lib /Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqsvg.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
        "Keys": [
        "svg",
        "svgz"
        ],
        "MimeTypes": [
        "image/svg+xml",
        "image/svg+xml-compressed"
        ]
        },
        "archreq": 0,
        "className": "QSvgPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("svg", "svgz")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqtga.dylib"
        Found metadata in lib /Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqtga.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
        "Keys": [
        "tga"
        ],
        "MimeTypes": [
        "image/x-tga"
        ]
        },
        "archreq": 0,
        "className": "QTgaPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("tga")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqtiff.dylib"
        Found metadata in lib /Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqtiff.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
        "Keys": [
        "tiff",
        "tif"
        ],
        "MimeTypes": [
        "image/tiff",
        "image/tiff"
        ]
        },
        "archreq": 0,
        "className": "QTiffPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("tiff", "tif")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqwbmp.dylib"
        Found metadata in lib /Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqwbmp.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
        "Keys": [
        "wbmp"
        ],
        "MimeTypes": [
        "image/vnd.wap.wbmp"
        ]
        },
        "archreq": 0,
        "className": "QWbmpPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("wbmp")
        QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqwebp.dylib"
        Found metadata in lib /Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqwebp.dylib, metadata=
        {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
        "Keys": [
        "webp"
        ],
        "MimeTypes": [
        "image/webp"
        ]
        },
        "archreq": 0,
        "className": "QWebpPlugin",
        "debug": false,
        "version": 330752
        }

        Got keys from plugin meta data ("webp")
        QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxxxxxxx/Documenti/PQMaster/build-PQMaster-Desktop_Qt_5_12_3_clang_64bit-Debug/PQMaster.app/Contents/MacOS/imageformats" ...
        loaded library "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqgif.dylib"
        loaded library "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqicns.dylib"
        loaded library "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqico.dylib"
        loaded library "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqjpeg.dylib"
        loaded library "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqmacheif.dylib"
        loaded library "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqmacjp2.dylib"
        loaded library "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqsvg.dylib"
        loaded library "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqtga.dylib"
        loaded library "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqtiff.dylib"
        loaded library "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqwbmp.dylib"
        loaded library "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqwebp.dylib"
        QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxxxxxxx/Qt/5.12.3/clang_64/plugins/accessible" ...
        QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxxxxxxx/Documenti/PQMaster/build-PQMaster-Desktop_Qt_5_12_3_clang_64bit-Debug/PQMaster.app/Contents/MacOS/accessible" ...

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          I might be wrong but the output looks incomplete.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          TheCipo76T 1 Reply Last reply
          0
          • SGaistS SGaist

            I might be wrong but the output looks incomplete.

            TheCipo76T Offline
            TheCipo76T Offline
            TheCipo76
            wrote on last edited by TheCipo76
            #5

            @sgaist

            QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/platforms" ...
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqcocoa.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqcocoa.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
            "Keys": [
            "cocoa"
            ]
            },
            "archreq": 0,
            "className": "QCocoaIntegrationPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("cocoa")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqminimal.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqminimal.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
            "Keys": [
            "minimal"
            ]
            },
            "archreq": 0,
            "className": "QMinimalIntegrationPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("minimal")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqoffscreen.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqoffscreen.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
            "Keys": [
            "offscreen"
            ]
            },
            "archreq": 0,
            "className": "QOffscreenIntegrationPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("offscreen")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqwebgl.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqwebgl.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
            "Keys": [
            "webgl"
            ]
            },
            "archreq": 0,
            "className": "QWebGLIntegrationPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("webgl")
            QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Documenti/PQMaster/build-PQMaster-Desktop_Qt_5_12_3_clang_64bit-Debug/PQMaster.app/Contents/MacOS/platforms" ...
            loaded library "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/platforms/libqcocoa.dylib"
            QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/platformthemes" ...
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/platformthemes/libqxdgdesktopportal.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/platformthemes/libqxdgdesktopportal.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
            "MetaData": {
            "Keys": [
            "xdgdesktopportal",
            "flatpak",
            "snap"
            ]
            },
            "archreq": 0,
            "className": "QXdgDesktopPortalThemePlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("xdgdesktopportal", "flatpak", "snap")
            QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Documenti/PQMaster/build-PQMaster-Desktop_Qt_5_12_3_clang_64bit-Debug/PQMaster.app/Contents/MacOS/platformthemes" ...
            QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/styles" ...
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/styles/libqmacstyle.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/styles/libqmacstyle.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QStyleFactoryInterface",
            "MetaData": {
            "Keys": [
            "macintosh"
            ]
            },
            "archreq": 0,
            "className": "QMacStylePlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("macintosh")
            QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Documenti/PQMaster/build-PQMaster-Desktop_Qt_5_12_3_clang_64bit-Debug/PQMaster.app/Contents/MacOS/styles" ...
            loaded library "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/styles/libqmacstyle.dylib"
            QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers" ...
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlite.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlite.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
            "MetaData": {
            "Keys": [
            "QSQLITE"
            ]
            },
            "archreq": 0,
            "className": "QSQLiteDriverPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("QSQLITE")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlmysql.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlmysql.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
            "MetaData": {
            "Keys": [
            "QMYSQL3",
            "QMYSQL"
            ]
            },
            "archreq": 0,
            "className": "QMYSQLDriverPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("QMYSQL3", "QMYSQL")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlodbc.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlodbc.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
            "MetaData": {
            "Keys": [
            "QODBC3",
            "QODBC"
            ]
            },
            "archreq": 0,
            "className": "QODBCDriverPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("QODBC3", "QODBC")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlpsql.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlpsql.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
            "MetaData": {
            "Keys": [
            "QPSQL7",
            "QPSQL"
            ]
            },
            "archreq": 0,
            "className": "QPSQLDriverPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("QPSQL7", "QPSQL")
            QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Documenti/PQMaster/build-PQMaster-Desktop_Qt_5_12_3_clang_64bit-Debug/PQMaster.app/Contents/MacOS/sqldrivers" ...
            loaded library "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlmysql.dylib"
            QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats" ...
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqgif.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqgif.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
            "Keys": [
            "gif"
            ],
            "MimeTypes": [
            "image/gif"
            ]
            },
            "archreq": 0,
            "className": "QGifPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("gif")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqicns.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqicns.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
            "Keys": [
            "icns"
            ],
            "MimeTypes": [
            "image/x-icns"
            ]
            },
            "archreq": 0,
            "className": "QICNSPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("icns")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqico.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqico.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
            "Keys": [
            "ico",
            "cur"
            ],
            "MimeTypes": [
            "image/vnd.microsoft.icon",
            "image/vnd.microsoft.icon"
            ]
            },
            "archreq": 0,
            "className": "QICOPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("ico", "cur")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqjpeg.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqjpeg.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
            "Keys": [
            "jpg",
            "jpeg"
            ],
            "MimeTypes": [
            "image/jpeg",
            "image/jpeg"
            ]
            },
            "archreq": 0,
            "className": "QJpegPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("jpg", "jpeg")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqmacheif.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqmacheif.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
            "Keys": [
            "heic",
            "heif"
            ],
            "MimeTypes": [
            "image/heic",
            "image/heif"
            ]
            },
            "archreq": 0,
            "className": "QMacHeifPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("heic", "heif")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqmacjp2.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqmacjp2.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
            "Keys": [
            "jp2"
            ],
            "MimeTypes": [
            "image/jp2",
            "image/jpx",
            "image/jpm",
            "video/mj2"
            ]
            },
            "archreq": 0,
            "className": "QMacJp2Plugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("jp2")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqsvg.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqsvg.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
            "Keys": [
            "svg",
            "svgz"
            ],
            "MimeTypes": [
            "image/svg+xml",
            "image/svg+xml-compressed"
            ]
            },
            "archreq": 0,
            "className": "QSvgPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("svg", "svgz")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqtga.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqtga.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
            "Keys": [
            "tga"
            ],
            "MimeTypes": [
            "image/x-tga"
            ]
            },
            "archreq": 0,
            "className": "QTgaPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("tga")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqtiff.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqtiff.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
            "Keys": [
            "tiff",
            "tif"
            ],
            "MimeTypes": [
            "image/tiff",
            "image/tiff"
            ]
            },
            "archreq": 0,
            "className": "QTiffPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("tiff", "tif")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqwbmp.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqwbmp.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
            "Keys": [
            "wbmp"
            ],
            "MimeTypes": [
            "image/vnd.wap.wbmp"
            ]
            },
            "archreq": 0,
            "className": "QWbmpPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("wbmp")
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqwebp.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqwebp.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
            "Keys": [
            "webp"
            ],
            "MimeTypes": [
            "image/webp"
            ]
            },
            "archreq": 0,
            "className": "QWebpPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("webp")
            QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Documenti/PQMaster/build-PQMaster-Desktop_Qt_5_12_3_clang_64bit-Debug/PQMaster.app/Contents/MacOS/imageformats" ...
            loaded library "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqgif.dylib"
            loaded library "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqicns.dylib"
            loaded library "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqico.dylib"
            loaded library "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqjpeg.dylib"
            loaded library "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqmacheif.dylib"
            loaded library "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqmacjp2.dylib"
            loaded library "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqsvg.dylib"
            loaded library "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqtga.dylib"
            loaded library "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqtiff.dylib"
            loaded library "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqwbmp.dylib"
            loaded library "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/imageformats/libqwebp.dylib"
            QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/accessible" ...
            QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Documenti/PQMaster/build-PQMaster-Desktop_Qt_5_12_3_clang_64bit-Debug/PQMaster.app/Contents/MacOS/accessible" ...
            QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/iconengines" ...
            QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/iconengines/libqsvgicon.dylib"
            Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/iconengines/libqsvgicon.dylib, metadata=
            {
            "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
            "MetaData": {
            "Keys": [
            "svg",
            "svgz",
            "svg.gz"
            ]
            },
            "archreq": 0,
            "className": "QSvgIconPlugin",
            "debug": false,
            "version": 330752
            }

            Got keys from plugin meta data ("svg", "svgz", "svg.gz")
            QFactoryLoader::QFactoryLoader() checking directory path "/Users/xxxxx/Documenti/PQMaster/build-PQMaster-Desktop_Qt_5_12_3_clang_64bit-Debug/PQMaster.app/Contents/MacOS/iconengines" ...

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @thecipo76 said in mac osX connecting to LibreOffice Base (odb) Database:

              libqsqlodbc.dylib

              I can't see the lines where the plugin is either loaded or fails to load.

              In between, you can run otool -L on that file to see if there's anything missing in terms of dependencies.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              TheCipo76T 1 Reply Last reply
              0
              • SGaistS SGaist

                @thecipo76 said in mac osX connecting to LibreOffice Base (odb) Database:

                libqsqlodbc.dylib

                I can't see the lines where the plugin is either loaded or fails to load.

                In between, you can run otool -L on that file to see if there's anything missing in terms of dependencies.

                TheCipo76T Offline
                TheCipo76T Offline
                TheCipo76
                wrote on last edited by
                #7

                @SGaist said in mac osX connecting to LibreOffice Base (odb) Database:

                libqsqlodbc.dylib

                libqsqlodbc.dylib:
                libqsqlodbc.dylib (compatibility version 0.0.0, current version 0.0.0)
                @rpath/QtSql.framework/Versions/5/QtSql (compatibility version 5.12.0, current version 5.12.3)
                @rpath/QtCore.framework/Versions/5/QtCore (compatibility version 5.12.0, current version 5.12.3)
                /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (compatibility version 1.0.0, current version 1.0.0)
                /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
                /usr/local/mysql-connector-odbc-5.3.13-macos10.14-x86-64bit/lib/libmyodbc5a.so (compatibility version 4.0.0, current version 4.25.0)
                /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.4)
                /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.200.5)

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  As it seems that looks good.

                  Then, you have to filter the output of your application start to get all the lines related to the odbc plugin.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • TheCipo76T Offline
                    TheCipo76T Offline
                    TheCipo76
                    wrote on last edited by TheCipo76
                    #9

                    i've already posted output of my application..

                    this part

                    QFactoryLoader::QFactoryLoader() looking at "/Users/xxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlodbc.dylib"
                    Found metadata in lib /Users/xxxxx/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlodbc.dylib, metadata=
                    {
                    "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
                    "MetaData": {
                    "Keys": [
                    "QODBC3",
                    "QODBC"
                    ]
                    },
                    "archreq": 0,
                    "className": "QODBCDriverPlugin",
                    "debug": false,
                    "version": 330752
                    }

                    but there was no error..

                    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