Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cannot build application using Qt
Forum Updated to NodeBB v4.3 + New Features

Cannot build application using Qt

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 1.5k 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.
  • D Offline
    D Offline
    debugger
    wrote on last edited by
    #1

    Hi all,

    I am a newbie. I developed an application that worked on Qt 4.8.0, and am trying to port it to Qt 5.1.1. But I cannot link the application. Compiling is done successfully and thus all .o files are created. Now with the linking, it shows undefined reference to <class> : <function>

    I have given LIB path correctly.. But it shows linking error with all functions in QtWebKit and QtWebKitWidgets... Please help..

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

      Have a look at "this":http://qt-project.org/doc/qt-5.0/qtdoc/portingguide.html and "that":http://qt-project.org/wiki/Transition_from_Qt_4.x_to_Qt5


      Declaration of (Platform) independence.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        debugger
        wrote on last edited by
        #3

        Hi Rahul Das,

        Thanks for your reply. I've gone throught the links provided. Especially "this":http://qt-project.org/wiki/Transition_from_Qt_4.x_to_Qt5

        But when I added QT+=webkitwidgets and tried to do qmake,
        I get the following error

        Project ERROR: Unknown module(s) in QT: webkitwidgets

        I saw in some forum to perform this:
        sudo apt-get locate libqt5webkit5-dev

        But was unable to locate the same...

        Also I coudnt find fixqt4headers perl script

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

          See the this "Thread":http://qt-project.org/forums/viewthread/28554 .


          Declaration of (Platform) independence.

          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