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. Help with Ibase plugin on Mac os X
Forum Updated to NodeBB v4.3 + New Features

Help with Ibase plugin on Mac os X

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.8k Views 1 Watching
  • 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.
  • B Offline
    B Offline
    blackverde
    wrote on last edited by
    #1

    Hi guys,
    i've Mac 10.6.2
    qt version:4.8.1

    i'm trying build the Ibase(firebird) plugin for qt, but i have some problems...
    these are the steps:

    I download src.
    I build my driver:
    @make -spec macx-g++ -o Makefile "INCLUDEPATH+=/Library/Frameworks/Firebird.framework/Versions/Current/Headers" "LIBS+=-L/Library/Frameworks/Firebird.framework/Versions/Current/Libraries -lfbclient" ibase.pro@

    Now i copy libqsqlibase.dylib libqsqlibase_debug.dylib in to the sqldriver folder.

    My project serch the plugin in the correct folder because I have checked with the following command

    DYLD_PRINT_LIBRARIES=1 QT_DEBUG_PLUGINS=1 ./miapp.app/Contents/MacOS/miapp

    bug:

    @QFactoryLoader::QFactoryLoader() looking at "/Users/dani/QtSDK/Desktop/Qt/4.8.1/gcc/plugins/sqldrivers/libqsqlibase.dylib"
    In /Users/dani/QtSDK/Desktop/Qt/4.8.1/gcc/plugins/sqldrivers/libqsqlibase.dylib:
    Plugin uses incompatible Qt library
    expected build key "macosx macx-cocoa g++-4 full-config", got "macosx macx-cocoa g++-4 no-pkg-config"@

    How i can change no-pkg-config building to full-config?

    what's my problem? Thank you

    1 Reply Last reply
    0
    • B Offline
      B Offline
      blackverde
      wrote on last edited by
      #2

      I think I've found the problem, but not if it is the best way or not, some expert clarify me a bit.

      I knew that had to be a line to indicate that version had to compile, then I went to spotlight and search, "no-pk-config" giving me qconfig.h resulting file located in the folder src / corelib / global
      there is one line that said something like:

      @ define QT_BUILD_KEY "macosx-cocoa macx g+ + -4 no-pkg-config"@

      change it to

      @ # define QT_BUILD_KEY "macosx-cocoa macx g+ + -4 full-config"@

      which was what I needed.

      And surprisingly it worked, did not give any issue in the future?

      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