Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-34302

Linking error agaist QtWebkit on CentOS6.4 x64

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.2.0 Alpha, 5.2.0 Beta1
    • Fix Version/s: None
    • Component/s: WebKit
    • Labels:
      None
    • Environment:
      CentOS 6.4 x64 Qt5.2 beta1

      Description

      a simple application uses QtWebkit but got linking error:
      [tvu@localhost src]$ make
      g++ -Wl,-O1 -Wl,-rpath,/home/tvu/Qt5.2.0/5.2.0-beta1/gcc_64 -Wl,-rpath,/home/tvu/Qt5.2.0/5.2.0-beta1/gcc_64/lib -Wl,-rpath-link,/home/tvu/Qt5.2.0/5.2.0-beta1/gcc_64/lib -o istkani main.o rootnavigatormodel.o navigatorparser.o ssqhistorymodel.o networkaccessmanager.o ssqexpertkillmodel.o killfrom5biying.o killfrom360.o killfrom78500.o killfromcjcp.o killfromokooo.o killfromsohu.o mainwindow.o qrc_istkani.o moc_mainwindow.o moc_rootnavigatormodel.o moc_ssqhistorymodel.o moc_networkaccessmanager.o moc_ssqexpertkillmodel.o moc_killfrom5biying.o moc_killfrom360.o moc_killfrom78500.o moc_killfromcjcp.o moc_killfromokooo.o moc_killfromsohu.o -L/home/tvu/Qt5.2.0/5.2.0-beta1/gcc_64/lib -lQt5WebKitWidgets -lX11 -ludev -lgio-2.0 -lgstapp-0.10 -lgstinterfaces-0.10 -lgstpbutils-0.10 -pthread -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0 -lQt5Sql -lQt5Quick -lQt5OpenGL -lQt5PrintSupport -lQt5Qml -ldl -lQt5WebKit -lQt5Widgets -lQt5Sensors -lQt5Network -lQt5Xml -lQt5Gui -lQt5Core -lGL -lpthread
      /home/tvu/Qt5.2.0/5.2.0-beta1/gcc_64/lib/libQt5WebKit.so: undefined reference to `g_variant_ref'
      /home/tvu/Qt5.2.0/5.2.0-beta1/gcc_64/lib/libQt5WebKit.so: undefined reference to `gst_query_parse_nth_buffering_range'
      /home/tvu/Qt5.2.0/5.2.0-beta1/gcc_64/lib/libQt5WebKit.so: undefined reference to `g_variant_unref'
      /home/tvu/Qt5.2.0/5.2.0-beta1/gcc_64/lib/libQt5WebKit.so: undefined reference to `gst_is_initialized'
      /home/tvu/Qt5.2.0/5.2.0-beta1/gcc_64/lib/libQt5WebKit.so: undefined reference to `gst_query_get_n_buffering_ranges'
      collect2: error: ld returned 1 exit status
      make: *** [istkani] Error 1

        Attachments

        1. Patch
          0.8 kB

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                allan.jensen Allan Sandfeld Jensen
                Reporter:
                missdeer Yang Fan
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes