Skip to content
  • 0 Votes
    4 Posts
    2k Views
    I
    Just an addendum in case someone else decides to go the route I attempted to describe above for Mac 10.11 (El Capitan). In that case, you will most probably end up frustrated after hitting compilation issues with QtWebEngine et al. (it refuses to compile out of the box). I have come across the following issues and went over them as explained below: a) You will need to patch "qtwebengine/src/3rdparty/chromium/tools/gyp/pylib/gyp/xcode_emulation.py" with the following: sdk_root = self._SdkPath(config_name) if not sdk_root: sdk_root = '' ----> return l.replace('$(SDKROOT)', sdk_root) <---- Replaced this line with the following block (below). library = l.replace('$(SDKROOT)', sdk_root) if l.startswith('$(SDKROOT)'): basename, ext = os.path.splitext(library) if ext == '.dylib' and not os.path.exists(library): tbd_library = basename + '.tbd' if os.path.exists(tbd_library): library = tbd_library return library To see the original post about this "patch" refer to: https://trac.macports.org/attachment/ticket/49074/patch-chromium_tbd_libraries.diff b) Missing links to several libraries needed by QtWebEngine et al. Create symlinks to the respective and already existing libraries: sudo ln -s /usr/lib/libz.dylib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libz.dylib sudo ln -s /usr/lib/libresolv.dylib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libresolv.dylib sudo ln -s /usr/lib/libbsm.dylib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libbsm.dylib sudo ln -s /usr/lib/libcups.dylib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libcups.dylib For the details on the above refer to the discussion about it here: https://trac.macports.org/ticket/49074 Following the flow above I successfully compiled, linked, and installed the Qt-5.5.1 libraries, as well as QtCreator 3.5.1 after that (also from source). So far, everything seems to work fine...
  • 0 Votes
    1 Posts
    587 Views
    No one has replied
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    3 Posts
    2k Views
    T
    Thanks for the help. But the real reason was that, I was using wrong version of QT for my project. My project supports QT version upto 5.4 & I was using 5.5. After downgrading all works fine now.
  • 0 Votes
    4 Posts
    3k Views
    timdayT
    Issue created at QTBUG-47390
  • 0 Votes
    4 Posts
    2k Views
    SGaistS
    I agree with you. However, I haven't yet tested QtIF enough to determine if this could be considered a bug...
  • 0 Votes
    1 Posts
    910 Views
    No one has replied
  • 0 Votes
    8 Posts
    4k Views
    napajejenunedk0N
    "Is this something that's part of a newer Qt distribution, or something you've customized?" My customization that I wanted to contribute as well but there were obstacles that prevented this. The customized macdeployqt could be given additional include paths where to search for dependencies, so I think it could help you solve your case.