Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Build qt-webkit failed

Build qt-webkit failed

Scheduled Pinned Locked Moved Unsolved Qt WebKit
2 Posts 1 Posters 1.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.
  • waferW Offline
    waferW Offline
    wafer
    wrote on last edited by wafer
    #1

    Hi, all
    When I used the command "qtwebkit/Tools/Scripts/build-webkit --qt" to build qt-webkit,
    I got this error:
    /usr/bin/ld: qt-everywhere-opensource-src-5.5.1/qtmultimedia/lib/libQt5Multimedia.a(qmediametadata.o): relocation R_X86_64_PC32 against `_ZN7QStringD1Ev' can not be used when making a shared object; recompile with -fPIC
    Qt Version: 5.5.1
    The Makefile do have the -fPIC option. I don't know what to do.
    Can anybody help?

    1 Reply Last reply
    0
    • waferW Offline
      waferW Offline
      wafer
      wrote on last edited by wafer
      #2

      When I remove "-fvisibility=hidden -fvisibility-inlines-hidden" from the CXXFLAGS, it works.
      I think that is because ~QString() is inline, the option above hide the destructor, so destructor can't be found.

      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