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. Problem on Mac OS X 10.9 with duilding mysql driver
QtWS25 Last Chance

Problem on Mac OS X 10.9 with duilding mysql driver

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 2.2k 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.
  • A Offline
    A Offline
    armpage
    wrote on last edited by
    #1

    *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"

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

      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.

      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
      • A Offline
        A Offline
        armpage
        wrote on last edited by
        #3

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

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

          What errors are you getting ?

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

          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
          • A Offline
            A Offline
            armpage
            wrote on last edited by
            #5

            I can't build driver for mysql

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

              That doesn't answer my question, what is the error message that you get when trying to build the mysql 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

              • Login

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