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 4.8.2 libraries and Mountain Lion

Qt 4.8.2 libraries and Mountain Lion

Scheduled Pinned Locked Moved General and Desktop
7 Posts 5 Posters 7.4k 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.
  • H Offline
    H Offline
    hocheung20
    wrote on last edited by
    #1

    When trying to compile the libraries under Mountain Lion, I get:

    g++ -headerpad_max_install_names -arch x86_64 -single_module -dynamiclib -compatibility_version 4.9 -current_version 4.9.2 -install_name /usr/local/Trolltech/Qt-4.8.2/lib/QtWebKit.framework/Versions/4/QtWebKit_debug -Xarch_x86_64 -mmacosx-version-min=10.5 -Xarch_x86_64 -mmacosx-version-min=10.5 -o QtWebKit_debug .obj/debug-shared/WebSystemInterface.o .obj/debug-shared/QTKitFullScreenVideoHandler.o .obj/debug-shared/MathMLNames.o .obj/debug-shared/MathMLElementFactory.o
    ...
    Undefined symbols for architecture x86_64:
    "_WKCreateMediaUIBackgroundView", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKCreateMediaUIControl", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTClearMediaDownloadCache", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTClearMediaDownloadCacheForSite", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTGetSitesInMediaDownloadCache", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTIncludeOnlyModernMediaFileTypes", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTMovieDataRate", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTMovieDisableComponent", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTMovieGetType", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTMovieHasClosedCaptions", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTMovieMaxTimeLoaded", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTMovieMaxTimeLoadedChangeNotification", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTMovieMaxTimeSeekable", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTMovieResolvedURL", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTMovieSelectPreferredAlternates", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTMovieSetShowClosedCaptions", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKQTMovieViewSetDrawSynchronously", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKWindowSetAlpha", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    "_WKWindowSetScaledFrame", referenced from:
    InitWebCoreSystemInterface() in WebSystemInterface.o
    ld: symbol(s) not found for architecture x86_64
    collect2: ld returned 1 exit status
    make[3]: *** [../../../../../../lib/QtWebKit.framework/QtWebKit_debug] Error 1
    make[2]: *** [debug-all] Error 2
    make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered] Error 2
    make: *** [sub-webkit-make_default-ordered] Error 2

    Is anyone else experiencing the same issue?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      ranterscheinung
      wrote on last edited by
      #2

      I'm experiencing this problem, too. Trying to build qt4-mac with MacPorts 2.1.2.
      It might be linked to this: https://trac.macports.org/ticket/35313

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        ZapB
        wrote on last edited by
        #3

        There is a patch in review to fix this issue: https://codereview.qt-project.org/#change,31646

        Nokia Certified Qt Specialist
        Interested in hearing about Qt related work

        1 Reply Last reply
        0
        • R Offline
          R Offline
          raulgd
          wrote on last edited by
          #4

          It's happening to me as well, I just got my mac and using this build configuration:
          @
          ./configure -debug-and-release -opensource -largefile -plugin-sql-sqlite -no-qt3support -xmlpatterns -multimedia -audio-backend -svg -webkit -javascript-jit -script -scripttools -declarative -declarative-debug -qt-zlib -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -openssl -I /usr/include -L /usr/lib
          @

          How do I apply the patch on "change 31646":https://codereview.qt-project.org/#change,31646 ?

          I'm also using mountain lion, and I'm a bit new to the mac, so if someone can help me step by step, I would be really grateful

          EDIT:
          Also found another patch that is related to the issue in the macports link specified above, it's "change 31759":https://codereview.qt-project.org/#change,31759 which is related to QtWebKit

          Raul Guerrero
          http://jimi.mx

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            QTDavid
            wrote on last edited by
            #5

            You could also change the build environment to Qt 4.8.0, I personally find it more stable, and it gives me less errors and warnings.

            1 Reply Last reply
            0
            • R Offline
              R Offline
              raulgd
              wrote on last edited by
              #6

              Yes but I would like to use 4.8.2 as it has many bug fixes and stuff on QML which I'm using, so it would be nice if someone could help me apply the patches

              Raul Guerrero
              http://jimi.mx

              1 Reply Last reply
              0
              • R Offline
                R Offline
                raulgd
                wrote on last edited by
                #7

                Ok I figured out how to apply the patch 31646, also patch 31759 is about the same as 31646.

                There was just a small difference in the QtWebKit.pro file and needed to add the mountain lion interface library to the webkit project.

                When applying the patch, I'd recommend to download the file libWebKitSystemInterfaceMountainLion.a from the github repository mentioned in the patch comments at the beginning of the page instead of the one in the patch page, because there's an 8kb difference when downloading from the patch page than straight from github, I don't know what are the differences but I wouldn't want to find out after 2 hours of building Qt that it was just zip file rubbish ;)

                Raul Guerrero
                http://jimi.mx

                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