Problem on Mac OS X 10.9 with duilding mysql driver



  • *When I run qmake I get *
    macac:mysql ar$ qmake "INCLUDEPATH+=/usr/local/mysql/include" "LIBS+=-L/usr/local/mysql/lib -lmysqlclient_r" mysql.pro
    Project WARNING: No .qmake.cache is present. This significantly slows down qmake with this makespec.
    Project WARNING: Call 'cache()' in the top-level project file to rectify this problem.
    Project WARNING: No .qmake.cache is present. This significantly slows down qmake with this makespec.
    Project WARNING: Call 'cache()' in the top-level project file to rectify this problem.
    Project WARNING: No .qmake.cache is present. This significantly slows down qmake with this makespec.
    Project WARNING: Call 'cache()' in the top-level project file to rectify this problem.

    after when I run make I get sometinlike this

    1 warning generated.
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -c -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers -I/opt/X11/include -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -std=c++11 -stdlib=libc++ -mmacosx-version-min=10.7 -fno-exceptions -Wall -W -fPIE -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_QMLDEVTOOLS_LIB -DQDOC2_COMPAT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -I../../../mkspecs/macx-clang -I. -I. -Iqmlparser -I../../../include -I../../../include/QtXml -I../../../lib/QtXml.framework/Versions/5/Headers -I../../../include/QtCore -I../../../lib/QtCore.framework/Versions/5/Headers -I.moc/release-shared -F/private/tmp/qt5-NNzL/qt-everywhere-opensource-src-5.1.1/qtbase/lib -o .obj/release-shared/codemarker.o codemarker.cpp
    In file included from codemarker.cpp:42:
    In file included from ../../../include/QtCore/qobjectdefs.h:1:
    In file included from ../../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:45:
    In file included from ../../../include/QtCore/qnamespace.h:1:
    In file included from ../../../include/QtCore/../../src/corelib/global/qnamespace.h:45:
    In file included from ../../../include/QtCore/qglobal.h:1:
    In file included from ../../../include/QtCore/../../src/corelib/global/qglobal.h:70:
    In file included from ../../../include/QtCore/qsystemdetection.h:1:
    ../../../include/QtCore/../../src/corelib/global/qsystemdetection.h:243:6: warning: "This version of OS X is unsupported" [-W#warnings]

    warning "This version of OS X is unsupported"


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    The first warnings are not to be feared.

    And yes that's normal, OS X Mavericks wasn't out when 5.1.1 was published so this warnings says that Mavericks is unknown to it. That doesn't mean it won't work but there's no guarantee.



  • Thank you for your fast replay.
    It doesn't work. And I can't use mysql.


  • Lifetime Qt Champion

    What errors are you getting ?

    You can also consider going with 5.2 which will add support for Mavericks



  • I can't build driver for mysql


  • Lifetime Qt Champion

    That doesn't answer my question, what is the error message that you get when trying to build the mysql plugin ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.